Fix palette shuffler json loading in compiled form

This commit is contained in:
Fabian Dill 2020-08-24 04:35:32 +02:00
parent ff79cb6e08
commit 24ee5ab44d
2 changed files with 11 additions and 11 deletions

16
Text.py
View File

@ -84,13 +84,13 @@ Uncle_texts = [
"Gonna shuffle\nall the items\nreal quick.", "Gonna shuffle\nall the items\nreal quick.",
] ]
Triforce_texts = [ Triforce_texts = [
'Product has Hole in center. Bad seller, 0 out of 5.', 'Product has Hole in center. Bad seller, 0 out of 5.',
'Who stole the fourth triangle?', 'Who stole the fourth triangle?',
'Trifource?\nMore Like Tritrice, am I right?' 'Trifource?\nMore Like Tritrice, am I right?'
'\n Well Done!', '\n Well Done!',
'You just wasted 2 hours of your life.', 'You just wasted 2 hours of your life.',
'This was meant to be a trapezoid' 'This was meant to be a trapezoid\n Success!', # Contributed by caitsith2
"\n Success!", #Contributed by caitsith2 'This was meant to be a trapezoid',
] * 2 + [ ] * 2 + [
"\n GG", "\n GG",
"All your base\nare belong\nto us.", "All your base\nare belong\nto us.",
@ -155,7 +155,7 @@ Blind_texts = [
"Archers give\ngifts tied\nwith a bow.", "Archers give\ngifts tied\nwith a bow.",
"A healed\ngambler is\nall better.", "A healed\ngambler is\nall better.",
"Any old sword\nwill make the\ncut here.", "Any old sword\nwill make the\ncut here.",
"Lazy wyrms\nkeep dragin'\ntheir feet.", "Lazy wyrms\nkeep dragon\ntheir feet.",
"Percussionist\nmasters drum\nup audiences.", "Percussionist\nmasters drum\nup audiences.",
"Retrievers\nlove fetch\nquests.", "Retrievers\nlove fetch\nquests.",
"Sausage is\nthe wurst.", "Sausage is\nthe wurst.",

View File

@ -21,7 +21,7 @@ if os.path.exists("X:/pw.txt"):
print("Using signtool") print("Using signtool")
with open("X:/pw.txt") as f: with open("X:/pw.txt") as f:
pw = f.read() pw = f.read()
signtool = r'"C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe" sign /f X:/_SITS_Zertifikat_.pfx /p '+ pw + r' /fd sha256 /tr http://timestamp.digicert.com/ ' signtool = r'signtool sign /f X:/_SITS_Zertifikat_.pfx /p ' + pw + r' /fd sha256 /tr http://timestamp.digicert.com/ '
else: else:
signtool = None signtool = None
@ -78,9 +78,9 @@ cx_Freeze.setup(
executables=exes, executables=exes,
options={ options={
"build_exe": { "build_exe": {
"includes" : [], "includes": [],
"zip_include_packages": ["*"], "zip_include_packages": ["*"],
"zip_exclude_packages": [], "zip_exclude_packages": ["maseya"],
"include_files": [], "include_files": [],
"include_msvcr": True, "include_msvcr": True,
"replace_paths": [("*", "")], "replace_paths": [("*", "")],