Skip to content

Commit

Permalink
switch to xna client
Browse files Browse the repository at this point in the history
install xna40 as well
  • Loading branch information
mmtrt committed Nov 5, 2024
1 parent cfdcc27 commit 68f96bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ environment:
WINEPREFIX: "$SNAP_USER_COMMON/.wine"
WINEARCH: "win64"
INSTALL_URL_CNC: "https://downloads.cncnet.org/CnCNet5_YR_Installer.exe"
TRICKS: "win10"
TRICKS: "xna40 win10"
NO_AT_BRIDGE: 1
DISABLE_WAYLAND: 1
SOMMELIER_INSTALL_MONO: 1
Expand All @@ -44,7 +44,7 @@ apps:
extensions: [gnome]
command: bin/sommelier run-exe
environment:
RUN_EXE: "C:/Westwood/RA2/Resources/clientogl.exe"
RUN_EXE: "C:/Westwood/RA2/Resources/clientxna.exe"
plugs:
- audio-playback
- home
Expand Down Expand Up @@ -76,6 +76,8 @@ parts:
# Pre download required dependencies
wget -q "https://dl.winehq.org/wine/wine-mono/9.3.0/wine-mono-9.3.0-x86.msi" -P winedata/wine
wget -q "https://downloads.cncnet.org/CnCNet5_YR_Installer.exe" -P winedata
wget -q "https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe" -P winedata/winetricks/dotnet40
wget -q "https://web.archive.org/web/20120325002813/https://download.microsoft.com/download/A/C/2/AC2C903B-E6E8-42C2-9FD7-BEBAC362A930/xnafx40_redist.msi" -P winedata/winetricks/xna40
cp -R -p winedata $CRAFT_PART_INSTALL
stage:
- sommelier
Expand Down

0 comments on commit 68f96bc

Please sign in to comment.