This commit is contained in:
Maxim Slipenko 2023-10-11 05:36:34 +00:00 committed by GitHub
parent 1ee909955c
commit e6b8f06415
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ WINEPREFIX="$WINEHOME/.wine32"
# WINEARCH="win32" # WINEARCH="win32"
# WINEDEBUG="-all" # WINEDEBUG="-all"
COREFONTS_BASE_URL="https://github.com/Maks1mS/devcontainers-features/raw/main/src/wine/corefonts/" COREFONTS_BASE_URL="https://raw.githubusercontent.com/Maks1mS/devcontainers-features/main/src/wine/corefonts/"
COREFONTS_FILES=( COREFONTS_FILES=(
"andale32.exe" "andale32.exe"
"arial32.exe" "arial32.exe"
@ -78,9 +78,9 @@ export WINEDEBUG=-all"
wine wineboot --init wine wineboot --init
echo "check-certificate = off" >> ~/.wgetrc echo "check-certificate = off" >> ~/.wgetrc
echo "check_certificate = off" >> ~/.wgetrc echo "check_certificate = off" >> ~/.wgetrc
mkdir -p "$COREFONTS_CACHE_DIR" mkdir -p "\$COREFONTS_CACHE_DIR"
for filename in "${COREFONTS_FILES[@]}"; do for filename in "${COREFONTS_FILES[@]}"; do
curl -O "$COREFONTS_CACHE_DIR\$filename $COREFONTS_BASE_URL\$filename" wget -P "$COREFONTS_CACHE_DIR" "$COREFONTS_BASE_URL\$filename"
done done
winetricks corefonts winetricks corefonts
EOF EOF