created driver_ui with login and viewing assigned routes
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Windows XP Driver UI
|
||||
|
||||
This project is a native Win32 application built for Windows XP compatibility.
|
||||
It avoids .NET and WinForms completely and targets a classic Windows API implementation instead.
|
||||
|
||||
## Features
|
||||
|
||||
- Login form for driver authentication
|
||||
- Calls the existing auth API on 192.168.68.66:5000
|
||||
- Fetches the daily schedule from 192.168.68.66:5001
|
||||
- Works with Windows XP and older native Windows systems
|
||||
- Uses the WinHTTP API, which is available on XP
|
||||
|
||||
## Build
|
||||
|
||||
```bash
|
||||
make
|
||||
```
|
||||
|
||||
This uses the MinGW cross-compiler targeting 32-bit Windows.
|
||||
|
||||
## Runtime requirements
|
||||
|
||||
The app expects the following services to be available:
|
||||
|
||||
- auth_api on http://192.168.68.66:5000
|
||||
- transit_api on http://192.168.68.66:5001
|
||||
|
||||
The app intentionally points at the live network host instead of localhost so it works on a Windows XP machine connected to the same LAN.
|
||||
|
||||
## Installer
|
||||
|
||||
A custom Windows installer is included and generates a classic setup package for XP-era machines.
|
||||
|
||||
```bash
|
||||
makensis installer.nsi
|
||||
```
|
||||
|
||||
This creates `TransitDriverXPSetup.exe`, which installs:
|
||||
|
||||
- `driver_xp.exe`
|
||||
- `README.md`
|
||||
- Start menu shortcut
|
||||
- Desktop shortcut
|
||||
- Uninstaller entry
|
||||
|
||||
The installer is designed for test deployment on a real Windows XP or older Windows machine compatible with native Win32 executables.
|
||||
Reference in New Issue
Block a user