Skip to content

Commit

Permalink
renpy: disable steam
Browse files Browse the repository at this point in the history
  • Loading branch information
KSJ2000 committed Jan 31, 2025
1 parent 075f811 commit bc1027e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
16 changes: 16 additions & 0 deletions pkgs/by-name/re/renpy/noSteam.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/renpy/common/00steam.rpy b/renpy/common/00steam.rpy
index 9a5f9c405..68c8c26e0 100644
--- a/renpy/common/00steam.rpy
+++ b/renpy/common/00steam.rpy
@@ -1029,11 +1029,6 @@ init -1499 python in achievement:
steam = None
steamapi = None

- if renpy.windows or renpy.macintosh or renpy.linux:
- steam_preinit()
- steam_init()
-
-
init 1500 python in achievement:

# Steam position.
7 changes: 3 additions & 4 deletions pkgs/by-name/re/renpy/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
zlib,
harfbuzz,
makeWrapper,
withoutSteam ? true,
}:

let
Expand Down Expand Up @@ -90,7 +91,7 @@ stdenv.mkDerivation {
patches = [
./shutup-erofs-errors.patch
./5687.patch
];
] ++ lib.optional withoutSteam ./noSteam.patch;

postPatch = ''
cp tutorial/game/tutorial_director.rpy{m,}
Expand Down Expand Up @@ -136,7 +137,5 @@ stdenv.mkDerivation {
maintainers = with lib.maintainers; [ shadowrz ];
};

passthru = {
inherit base_version vc_version;
};
passthru = { inherit base_version vc_version; };
}

0 comments on commit bc1027e

Please sign in to comment.