osu-lazer: disable auto updates

This commit is contained in:
Gutyina Gergő
2024-09-07 20:44:24 +02:00
parent 9957d3ae64
commit 2ae6d1fe45
+8 -1
View File
@@ -5,6 +5,7 @@
, dotnetCorePackages
, makeDesktopItem
, copyDesktopItems
, makeWrapper
, ffmpeg
, alsa-lib
, SDL2
@@ -32,7 +33,10 @@ buildDotnetModule rec {
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
nativeBuildInputs = [ copyDesktopItems ];
nativeBuildInputs = [
copyDesktopItems
makeWrapper
];
runtimeDeps = [
ffmpeg
@@ -59,6 +63,9 @@ buildDotnetModule rec {
fixupPhase = ''
runHook preFixup
wrapProgram $out/bin/osu\! \
--set OSU_EXTERNAL_UPDATE_PROVIDER 1
for i in 16 32 48 64 96 128 256 512 1024; do
install -D ./assets/lazer.png $out/share/icons/hicolor/''${i}x$i/apps/osu\!.png
done