安装脚本
#!/usr/bin/env bash
# System: openSUSE TW
# Wine: 8.0
# System
WINESYS=win10
# System Arch
WINEARCH=win32
# Install Dir
WINEPREFIX=~/wine/iTunes
# Source
SOURCE=iTunesSetup.exe
# Require
# REQUIRE=""
wget -c https://secure-appldnld.apple.com/itunes12/031-62803-20160516-DC22180C-1959-11E6-A359-D4135529DBDF/iTunesSetup.exe
printf " System: ${WINESYS} \n ARCH: ${WINEARCH} \n PREFIX: ${WINEPREFIX} \n SOURCE: ${SOURCE} \n"
# WINEARCH=${WINEARCH} WINEPREFIX=${WINEPREFIX} winetricks ${REQUIRE}
WINEARCH=${WINEARCH} WINEPREFIX=${WINEPREFIX} winetricks ${WINESYS}
WINEARCH=${WINEARCH} WINEPREFIX=${WINEPREFIX} wine ${SOURCE}
安装时选择英文比较好,默认安装在 ~/wine/iTunes
目录,可以酌情修改