Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
22 lines
412 B
Bash
Executable File
22 lines
412 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
OUT="@out@"
|
|
PATH="@path@:$PATH"
|
|
|
|
PKGNAME="vtfedit"
|
|
PKGBIN="$OUT/share/lib/VTFEdit.exe"
|
|
|
|
export WINEDEBUG="-all"
|
|
export WINEPREFIX="$HOME/.local/share/$PKGNAME/wine"
|
|
|
|
if [[ ! -d "$WINEPREFIX" ]]; then
|
|
echo "Initialising the Wine prefix..."
|
|
WINEDLLOVERRIDES="mscoree=" winetricks -q winxp
|
|
echo "Installing DLLs..."
|
|
winetricks -q dlls dotnet20 vcrun2005
|
|
fi
|
|
|
|
wine "$PKGBIN" "$@"
|