Skip to content

Commit

Permalink
bind specific libraries to appimages
Browse files Browse the repository at this point in the history
  • Loading branch information
neodix42 committed Dec 26, 2024
1 parent ee8589d commit 3482bd8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-ton-linux-x86-64-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
git submodule update
cp assembly/native/build-ubuntu-appimages.sh .
chmod +x build-ubuntu-appimages.sh
./build-ubuntu-appimages.sh -t -a
./build-ubuntu-appimages.sh -a
- name: Make AppImages
run: |
Expand Down
9 changes: 8 additions & 1 deletion assembly/appimage/create-appimages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ for file in ../artifacts/*; do
printf '[Desktop Entry]\nName='$appName'\nExec='$appName'\nIcon='$appName'\nType=Application\nCategories=Utility;\n' > $appName.AppDir/$appName.desktop
cp ../ton.png $appName.AppDir/$appName.png
cp $file $appName.AppDir/usr/bin/
cp ../build/openssl_3/libcrypto.so.3 $appName.AppDir/usr/lib/
cp ../build/openssl_3/libcrypto.so.3 \
/lib/x86_64-linux-gnu/libatomic.so.1 \
/lib/x86_64-linux-gnu/libsodium.so.23 \
/lib/x86_64-linux-gnu/libz.so.1 \
/lib/x86_64-linux-gnu/liblz4.so.1 \
/lib/x86_64-linux-gnu/libmicrohttpd.so.12 \
$appName.AppDir/usr/lib/

chmod +x ./$appName.AppDir/usr/bin/$appName
# create AppImage
./../appimagetool-x86_64.AppImage $appName.AppDir
Expand Down
4 changes: 4 additions & 0 deletions assembly/native/build-ubuntu-appimages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ fi
./crypto/fift -V || exit 1

ldd ./validator-engine/validator-engine || exit 1
ldd ./crypto/fift || exit 1
ldd ./blockchain-explorer/blockchain-explorer || exit 1
ldd ./tonlib/libtonlibjson.so.0.5 || exit 1
ldd ./emulator/libemulator.so || exit 1

cd ..

Expand Down

0 comments on commit 3482bd8

Please sign in to comment.