osu-lazer-bin: disable auto updates
This commit is contained in:
parent
e704015e46
commit
9957d3ae64
@ -3,6 +3,7 @@
|
||||
, fetchurl
|
||||
, fetchzip
|
||||
, appimageTools
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
let
|
||||
@ -64,7 +65,10 @@ else appimageTools.wrapType2 {
|
||||
contents = appimageTools.extract { inherit pname version src; };
|
||||
in
|
||||
''
|
||||
. ${makeWrapper}/nix-support/setup-hook
|
||||
mv -v $out/bin/${pname} $out/bin/osu\!
|
||||
wrapProgram $out/bin/osu\! \
|
||||
--set OSU_EXTERNAL_UPDATE_PROVIDER 1
|
||||
install -m 444 -D ${contents}/osu\!.desktop -t $out/share/applications
|
||||
for i in 16 32 48 64 96 128 256 512 1024; do
|
||||
install -D ${contents}/osu\!.png $out/share/icons/hicolor/''${i}x$i/apps/osu\!.png
|
||||
|
Loading…
Reference in New Issue
Block a user