We need to change this code from plugin_manager.py:
try:
with open("install.zip", "wb") as output:
output.write(data)
with zipfile.ZipFile('install.zip', "r") as z:
folder_name = os.path.dirname(z.namelist()[0])
z.extractall(get_plugin_directory())
os.remove("install.zip")
so that 'install.zip' is located outside of flika's directory and the user is guaranteed to have write permissions.
We need to change this code from plugin_manager.py:
so that 'install.zip' is located outside of flika's directory and the user is guaranteed to have write permissions.