We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 627a3a5 commit 9a72892Copy full SHA for 9a72892
assets/nix/run.sh
@@ -192,6 +192,12 @@ executable_path=$(resolve_executable_path "${executable_path}")
192
# Figure out the arch of the executable with file
193
file_out="$(LD_PRELOAD="" file -b "${executable_path}")"
194
case "${file_out}" in
195
+ *PE32*)
196
+ echo "The executable is a Windows executable file. You must use Wine/Proton and BepInEx for Windows with this executable." 1>&2
197
+ echo "Uninstall BepInEx for *nix and install BepInEx for Windows instead." 1>&2
198
+ echo "More info: https://docs.bepinex.dev/articles/advanced/steam_interop.html#protonwine" 1>&2
199
+ exit 1
200
+ ;;
201
*64-bit*)
202
arch="x64"
203
;;
0 commit comments