treewide: make AppRun substitutions constistent

This commit is contained in:
Pavol Rusnak
2021-04-17 12:48:13 +02:00
parent 09da9d9473
commit 28de4ac62a
11 changed files with 16 additions and 12 deletions
@@ -84,8 +84,8 @@ in stdenv.mkDerivation {
substitute \
app/pcloud.desktop \
share/applications/pcloud.desktop \
--replace "Name=pcloud" "Name=pCloud" \
--replace "Exec=AppRun" "Exec=$out/bin/pcloud"
--replace 'Name=pcloud' 'Name=pCloud' \
--replace 'Exec=AppRun' 'Exec=${pname}'
# Build the main executable
cat > bin/pcloud <<EOF