diff --git a/katrain/config.json b/katrain/config.json index 6d5004e..e15ea51 100644 --- a/katrain/config.json +++ b/katrain/config.json @@ -66,7 +66,7 @@ ], "eval_off_show_last": 3, "eval_show_ai": true, - "lock_ai": true + "lock_ai": false }, "ai": { "ai:default": {}, diff --git a/katrain/core/engine.py b/katrain/core/engine.py index fc45a41..966302b 100644 --- a/katrain/core/engine.py +++ b/katrain/core/engine.py @@ -65,7 +65,7 @@ class KataGoEngine: self.katrain.log(f"Starting KataGo with {self.command}", OUTPUT_DEBUG) self.katago_process = subprocess.Popen( - self.command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE + self.command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True ) except (FileNotFoundError, PermissionError, OSError) as e: if not self.config["katago"].strip(): diff --git a/katrain/gui/badukpan.py b/katrain/gui/badukpan.py index 0f79e5f..4acf74b 100644 --- a/katrain/gui/badukpan.py +++ b/katrain/gui/badukpan.py @@ -516,7 +516,7 @@ class AnalysisControls(MDFloatLayout): for text, shortcut in zip(self.ANALYSIS_OPTIONS, self.ANALYSIS_SHORTCUTS) ] self.analysis_menu = AnalysisDropdownMenu( - caller=self.analysis_button, items=menu_items, width_mult=5, use_icon_item=False, callback=self.action + caller=self.analysis_button, items=menu_items, width_mult=6, use_icon_item=False, callback=self.action ) def action(self, item): diff --git a/spec/KaTrain.spec b/spec/KaTrain.spec index 535a287..92e4114 100644 --- a/spec/KaTrain.spec +++ b/spec/KaTrain.spec @@ -3,7 +3,7 @@ from kivy_deps import sdl2, glew from kivymd import hooks_path as kivymd_hooks_path block_cipher = None -console = True +console = False # pyinstaller spec/katrain.spec --noconfirm # --upx-dir my