2.1.x update bug fixes
This commit is contained in:
parent
5931fc63ee
commit
19ead15ad4
@ -81,7 +81,8 @@ class DialogUpdates(QDialog, Ui_DialogUpdates):
|
|||||||
|
|
||||||
|
|
||||||
def installZipFile(data, fname):
|
def installZipFile(data, fname):
|
||||||
base = os.path.join(mw.pm.addonFolder(), 'fastwq')
|
#base = os.path.join(mw.pm.addonFolder(), 'fastwq')
|
||||||
|
base = os.path.realpath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../'))
|
||||||
if fname.endswith(".py"):
|
if fname.endswith(".py"):
|
||||||
path = os.path.join(base, fname)
|
path = os.path.join(base, fname)
|
||||||
with open(path, "wb") as file:
|
with open(path, "wb") as file:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user