Fix tasks module compilation and add Windows protection installer support

- Fix installer.rs: Add Windows OS support with check_admin(), configure_windows_security(), and update_windows_signatures()
- Fix installer.rs: Remove duplicate check_root() function and fix invalid #[cfg] attributes
- Fix installer.rs: Use runtime cfg!(windows) checks instead of compile-time attributes
- Fix ui_server: Extract bot name from URL path and pass to frontend via window.__INITIAL_BOT_NAME__
- Fix tasks.js: Wrap activePollingTaskId, pollingInterval, pendingManifestUpdates, and taskStyleElement in checks to prevent redeclaration
- Fix autotask.html: Use absolute paths for all CSS/JS references (/suite/tasks/*)
- Fix navigation: Update tasks.html references to autotask.html in base.html, home.html, and index.html
This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-01-28 19:12:08 -03:00
parent 68f3ada343
commit 81ac2ae8c6
3 changed files with 7 additions and 3 deletions

@ -1 +1 @@
Subproject commit 51c8a53a902ce70c89bae9c693ae2dddf2143238
Subproject commit 26963f2cafb7a98dda6fb7fab863acbf77c0fe3a

2
botui

@ -1 +1 @@
Subproject commit db0f0c1178ad8cc30a2dea4502fe7f55765a4561
Subproject commit 27e839f22ade5277cf8f5ccccf678308658c3eb1

View file

@ -1,8 +1,12 @@
clear
pkill rustc -9
pkill botserver -9
pkill botui -9
cd botserver
cd botui
cargo build &
cd ../botserver
cargo build
cargo run -- --noconsole &
cd ../botui
cargo run &
cd ..