Skip to content

Commit

Permalink
installing libxcb-cursor0 + platforms (only libqxcb.so
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhalwa committed Jul 4, 2023
1 parent eac672e commit 09a9ef8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
include:
- os: ubuntu-latest
TARGET: Linux
# PYINSTALLER_ARGS: "--onefile --add-data 'data/song_list.json:data' --add-data './platforms:platforms'"
PYINSTALLER_ARGS: "--onefile --add-data 'data/song_list.json:data'"
PYINSTALLER_ARGS: "--onefile --add-data 'data/song_list.json:data' --add-data './platforms:platforms'"
# PYINSTALLER_ARGS: "--onefile --add-data 'data/song_list.json:data'"
- os: macos-latest
TARGET: macOS
PYINSTALLER_ARGS: "--windowed --icon src/usdb_syncer/gui/resources/appicon_128x128.png --add-data 'data/song_list.json:data'"
Expand Down Expand Up @@ -62,10 +62,11 @@ jobs:
# sudo apt install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
# sudo apt install libwebp-dev libxau-dev
# echo "$QT_PLUGIN_PATH"
# mkdir platforms
mkdir platforms
# ls "$QT_PLUGIN_PATH"
# ls "${QT_PLUGIN_PATH}/platforms"
# cp -r "${QT_PLUGIN_PATH}/platforms" .
cp "${QT_PLUGIN_PATH}/platforms/libqxcb.so" ./platforms
# ls ./platforms
- name: Build with pyinstaller for ${{matrix.os}}
run: pyinstaller -n 'USDB_Syncer-${{github.ref_name}}-${{matrix.TARGET}}' ${{matrix.PYINSTALLER_ARGS}} src/usdb_syncer/main.py
Expand Down

0 comments on commit 09a9ef8

Please sign in to comment.