osu-lazer: disable auto updates

This commit is contained in:
Gutyina Gergő 2024-09-07 13:00:10 +02:00
parent 9957d3ae64
commit 2ae6d1fe45
No known key found for this signature in database

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