Open for writing
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
from Main import __version__ as DRVersion
|
from Main import __version__ as DRVersion
|
||||||
import os
|
import os
|
||||||
|
|
||||||
with(open(os.path.join("resources","app","manifests","app_version.txt"))) as f:
|
with(open(os.path.join("resources","app","manifests","app_version.txt"),"w+")) as f:
|
||||||
f.write(DRVersion)
|
f.write(DRVersion)
|
||||||
|
|||||||
@@ -7,9 +7,6 @@ from shutil import copy, make_archive, move, rmtree # file manipulation
|
|||||||
|
|
||||||
env = common.prepare_env()
|
env = common.prepare_env()
|
||||||
|
|
||||||
if "OS_NAME" in env and env["OS_NAME"] == "osx":
|
|
||||||
subprocess.check_call(["ls","-l"])
|
|
||||||
|
|
||||||
# make dir to put the binary in
|
# make dir to put the binary in
|
||||||
if not os.path.isdir(os.path.join("..","artifact")):
|
if not os.path.isdir(os.path.join("..","artifact")):
|
||||||
os.mkdir(os.path.join("..","artifact"))
|
os.mkdir(os.path.join("..","artifact"))
|
||||||
|
|||||||
Reference in New Issue
Block a user