|
@@ -28,7 +28,7 @@ exe = EXE(
|
|
|
strip=False,
|
|
|
upx=True,
|
|
|
upx_exclude=[],
|
|
|
- runtime_tmpdir=None,
|
|
|
+ runtime_tmpdir='./temp',
|
|
|
console=False,
|
|
|
disable_windowed_traceback=False,
|
|
|
argv_emulation=False,
|
|
@@ -45,6 +45,9 @@ def create_logs_directory():
|
|
|
logs_path = os.path.join('dist','logs')
|
|
|
if not os.path.exists(logs_path):
|
|
|
os.makedirs(logs_path)
|
|
|
+ temp_path = os.path.join('dist','temp')
|
|
|
+ if not os.path.exists(temp_path):
|
|
|
+ os.makedirs(temp_path)
|
|
|
|
|
|
def copy_file():
|
|
|
shutil.copy("./config.json", "./dist/config.json")
|