Skip to content

Commit

Permalink
sigrok-appimage-create-appimage.sh: Fix hardcoded python version
Browse files Browse the repository at this point in the history
  • Loading branch information
abraxa committed Aug 25, 2024
1 parent f197a1f commit 6380c64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/appimage/sigrok-appimage-create-appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ cp -r "$INSTALL_DIR"/share/sigrok-firmware "$APP_DIR"/usr/share

# Copy extra Python files
mkdir -p "$APP_DIR"/usr/share/pyshared
cp -r /usr/lib/python3.6/* "$APP_DIR"/usr/share/pyshared
# Find local python path of the latest version, e.g. /usr/lib/python3.12
export LOCAL_PYTHON_PATH=`find /usr/lib -maxdepth 1 -iname "python3*" | sort -V | tail -n 1`
cp -r $LOCAL_PYTHON_PATH/* "$APP_DIR"/usr/share/pyshared

# AppImage build dir
mkdir -p appimage-build
Expand Down

0 comments on commit 6380c64

Please sign in to comment.