mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Add error when using *nix build with Windows executable
This commit is contained in:
1 parent
919d1ee0da
commit
8f6d04c621
1 file changed
+6
@@ -90,6 +90,12 @@ fi
|
||||
executable_type=`LD_PRELOAD="" file -b "${executable_path}"`;
|
||||
|
||||
case $executable_type in
|
||||
*PE32*)
|
||||
echo "The executable is a Windows executable file. You must use Wine/Proton and BepInEx for Windows with this executable."
|
||||
echo "Uninstall BepInEx for *nix and install BepInEx for Windows instead."
|
||||
echo "More info: https://docs.bepinex.dev/articles/advanced/steam_interop.html#protonwine"
|
||||
exit 1
|
||||
;;
|
||||
*64-bit*)
|
||||
arch="x64"
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user