summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorWerWolv <werwolv98@gmail.com>2023-09-26 14:58:27 +0200
committermarios8543 <marios8543@gmail.com>2023-10-17 17:08:23 +0300
commit45353c87c22613735bc81be8eaa985ce6acddf7a (patch)
tree3def604f1c11b341f68e497c3b508e4e77bf01b4 /.github
parent37b8c5264fd61ec217d73f2eef0acbe19496a6e2 (diff)
downloaddecky-loader-45353c87c22613735bc81be8eaa985ce6acddf7a.tar.gz
decky-loader-45353c87c22613735bc81be8eaa985ce6acddf7a.zip
Moved locales folder and requirements.txt
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-win.yml6
-rw-r--r--.github/workflows/build.yml4
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml
index a0fd13b9..b1eee0dd 100644
--- a/.github/workflows/build-win.yml
+++ b/.github/workflows/build-win.yml
@@ -30,7 +30,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pyinstaller==5.13.0
- pip install -r requirements.txt
+ pip install -r backend/requirements.txt
- name: Install JS dependencies ⬇️
working-directory: ./frontend
@@ -43,10 +43,10 @@ jobs:
run: pnpm run build
- name: Build Python Backend 🛠️
- run: pyinstaller --noconfirm --onefile --name "PluginLoader" --add-data "./backend/src/static;/backend/src/static" --add-data "./backend/src/locales;/backend/src/locales" --add-data "./backend/src/legacy;/backend/src/legacy" --add-data "./plugin;/plugin" --hidden-import=sqlite3 ./backend/main.py
+ run: pyinstaller --noconfirm --onefile --name "PluginLoader" --add-data "./backend/src/static;/backend/src/static" --add-data "./backend/locales;/backend/locales" --add-data "./backend/src/legacy;/backend/src/legacy" --add-data "./plugin;/plugin" --hidden-import=sqlite3 ./backend/main.py
- name: Build Python Backend (noconsole) 🛠️
- run: pyinstaller --noconfirm --noconsole --onefile --name "PluginLoader_noconsole" --add-data "./backend/src/static;/backend/src/static" --add-data "./backend/src/locales;/backend/src/locales" --add-data "./backend/src/legacy;/backend/src/legacy" --add-data "./plugin;/plugin" --hidden-import=sqlite3 ./backend/main.py
+ run: pyinstaller --noconfirm --noconsole --onefile --name "PluginLoader_noconsole" --add-data "./backend/src/static;/backend/src/static" --add-data "./backend/locales;/backend/locales" --add-data "./backend/src/legacy;/backend/src/legacy" --add-data "./plugin;/plugin" --hidden-import=sqlite3 ./backend/main.py
- name: Upload package artifact ⬆️
uses: actions/upload-artifact@v3
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 70b68f96..31d01bef 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -73,7 +73,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pyinstaller==5.13.0
- [ -f requirements.txt ] && pip install -r requirements.txt
+ [ -f backend/requirements.txt ] && pip install -r backend/requirements.txt
- name: Install JS dependencies ⬇️
working-directory: ./frontend
@@ -86,7 +86,7 @@ jobs:
run: pnpm run build
- name: Build Python Backend 🛠️
- run: pyinstaller --noconfirm --onefile --name "PluginLoader" --add-data ./backend/src/static:/backend/src/static --add-data ./backend/src/locales:/backend/src/locales --add-data ./backend/src/legacy:/backend/src/legacy --add-data ./plugin:/plugin --hidden-import=sqlite3 ./backend/main.py
+ run: pyinstaller --noconfirm --onefile --name "PluginLoader" --add-data ./backend/src/static:/backend/src/static --add-data ./backend/locales:/backend/locales --add-data ./backend/src/legacy:/backend/src/legacy --add-data ./plugin:/plugin --hidden-import=sqlite3 ./backend/main.py
- name: Upload package artifact ⬆️
if: ${{ !env.ACT }}