Browse Source
Merge pull request #14 from DomiStyle/main
Fix libappimage not being able to find .desktop file
master
toast2903
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
gcc/deploy-linux.sh
|
|
@ -151,8 +151,8 @@ patchelf --set-rpath '$ORIGIN/../lib' $_EXECUTABLE |
|
|
_APPDIR=$2 |
|
|
_APPDIR=$2 |
|
|
cd ${_APPDIR} |
|
|
cd ${_APPDIR} |
|
|
|
|
|
|
|
|
cp -nvs $(find -type f -regex '.*/icons/.*\.svg' || head -n 1) ./ |
|
|
|
|
|
cp -nvs $(find -type f -regex '.*/applications/.*\.desktop' || head -n 1) ./ |
|
|
|
|
|
|
|
|
cp -nvs $(find -type f -regex '.*/icons/.*\.svg' -printf '%P\n' || head -n 1) ./ |
|
|
|
|
|
cp -nvs $(find -type f -regex '.*/applications/.*\.desktop' -printf '%P\n' || head -n 1) ./ |
|
|
|
|
|
|
|
|
if [ "${_NOT_FOUND}" != "" ]; then |
|
|
if [ "${_NOT_FOUND}" != "" ]; then |
|
|
>&2 echo "WARNING: failed to find the following libraries:" |
|
|
>&2 echo "WARNING: failed to find the following libraries:" |
|
|
|