This commit is contained in:
Sander Land committed 2020-09-18 17:16:46 +02:00
1 parent f2a5f67cd1
commit 5c6c1c242a
3 files changed
+14 -6

No files matched your search

Binary file not shown.
@@ -678,14 +678,14 @@ msgstr ""
"Mauszeiger über den Zug,um die erwartete Widerlegung zu sehen. Bitte "
"versuche es erneut."
#. TODO - resign the game
#. resign the game
msgid "resign"
msgstr "Resign"
msgstr "Aufgeben"
#. TODO - Analyze again but exclude all currently considered moves
#. - Analyze again but exclude all currently considered moves
msgid "analysis:alternatives"
msgstr "Find alternative moves"
msgstr "Finde alternative Züge"
#. TODO - status message
#. - status message
msgid "alternative analysis"
msgstr "Searching for alternative moves"
msgstr "Suche nach alternativen Zügen"
+8
View File
@@ -1,6 +1,7 @@
# -*- mode: python ; coding: utf-8 -*-
from kivy_deps import sdl2, glew
from kivymd import hooks_path as kivymd_hooks_path
import subprocess
block_cipher = None
@@ -45,6 +46,8 @@ print("DATA FILTERED", len(a.datas))
console_names = {True:"DebugKaTrain",False:"KaTrain"}
powershell = subprocess.Popen(["powershell"], stdout=subprocess.PIPE, stdin=subprocess.PIPE)
for console, name in console_names.items():
@@ -89,4 +92,9 @@ for console, name in console_names.items():
console=console,
icon="C:\\icon.ico",
)
powershell.stdin.write(f"Set-AuthenticodeSignature dist/{name}.exe -Certificate (Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert)\n".encode('ascii'))
powershell.stdin.write(f"Set-AuthenticodeSignature dist/{name}/{name}.exe -Certificate (Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert)\n".encode('ascii'))
powershell.stdin.flush()
while True:
print(powershell.stdout.readline())