mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Fix Windows build
This commit is contained in:
parent
8ac5c8d52d
commit
5adee69b75
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ import cura.CuraApplication
|
||||||
|
|
||||||
if sys.platform == "win32" and hasattr(sys, "frozen"):
|
if sys.platform == "win32" and hasattr(sys, "frozen"):
|
||||||
from UM.Resources import Resources
|
from UM.Resources import Resources
|
||||||
sys.stdout = open(Resources.getPath(Resources.Resources, "stdout.log"), "w")
|
sys.stdout = open(Resources.getStoragePath(Resources.Resources, "stdout.log"), "w")
|
||||||
sys.stderr = open(Resources.getPath(Resources.Resources, "stderr.log"), "w")
|
sys.stderr = open(Resources.getStoragePath(Resources.Resources, "stderr.log"), "w")
|
||||||
|
|
||||||
app = cura.CuraApplication.CuraApplication.getInstance()
|
app = cura.CuraApplication.CuraApplication.getInstance()
|
||||||
app.run()
|
app.run()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue