We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 773423d commit aaa066fCopy full SHA for aaa066f
build.sh
@@ -8,6 +8,15 @@ if [ -z $podman ]; then
8
exit 1
9
fi
10
11
+if ! grep -rq '/usr/bin/wine' /proc/sys/fs/binfmt_misc; then
12
+ echo "binfmt_misc support for PE pointing to /usr/bin/wine must be enabled to build the Windows mono container."
13
+ echo "This can be done by:"
14
+ echo 'mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc'
15
+ echo 'echo ":windows:M::MZ::/usr/bin/wine:" > /proc/sys/fs/binfmt_misc/register'
16
+ echo 'echo ":windowsPE:M::PE::/usr/bin/wine:" > /proc/sys/fs/binfmt_misc/register'
17
+ exit 1
18
+fi
19
+
20
if [ -z "$1" -o -z "$2" ]; then
21
echo "Usage: $0 <godot branch> <mono version> [<mono branch> <mono commit hash>]"
22
echo
0 commit comments