Use with
in macdeployqtplus
script.
This commit is contained in:
parent
4f3ac7ddd7
commit
e8babc4330
1 changed files with 2 additions and 3 deletions
|
@ -674,9 +674,8 @@ else:
|
|||
if verbose >= 2:
|
||||
print("+ Installing qt.conf +")
|
||||
|
||||
f = open(os.path.join(applicationBundle.resourcesPath, "qt.conf"), "wb")
|
||||
f.write(qt_conf.encode())
|
||||
f.close()
|
||||
with open(os.path.join(applicationBundle.resourcesPath, "qt.conf"), "wb") as f:
|
||||
f.write(qt_conf.encode())
|
||||
|
||||
# ------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue