Skip to content

Commit

Permalink
Keep linux libs
Browse files Browse the repository at this point in the history
  • Loading branch information
xurei committed Apr 2, 2022
1 parent c588504 commit 17ecbb9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/package-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ echo $BASEPATH
node_modules/.bin/electron-builder --dir --linux

# Remove unneeded libs
echo "Purging useless libs..."
rm -rf $BASEPATH/dist_packages/linux-unpacked/swiftshader || true
rm -rf $BASEPATH/dist_packages/linux-unpacked/libGLESv2.so || true
rm -rf $BASEPATH/dist_packages/linux-unpacked/libEGL2.so || true
rm -rf $BASEPATH/dist_packages/linux-unpacked/libvulkan.so || true
rm -rf $BASEPATH/dist_packages/linux-unpacked/libvk_swiftshader.so || true
#echo "Purging useless libs..."
#rm -rf $BASEPATH/dist_packages/linux-unpacked/swiftshader || true
#rm -rf $BASEPATH/dist_packages/linux-unpacked/libGLESv2.so || true
#rm -rf $BASEPATH/dist_packages/linux-unpacked/libEGL2.so || true
#rm -rf $BASEPATH/dist_packages/linux-unpacked/libvulkan.so || true
#rm -rf $BASEPATH/dist_packages/linux-unpacked/libvk_swiftshader.so || true

# Create AppImage
node_modules/.bin/electron-builder --prepackaged=dist_packages/linux-unpacked --linux --p onTagOrDraft

0 comments on commit 17ecbb9

Please sign in to comment.