From d17f7c6315cded407f39c6c8d1f8152adf38f6f4 Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Fri, 6 Aug 2021 14:08:49 +0700 Subject: [PATCH] remove osu-lazer now fails to build for some reason.. not particularly active in the game anymore, so removing for now --- modules/user/packages-rin.nix | 1 - overlays/osu-lazer.nix | 5 ---- .../patches/bypass-tamper-detection.patch | 23 ------------------- 3 files changed, 29 deletions(-) delete mode 100644 overlays/osu-lazer.nix delete mode 100644 overlays/patches/bypass-tamper-detection.patch diff --git a/modules/user/packages-rin.nix b/modules/user/packages-rin.nix index 03de612..de04c0e 100644 --- a/modules/user/packages-rin.nix +++ b/modules/user/packages-rin.nix @@ -27,7 +27,6 @@ maim mongodb-compass obs-studio - osu-lazer pavucontrol screenkey tor-browser-bundle-bin diff --git a/overlays/osu-lazer.nix b/overlays/osu-lazer.nix deleted file mode 100644 index f20cb94..0000000 --- a/overlays/osu-lazer.nix +++ /dev/null @@ -1,5 +0,0 @@ -self: super: { - osu-lazer = super.osu-lazer.overrideAttrs(o: { - patches = [ ./patches/bypass-tamper-detection.patch ]; - }); -} diff --git a/overlays/patches/bypass-tamper-detection.patch b/overlays/patches/bypass-tamper-detection.patch deleted file mode 100644 index 6e115dc..0000000 --- a/overlays/patches/bypass-tamper-detection.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/osu.Game/OsuGameBase.cs b/osu.Game/OsuGameBase.cs -index 98f60d52d..a27ce47ca 100644 ---- a/osu.Game/OsuGameBase.cs -+++ b/osu.Game/OsuGameBase.cs -@@ -135,17 +135,7 @@ public OsuGameBase() - [BackgroundDependencyLoader] - private void load() - { -- try -- { -- using (var str = File.OpenRead(typeof(OsuGameBase).Assembly.Location)) -- VersionHash = str.ComputeMD5Hash(); -- } -- catch -- { -- // special case for android builds, which can't read DLLs from a packed apk. -- // should eventually be handled in a better way. -- VersionHash = $"{Version}-{RuntimeInfo.OS}".ComputeMD5Hash(); -- } -+ VersionHash = "ba03e192b1c8d470ee69b6e2c5d56c10"; - - Resources.AddStore(new DllResourceStore(OsuResources.ResourceAssembly)); -