digital-a-love-story: lowercase binary name
This commit is contained in:
parent
a27f7fb0c5
commit
27d9a986d9
|
@ -44,17 +44,17 @@ stdenv.mkDerivation rec {
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
# copy distributed files
|
# copy distributed files
|
||||||
mkdir -p $out/opt/Digital-linux-x86
|
mkdir -p $out/opt/digital
|
||||||
cp -R source/* $out/opt/Digital-linux-x86
|
cp -R source/* $out/opt/digital
|
||||||
|
|
||||||
# add launcher
|
# add launcher
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
substituteAll ${./launcher.sh} $out/bin/Digital
|
substituteAll ${./launcher.sh} $out/bin/digital
|
||||||
chmod +x $out/bin/Digital
|
chmod +x $out/bin/digital
|
||||||
|
|
||||||
# add desktop file
|
# add desktop file
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
substituteAll ${./Digital.desktop} $out/share/applications/Digital.desktop
|
substituteAll ${./digital.desktop} $out/share/applications/digital.desktop
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Digital: A Love Story
|
Name=Digital: A Love Story
|
||||||
Exec=@out@/bin/Digital
|
Exec=@out@/bin/digital
|
||||||
Icon=@out@/opt/Digital-linux-x86/game/icon.png
|
Icon=@out@/opt/digital/game/icon.png
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=Game;
|
Categories=Game;
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
exec "@out@/opt/Digital-linux-x86/lib/python" "-OO" "@out@/opt/Digital-linux-x86/Digital.py" "$@"
|
exec "@out@/opt/digital/lib/python" "-OO" "@out@/opt/digital/Digital.py" "$@"
|
Loading…
Reference in a new issue