mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
42c7933b22
Use a different base image and newer version of Wine to try to mitigate crashes experienced by users in #2527.
18 lines
431 B
Bash
Executable File
18 lines
431 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# This script creates shell scripts that simulate adding all of the WiX binaries
|
|
# to the PATH. `wine /home/wine/wix/light.exe will be able to be called with
|
|
# just `light`.
|
|
|
|
mkdir -p /home/wine/bin
|
|
binpath=/home/wine/bin
|
|
|
|
for exe in $(ls /home/wine/wix | grep .exe$); do
|
|
name=$(echo $exe | cut -d '.' -f 1)
|
|
|
|
cat > $binpath/$name << EOF
|
|
#!/bin/sh
|
|
wine /home/wine/wix/$exe \$@
|
|
EOF
|
|
chmod +x $binpath/$name
|
|
done |