rename s-i-d, add siwc
This commit is contained in:
20
src/system-installer-web-client
Executable file
20
src/system-installer-web-client
Executable 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()
|
||||
Reference in New Issue
Block a user