summaryrefslogtreecommitdiffstats
path: root/projects/windows/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'projects/windows/main.py')
-rw-r--r--projects/windows/main.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/projects/windows/main.py b/projects/windows/main.py
index 11a3f902..05042715 100644
--- a/projects/windows/main.py
+++ b/projects/windows/main.py
@@ -8,15 +8,12 @@ ssl.create_default_context = partial(
cafile=certifi.where()
)
-from g4f.gui.webview import run_webview
-from g4f.gui.run import gui_parser
+from g4f.gui.run import run_gui_args, gui_parser
import g4f.debug
g4f.debug.version_check = False
-g4f.debug.version = "0.2.8.0"
+g4f.debug.version = "0.3.1.7"
if __name__ == "__main__":
parser = gui_parser()
args = parser.parse_args()
- if args.debug:
- g4f.debug.logging = True
- run_webview(args.debug) \ No newline at end of file
+ run_gui_args(args) \ No newline at end of file