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 6161 echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.profile
6262 echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.zprofile
6363
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"
6670fi
6771
6872# cleanup
Original file line number Diff line number Diff line change 6969 echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.profile
7070 echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.zprofile
7171
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"
7478fi
7579
7680# cleanup
Original file line number Diff line number Diff line change 6969 echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.profile
7070 echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.zprofile
7171
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"
7478fi
7579
7680# cleanup
You can’t perform that action at this time.
0 commit comments