File tree 3 files changed +34
-7
lines changed
website/content/public/downloads/winesetup
3 files changed +34
-7
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,17 @@ curl $FIREFOX_URL --output "$SCRIPT_DIR/firefox.exe"
53
53
cp -f " $SCRIPT_DIR /firefox_data/core/d3dcompiler_47.dll" " $WINEPREFIX /drive_c/windows/system32/d3dcompiler_47.dll"
54
54
55
55
# append MGFXC_WINE_PATH env variable
56
- echo -e " \nexport MGFXC_WINE_PATH=$HOME /.winemonogame" >> ~ /.profile
57
- echo -e " \nexport MGFXC_WINE_PATH=$HOME /.winemonogame" >> ~ /.zprofile
56
+ echo -e " \nexport MGFXC_WINE_PATH=\" $HOME /.winemonogame\" " >> ~ /.profile
57
+ echo -e " \nexport MGFXC_WINE_PATH=\" $HOME /.winemonogame\" " >> ~ /.zprofile
58
+
59
+ if ! type " wine64" > /dev/null 2>&1
60
+ then
61
+ echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.profile
62
+ echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.zprofile
63
+
64
+ WINEPATH=$( which $WINEEXECUTABLE )
65
+ ln -s " $WINEPATH " " $HOME /.winemonogame/wine64"
66
+ fi
58
67
59
68
# cleanup
60
69
rm -rf " $SCRIPT_DIR "
Original file line number Diff line number Diff line change @@ -61,8 +61,17 @@ curl $FIREFOX_URL --output "$SCRIPT_DIR/firefox.exe"
61
61
cp -f " $SCRIPT_DIR /firefox_data/core/d3dcompiler_47.dll" " $WINEPREFIX /drive_c/windows/system32/d3dcompiler_47.dll"
62
62
63
63
# append MGFXC_WINE_PATH env variable
64
- echo -e " \nexport MGFXC_WINE_PATH=$HOME /.winemonogame" >> ~ /.profile
65
- echo -e " \nexport MGFXC_WINE_PATH=$HOME /.winemonogame" >> ~ /.zprofile
64
+ echo -e " \nexport MGFXC_WINE_PATH=\" $HOME /.winemonogame\" " >> ~ /.profile
65
+ echo -e " \nexport MGFXC_WINE_PATH=\" $HOME /.winemonogame\" " >> ~ /.zprofile
66
+
67
+ if ! type " wine64" > /dev/null 2>&1
68
+ then
69
+ echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.profile
70
+ echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.zprofile
71
+
72
+ WINEPATH=$( which $WINEEXECUTABLE )
73
+ ln -s " $WINEPATH " " $HOME /.winemonogame/wine64"
74
+ fi
66
75
67
76
# cleanup
68
77
rm -rf " $SCRIPT_DIR "
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ eval "$WINEEXECUTABLE regedit crashdialog.reg"
50
50
popd
51
51
52
52
# get dotnet
53
- DOTNET_URL=" https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.100-rc.1.24452.12 /dotnet-sdk-9.0.100-rc.1.24452.12 -win-x64.zip"
53
+ DOTNET_URL=" https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.104 /dotnet-sdk-9.0.104 -win-x64.zip"
54
54
curl $DOTNET_URL --output " $SCRIPT_DIR /dotnet-sdk.zip"
55
55
7z x " $SCRIPT_DIR /dotnet-sdk.zip" -o" $WINEPREFIX /drive_c/windows/system32/"
56
56
@@ -61,8 +61,17 @@ curl $FIREFOX_URL --output "$SCRIPT_DIR/firefox.exe"
61
61
cp -f " $SCRIPT_DIR /firefox_data/core/d3dcompiler_47.dll" " $WINEPREFIX /drive_c/windows/system32/d3dcompiler_47.dll"
62
62
63
63
# append MGFXC_WINE_PATH env variable
64
- echo -e " \nexport MGFXC_WINE_PATH=$HOME /.winemonogame" >> ~ /.profile
65
- echo -e " \nexport MGFXC_WINE_PATH=$HOME /.winemonogame" >> ~ /.zprofile
64
+ echo -e " \nexport MGFXC_WINE_PATH=\" $HOME /.winemonogame\" " >> ~ /.profile
65
+ echo -e " \nexport MGFXC_WINE_PATH=\" $HOME /.winemonogame\" " >> ~ /.zprofile
66
+
67
+ if ! type " wine64" > /dev/null 2>&1
68
+ then
69
+ echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.profile
70
+ echo -e " \nexport PATH=\"\$ PATH:$HOME /.winemonogame\" " >> ~ /.zprofile
71
+
72
+ WINEPATH=$( which $WINEEXECUTABLE )
73
+ ln -s " $WINEPATH " " $HOME /.winemonogame/wine64"
74
+ fi
66
75
67
76
# cleanup
68
77
rm -rf " $SCRIPT_DIR "
You can’t perform that action at this time.
0 commit comments