renpy: disable steam

This commit is contained in:
KSJ2000
2025-01-31 13:10:18 +02:00
parent 075f811fe4
commit bc1027ef1e
2 changed files with 19 additions and 4 deletions
+16
View File
@@ -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.
+3 -4
View File
@@ -16,6 +16,7 @@
zlib,
harfbuzz,
makeWrapper,
withoutSteam ? true,
}:
let
@@ -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,}
@@ -136,7 +137,5 @@ stdenv.mkDerivation {
maintainers = with lib.maintainers; [ shadowrz ];
};
passthru = {
inherit base_version vc_version;
};
passthru = { inherit base_version vc_version; };
}