console false/shell kata
This commit is contained in:
1 parent
1833cc2927
commit
804026c85e
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -66,7 +66,7 @@
|
||||
],
|
||||
"eval_off_show_last": 3,
|
||||
"eval_show_ai": true,
|
||||
"lock_ai": true
|
||||
"lock_ai": false
|
||||
},
|
||||
"ai": {
|
||||
"ai:default": {},
|
||||
|
||||
@@ -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():
|
||||
|
||||
@@ -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):
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user