Create windows release, improve styling

This commit is contained in:
Heiner Lohaus
2024-05-19 10:11:30 +02:00
parent 1994481872
commit c8d61a08b7
5 changed files with 30 additions and 30 deletions

View File

@@ -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)
run_gui_args(args)