Skip to content

Commit

Permalink
Wine (x86/x64): update to 9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Mar 1, 2024
1 parent 541192d commit 53cbd5f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion apps/Wine (x64)/description
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Run x86 and x64 Windows apps with a box64-emulated version x86/x64 wine-9.0 (WOW64 mode enabled).
Run x86 and x64 Windows apps with a box64-emulated version x86/x64 wine-9.3 (WOW64 mode enabled).
To run: wine path/to/file.exe
To configure wine: go to 'Wine configuration' in main menu or type in terminal: wine winecfg
Not all Windows applications will work under Wine. It's a good idea to check online if your program can run, or if something can be tweaked to make it work.
Expand Down
12 changes: 6 additions & 6 deletions apps/Wine (x64)/install-64
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#note to maintainer, if you change the below version make sure to update it in the uninstall script as well
version=9.0
version=9.3

# https://github.com/raspberrypi/bookworm-feedback/issues/107
PAGE_SIZE="$(getconf PAGE_SIZE)"
Expand Down Expand Up @@ -67,15 +67,15 @@ sudo mv /tmp/winetricks /opt/wine-${version}/bin/winetricks || error "Failed to
sudo chmod +x /opt/wine-${version}/bin/winetricks

#download Mono to universal location (to be installed automatically in all wine prefixes)
#according to https://wiki.winehq.org/Mono#Versions, use Mono 8.1.0 for Wine 8.11
#according to https://wiki.winehq.org/Mono#Versions, use Mono 9.0.0 for Wine 9.2
#wine mono pacakge is called -x86 but contains both x86 and x86_64 binaries
sudo mkdir -p /opt/wine-${version}/share/wine/mono
wget -O "/tmp/wine-mono-8.1.0-x86.tar.xz" 'https://dl.winehq.org/wine/wine-mono/8.1.0/wine-mono-8.1.0-x86.tar.xz' || exit 1
sudo tar -xvf "/tmp/wine-mono-8.1.0-x86.tar.xz" -C "/opt/wine-${version}/share/wine/mono" || exit 1
rm -f "/tmp/wine-mono-8.1.0-x86.tar.xz"
wget -O "/tmp/wine-mono-9.0.0-x86.tar.xz" 'https://dl.winehq.org/wine/wine-mono/9.0.0/wine-mono-9.0.0-x86.tar.xz' || exit 1
sudo tar -xvf "/tmp/wine-mono-9.0.0-x86.tar.xz" -C "/opt/wine-${version}/share/wine/mono" || exit 1
rm -f "/tmp/wine-mono-9.0.0-x86.tar.xz"

#download Gecko to universal location (to be installed automatically in all wine prefixes)
#according to https://wiki.winehq.org/Gecko, use Gecko 2.47.4 for Wine 8.11
#according to https://wiki.winehq.org/Gecko, use Gecko 2.47.4 for Wine 8.6
sudo mkdir -p /opt/wine-${version}/share/wine/gecko
wget -O "/tmp/wine-gecko-2.47.4-x86_64.tar.xz" 'https://dl.winehq.org/wine/wine-gecko/2.47.4/wine-gecko-2.47.4-x86_64.tar.xz' || exit 1
sudo tar -xvf "/tmp/wine-gecko-2.47.4-x86_64.tar.xz" -C "/opt/wine-${version}/share/wine/gecko" || exit 1
Expand Down
2 changes: 1 addition & 1 deletion apps/Wine (x64)/uninstall
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

version=9.0
version=9.3

pkill -9 wine
command -v wineserver >/dev/null && wineserver -k
Expand Down
2 changes: 1 addition & 1 deletion apps/Wine (x86)/description
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Run x86 Windows apps with a box86-emulated version of x86 wine-9.0.
Run x86 Windows apps with a box86-emulated version of x86 wine-9.3.
To run: wine path/to/file.exe
To configure wine: go to 'Wine configuration' in main menu or type in terminal: wine winecfg
Not all Windows applications will work under Wine. It's a good idea to check online if your program can run, or if something can be tweaked to make it work.
Expand Down
10 changes: 5 additions & 5 deletions apps/Wine (x86)/install-32
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ fi
#Past this point, the pi is running a Wine-compatible kernel.

#note to maintainer, if you change the below version make sure to update it in the uninstall script as well
version=9.0
version=9.3

#install box86
"${DIRECTORY}/manage" install-if-not-installed Box86 || error "Box86 failed to install somehow!"
Expand Down Expand Up @@ -179,13 +179,13 @@ sudo mv /tmp/winetricks /opt/wine-${version}/bin/winetricks || error "Failed to
sudo chmod +x /opt/wine-${version}/bin/winetricks

#download Mono to universal location (to be installed automatically in all wine prefixes)
#according to https://wiki.winehq.org/Mono#Versions, use Mono 8.1.0 for Wine 8.11
#according to https://wiki.winehq.org/Mono#Versions, use Mono 9.0.0 for Wine 9.2
sudo mkdir -p /opt/wine-${version}/share/wine/mono
wget -O "/tmp/wine-mono-8.1.0-x86.tar.xz" 'https://dl.winehq.org/wine/wine-mono/8.1.0/wine-mono-8.1.0-x86.tar.xz' || exit 1
sudo tar -xvf "/tmp/wine-mono-8.1.0-x86.tar.xz" -C "/opt/wine-${version}/share/wine/mono" || exit 1
wget -O "/tmp/wine-mono-9.0.0-x86.tar.xz" 'https://dl.winehq.org/wine/wine-mono/9.0.0/wine-mono-9.0.0-x86.tar.xz' || exit 1
sudo tar -xvf "/tmp/wine-mono-9.0.0-x86.tar.xz" -C "/opt/wine-${version}/share/wine/mono" || exit 1

#download Gecko to universal location (to be installed automatically in all wine prefixes)
#according to https://wiki.winehq.org/Gecko, use Gecko 2.47.4 for Wine 8.11
#according to https://wiki.winehq.org/Gecko, use Gecko 2.47.4 for Wine 8.6
sudo mkdir -p /opt/wine-${version}/share/wine/gecko
wget -O "/tmp/wine-gecko-2.47.4-x86.tar.xz" 'https://dl.winehq.org/wine/wine-gecko/2.47.4/wine-gecko-2.47.4-x86.tar.xz' || exit 1
sudo tar -xvf "/tmp/wine-gecko-2.47.4-x86.tar.xz" -C "/opt/wine-${version}/share/wine/gecko" || exit 1
Expand Down
2 changes: 1 addition & 1 deletion apps/Wine (x86)/uninstall
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

version=9.0
version=9.3

pkill -9 wine
command -v wineserver >/dev/null && wineserver -k
Expand Down

0 comments on commit 53cbd5f

Please sign in to comment.