diff --git a/katrain/i18n/locales/de/LC_MESSAGES/katrain.mo b/katrain/i18n/locales/de/LC_MESSAGES/katrain.mo index 6d90300..5c942fc 100644 Binary files a/katrain/i18n/locales/de/LC_MESSAGES/katrain.mo and b/katrain/i18n/locales/de/LC_MESSAGES/katrain.mo differ diff --git a/katrain/i18n/locales/de/LC_MESSAGES/katrain.po b/katrain/i18n/locales/de/LC_MESSAGES/katrain.po index 953620d..722e7ce 100644 --- a/katrain/i18n/locales/de/LC_MESSAGES/katrain.po +++ b/katrain/i18n/locales/de/LC_MESSAGES/katrain.po @@ -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" diff --git a/spec/KaTrain.spec b/spec/KaTrain.spec index 9521274..6de304e 100644 --- a/spec/KaTrain.spec +++ b/spec/KaTrain.spec @@ -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()) \ No newline at end of file