rename s-i-d, add siwc

This commit is contained in:
Jonathan Carter
2024-12-05 15:53:01 +02:00
parent 6a5905374d
commit a61cc67a34
23 changed files with 118 additions and 2 deletions

20
src/system-installer-web-client Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/env python3
import webview
LOCATION = "http://10.10.99.22:8080/welcome"
def on_closed():
"""
Actions to take when System Installer is closed.
"""
print('pywebview window is closed')
window = webview.create_window('System Installer', LOCATION,
transparent=True, easy_drag=False, frameless=True,
width=1030, focus=True, zoomable=True,
confirm_close=True)
window.events.closed += on_closed
webview.start()