diff options
Diffstat (limited to '')
-rwxr-xr-x | projects/windows/copy.sh | 2 | ||||
-rw-r--r-- | projects/windows/main.py | 9 | ||||
-rw-r--r-- | projects/windows/main.spec | 4 |
3 files changed, 6 insertions, 9 deletions
diff --git a/projects/windows/copy.sh b/projects/windows/copy.sh index 58faadd5..257790ef 100755 --- a/projects/windows/copy.sh +++ b/projects/windows/copy.sh @@ -1,5 +1,5 @@ cp -r * /var/win/shared/ -cp -r windows/* /var/win/shared/ +cp -r projects/windows/* /var/win/shared/ cp setup.py /var/win/shared/ cp README.md /var/win/shared/ #git clone https://github.com/pyinstaller/pyinstaller/ /var/win/shared/pyinstaller
\ No newline at end of file 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 diff --git a/projects/windows/main.spec b/projects/windows/main.spec index 35f6d3ac..31cc2bd9 100644 --- a/projects/windows/main.spec +++ b/projects/windows/main.spec @@ -6,7 +6,7 @@ a = Analysis( pathex=[], binaries=[], datas=[], - hiddenimports=['plyer.platforms.linux.filechooser', 'plyer.platforms.win.filechooser'], + hiddenimports=[], hookspath=[], hooksconfig={}, runtime_hooks=[], @@ -42,4 +42,4 @@ coll = COLLECT( upx=True, upx_exclude=[], name='g4f', -)
\ No newline at end of file +) |