mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
update workflow
This commit is contained in:
@@ -153,9 +153,8 @@ jobs:
|
||||
run: |
|
||||
cp icons/icon.png build/iDescriptor.png
|
||||
|
||||
# Copy the Go library to the lib directory where linuxdeployqt can find it
|
||||
mkdir -p build/lib
|
||||
cp build/src/lib/ipatool-go/libipatool-go.so build/lib/
|
||||
# Copy the Go library to the same directory as the executable
|
||||
cp build/src/lib/ipatool-go/libipatool-go.so build/
|
||||
|
||||
# Create a .desktop file required for the AppImage
|
||||
cat <<EOF > build/iDescriptor.desktop
|
||||
@@ -177,10 +176,9 @@ jobs:
|
||||
if: runner.os == 'Linux'
|
||||
working-directory: ./build
|
||||
run: |
|
||||
# export VERSION=$(git rev-parse --short HEAD)
|
||||
export VERSION=1.0.0
|
||||
# Explicitly include the Go library
|
||||
../linuxdeployqt-continuous-x86_64.AppImage iDescriptor -extra-plugins=lib/libipatool-go.so -appimage
|
||||
# Include the Go library as an additional executable/library
|
||||
../linuxdeployqt-continuous-x86_64.AppImage iDescriptor -executable=libipatool-go.so -appimage
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user