შეიქმნა Windows Startup ინტეგრაცია სრულად დამალული რეჟიმით!
- ✅ start_all_hidden.vbs - მთავარი script (Scanner + PHP)
- ✅ scanner_service.vbs - მხოლოდ Scanner Helper
- ✅ php_service.vbs - მხოლოდ PHP Server
- ✅ install_full_startup.bat - დააინსტალირებს startup-ში
- ✅ uninstall_full_startup.bat - წაშლის startup-დან
- ✅ install_startup.bat - მხოლოდ Scanner Helper startup
- ✅ uninstall_startup.bat - მხოლოდ Scanner Helper-ის წაშლა
- ✅ stop_services.bat - გააჩერებს services-ს
- ✅ check_services.bat - შეამოწმებს status-ს
- ✅ test_hidden.bat - ტესტი დამალული რეჟიმის
- ✅ AUTOSTART_GUIDE.md - სრული გაიდი
cargo build --releaseinstall_full_startup.batshutdown /r /t 0- ✅ ავტომატურად გაეშვება
- ✅ დამალული (არანაირი ფანჯარა)
- ✅ მზად არის:
http://localhost:8080/index.html
Windows Login
↓
Execute: %APPDATA%\...\Startup\scanner_full_service.vbs
↓
VBScript runs:
├─→ scanner_helper.exe (hidden, window=0)
│ └─→ Listens on port 8765
└─→ php -S localhost:8080 (hidden, window=0)
└─→ Serves web interface
↓
Both services running silently in background
↓
User opens browser: http://localhost:8080/index.html
↓
Scanner ready to use!
' start_all_hidden.vbs
Set WshShell = CreateObject("WScript.Shell")
' Run scanner_helper.exe hidden
' Window mode: 0 = hidden, 1 = normal
WshShell.Run "scanner_helper.exe", 0, False
' Run PHP server hidden
WshShell.Run "php -S localhost:8080", 0, FalseWindow mode:
0= Hidden (არანაირი ფანჯარა)1= Normal (ნორმალური ფანჯარა)2= Minimized (minimized)3= Maximized (maximized)
install_full_startup.batuninstall_full_startup.batstart_all_hidden.vbsstop_services.batcheck_services.batOutput:
[RUNNING] scanner_helper.exe is running
[RUNNING] php.exe is running
TCP 127.0.0.1:8765 LISTENING
TCP 127.0.0.1:8080 LISTENING
Ctrl + Shift + Esc
→ Processes
→ ნახე "scanner_helper.exe" და "php.exe"
check_services.bathttp://localhost:8080/index.html
→ Click "Scan Document"
→ თუ მუშაობს → ყველაფერი კარგია! ✅
windowsRust\
├── start_all_hidden.vbs
├── install_full_startup.bat
└── target\release\scanner_helper.exe
C:\Users\YourName\AppData\Roaming\Microsoft\Windows\
Start Menu\Programs\Startup\
└── scanner_full_service.vbs ← Copy of start_all_hidden.vbs
// src/main.rs:57
"-DPI", "300" // 150, 200, 300, 600' start_all_hidden.vbs
WshShell.Run "php -S localhost:9000", 0, False1. check_services.bat ← Check status
2. start_all_hidden.vbs ← Start manually
3. Check Task Manager for errorsREM Check PHP in PATH:
php --version
REM If not in PATH, use full path in VBS:
WshShell.Run "C:\php\php.exe -S localhost:8080", 0, FalseREM Find what's using port:
netstat -ano | findstr ":8080"
REM Kill process:
taskkill /F /PID <PID>- ✅ კომპიუტერის ჩართვისას სკანერი ყოველთვის მზადაა
- ✅ არ უნდა იფიქრო რომ გაუშვა
- ✅ სრული დამალული რეჟიმი
- ✅ მომხმარებელი არც კი იცის რომ background-ში მუშაობს
- ✅ მუდმივი ხელმისაწვდომობა
- ✅ არანაირი manual intervention
- ✅ Binds to
127.0.0.1(local only) - ❌ არ არის ხელმისაწვდომი ქსელიდან
- ✅ უსაფრთხო
თუ Windows Firewall აბლოკავს:
REM Allow scanner_helper.exe:
netsh advfirewall firewall add rule name="Scanner Helper" ^
dir=in action=allow program="C:\path\to\scanner_helper.exe"- VBS script launch: <1s
- scanner_helper.exe: ~2s
- PHP server: ~1s
- Total: ~3-5s after login
- scanner_helper.exe: ~5-10 MB RAM
- php.exe: ~10-15 MB RAM
- Total: ~15-25 MB RAM
- Idle: 0%
- During scan: 5-15%
1. Run scanner_helper.exe manually
2. Run php -S localhost:8080 manually
3. Both windows visible on screen
4. Forget to start after reboot
1. Login to Windows
2. Everything starts automatically
3. Completely hidden (no windows)
4. Always ready to scan!
Installation:
- Built project (
cargo build --release) - Tested manually
- Tested hidden mode (
test_hidden.bat) - Installed to startup (
install_full_startup.bat) - Rebooted computer
- Verified auto-start after login
- Tested scan functionality
Verification:
- No windows visible ✅
- Services running (Task Manager)
- Ports listening (8765, 8080)
- Browser opens successfully
- Scan works correctly
- AUTOSTART_GUIDE.md - სრული დეტალური გაიდი
- README.md - მთავარი README
- FINAL_SOLUTION.md - რეალური სკანერის ინტეგრაცია
✅ ყველაფერი მზადაა!
Build, Install, Reboot - და ავტომატურად იმუშავებს! 🚀
🔒 სრულად დამალული, არანაირი ფანჯარა!