Added named startup option flags e.g. --url=index.htm
These new flags have been added with a hybrid approach, meaning any old configs using the old syntax will still function, they can also be phased as a mix
This update will allow setting a variable indexed deeper e.g. level 9 without having to set the 8 variables before it by specifying it directly with the --key=value approach
Examples Below:
1️ Original (unchanged!)
viewer.jar index.htm "My App" 1200 800 false false true center center icon.png
2️ Named flags anywhere
viewer.jar index.htm --title="Dashboard" --fullscreen --icon=kiosk.png
3️ Mix positional + named
viewer.jar index.htm "App" --width=1000 --height=700 --resizable=false --icon=app.png
4️ Just named flags
viewer.jar --url=dashboard.html --title="Kiosk" --fullscreen --icon=kiosk.png
5️ Short-named flags
viewer.jar index.htm --url=dashboard.html --icon=logo.png
Added better console information when launching based on configuration,
see example of loaded htm file below:
🚀 LocalViewer Configuration:
📄 URL: index.htm
🏷️ Title: Java WebApp
📐 Size: auto x auto
🔧 Flags: fullscreen=false, maximized=false
🖼️ Loading icon: icon.png
✅ Icon loaded successfully (64x64)
🎯 Window centered
✨ Viewer ready! Press Ctrl+C to exit.