Skip to content

Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit

fix(game-mode): keep LSUIElement in the staged loader's metadata (ray.27)

raymondchins2a7fd4f39d6d
diff --git a/dylib/version.h b/dylib/version.h
index 8b11709..b5c297d 100644
--- a/dylib/version.h
+++ b/dylib/version.h
@@ -2,6 +2,6 @@
#ifndef NOTPROTON_VERSION_H
#define NOTPROTON_VERSION_H
-#define NOTPROTON_VERSION "1.1.7-winehq.1-ray.26"
+#define NOTPROTON_VERSION "1.1.7-winehq.1-ray.27"
#endif // NOTPROTON_VERSION_H
diff --git a/helpers/prepare-game-loader.swift b/helpers/prepare-game-loader.swift
index d2d9b93..0398727 100644
--- a/helpers/prepare-game-loader.swift
+++ b/helpers/prepare-game-loader.swift
@@ -116,6 +116,9 @@ func prepare(_ target: URL, _ info: URL) throws {
[
"CFBundleAllowMixedLocalizations", "CFBundleDevelopmentRegion",
"CFBundleInfoDictionaryVersion", "CFBundleShortVersionString", "CFBundleVersion",
+ // Keeps Wine's helper processes (services, explorer, steam.exe) out of the Dock;
+ // a process that opens a window still becomes a regular app.
+ "LSUIElement",
].contains($0.key)
}
updated.merge([