diff --git a/.gitignore b/.gitignore index 3eab2be..35a950e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ /launcher.json -/dist # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/main.py b/main.py index 04b79e0..c451625 100644 --- a/main.py +++ b/main.py @@ -62,14 +62,13 @@ class Api: bufsize=1, text=True, cwd=cwd, - encoding="utf-8", ) as p: for line in p.stdout: custom_event(line) window = webview.create_window("mower-ng launcher", "dist/index.html", js_api=Api()) -webview.start(debug=True) +webview.start() with config_path.open("w") as f: json.dump(config, f) diff --git a/ui/.gitignore b/ui/.gitignore index c6657dd..8ee54e8 100644 --- a/ui/.gitignore +++ b/ui/.gitignore @@ -1,5 +1,3 @@ -/dist.zip - # Logs logs *.log diff --git a/ui/src/components/LogComponent.vue b/ui/src/components/LogComponent.vue index 36ca683..e5fe29e 100644 --- a/ui/src/components/LogComponent.vue +++ b/ui/src/components/LogComponent.vue @@ -6,21 +6,9 @@ const log_ele = inject('log_ele') - -