From d689614c78a4f2d3c89ac48512748cd2051c4c95 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Sat, 8 Oct 2022 17:57:51 -0400 Subject: possibly fix zip permissions --- backend/main.py | 8 ++++++-- frontend/src/components/store/PluginCard.tsx | 7 +++++-- 2 files changed, 11 insertions(+), 4 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 diff --git a/frontend/src/components/store/PluginCard.tsx b/frontend/src/components/store/PluginCard.tsx index a30c3d6b..0155ff99 100644 --- a/frontend/src/components/store/PluginCard.tsx +++ b/frontend/src/components/store/PluginCard.tsx @@ -113,7 +113,10 @@ const PluginCard: FC = ({ plugin }) => { }} className="deckyStoreCardInfo" > -

+

Author: {plugin.author}

= ({ plugin }) => { marginLeft: '16px', marginTop: '0px', marginBottom: '0px', - marginRight: '16px' + marginRight: '16px', }} > {plugin.description} -- cgit v1.2.3