File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed
website/content/public/downloads/winesetup Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 61
61
echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.profile
62
62
echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.zprofile
63
63
64
- WINEPATH=$( which $WINEEXECUTABLE )
65
- ln -s " $WINEPATH " " $HOME /.winemonogame/wine64"
64
+ # create a wine wrapper script to work around oddities with symlinked wine64
65
+ echo -e " #\!/bin/bash\nwine \"\$ @\" " > " $HOME /.winemonogame/wine_wrapper.sh"
66
+ chmod +x " $HOME /.winemonogame/wine_wrapper.sh"
67
+
68
+ # symlink wine64 to our wrapper script
69
+ ln -s " $HOME /.winemonogame/wine_wrapper.sh" " $HOME /.winemonogame/wine64"
66
70
fi
67
71
68
72
# cleanup
Original file line number Diff line number Diff line change 69
69
echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.profile
70
70
echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.zprofile
71
71
72
- WINEPATH=$( which $WINEEXECUTABLE )
73
- ln -s " $WINEPATH " " $HOME /.winemonogame/wine64"
72
+ # create a wine wrapper script to work around oddities with symlinked wine64
73
+ echo -e " #\!/bin/bash\nwine \"\$ @\" " > " $HOME /.winemonogame/wine_wrapper.sh"
74
+ chmod +x " $HOME /.winemonogame/wine_wrapper.sh"
75
+
76
+ # symlink wine64 to our wrapper script
77
+ ln -s " $HOME /.winemonogame/wine_wrapper.sh" " $HOME /.winemonogame/wine64"
74
78
fi
75
79
76
80
# cleanup
Original file line number Diff line number Diff line change 69
69
echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.profile
70
70
echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.zprofile
71
71
72
- WINEPATH=$( which $WINEEXECUTABLE )
73
- ln -s " $WINEPATH " " $HOME /.winemonogame/wine64"
72
+ # create a wine wrapper script to work around oddities with symlinked wine64
73
+ echo -e " #\!/bin/bash\nwine \"\$ @\" " > " $HOME /.winemonogame/wine_wrapper.sh"
74
+ chmod +x " $HOME /.winemonogame/wine_wrapper.sh"
75
+
76
+ # symlink wine64 to our wrapper script
77
+ ln -s " $HOME /.winemonogame/wine_wrapper.sh" " $HOME /.winemonogame/wine64"
74
78
fi
75
79
76
80
# cleanup
You can’t perform that action at this time.
0 commit comments