diff options
| author | AAGaming <aa@mail.catvibers.me> | 2022-10-08 17:57:51 -0400 |
|---|---|---|
| committer | AAGaming <aa@mail.catvibers.me> | 2022-10-08 17:57:51 -0400 |
| commit | d689614c78a4f2d3c89ac48512748cd2051c4c95 (patch) | |
| tree | 92aea0465231c303f39cc4631424e83fb972fddf /backend | |
| parent | ec907627b862d66e4cc24bc8062b4123eb976529 (diff) | |
| download | decky-loader-d689614c78a4f2d3c89ac48512748cd2051c4c95.tar.gz decky-loader-d689614c78a4f2d3c89ac48512748cd2051c4c95.zip | |
possibly fix zip permissions
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/main.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/backend/main.py b/backend/main.py index aa38d8ac..43a7fcac 100644 --- a/backend/main.py +++ b/backend/main.py @@ -1,9 +1,13 @@ +# Change PyInstaller files permissions +import sys +from subprocess import call +if "_MEIPASS" in sys: + call(['chmod', '-R', '755', sys._MEIPASS]) # Full imports from asyncio import get_event_loop, sleep from json import dumps, loads from logging import DEBUG, INFO, basicConfig, getLogger -from os import getenv, path -from subprocess import call +from os import getenv, chmod from traceback import format_exc import aiohttp_cors |
