Browse Source

T1152: For linux log console output for frozen app to console instead of the file.

tags/v3.2.5
Alexei Dorofeev 1 year ago
parent
commit
cc431b3533
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      cura_app.py

+ 1
- 1
cura_app.py View File

@@ -27,7 +27,7 @@ if not known_args["debug"]:
elif Platform.isOSX():
return os.path.expanduser("~/Library/Logs/cura")
if hasattr(sys, "frozen"):
if hasattr(sys, "frozen") and not Platform.isLinux():
dirpath = get_cura_dir_path()
os.makedirs(dirpath, exist_ok = True)
sys.stdout = open(os.path.join(dirpath, "stdout.log"), "w")

Loading…
Cancel
Save