Unverified Commit 9957d3ae authored by Gutyina Gergő's avatar Gutyina Gergő
Browse files

osu-lazer-bin: disable auto updates

parent e704015e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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