1
0
Fork 0
forked from lthn/blockchain

Create .desktop file with name including version (#511)

This commit is contained in:
Stёpa Dolgorukov 2025-03-12 17:39:36 +05:00 committed by GitHub
parent ec54dc72c9
commit a588173605
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,8 @@
script_dir=$( dirname "$(readlink -f "$0")" )
out_dir=~/.local/share/applications
out_file_name="${out_dir}/Zano.desktop"
version="$(echo ${APPIMAGE} | rev | cut -d '-' -f1,2 | rev | sed 's/\.AppImage$//')"
out_file_name="${out_dir}/Zano-${version}.desktop"
export QTWEBENGINE_DISABLE_SANDBOX=1