Skip to content

Instantly share code, notes, and snippets.

@alextrical
alextrical / gist:f11b7f37b75c9bb5061335f9c60164f6
Created December 21, 2023 12:23
Morningstar MSView Wine setup
#Morningstar MSView
export env WINEPREFIX=~/.MSView
export env WINEDEBUG=fixme-all
export env WINEARCH=win64
rm -r $WINEPREFIX
wget https://www.morningstarcorp.com/wp-content/uploads/software-msview-1.6.44.0.zip -nc -P /tmp
unzip /tmp/software-msview-*.zip -d /tmp/msview
wine /tmp/msview/setup-MSView.exe
rm -r /tmp/msview
rm -r ~/.vectric
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install flathub app/org.winehq.Wine/x86_64/stable-22.08 -y
sudo flatpak override org.winehq.Wine --filesystem=home #Grant access to home directory
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1Pq1akvhUrlUDaivkmYEw4bgy2oSPz-dE' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1Pq1akvhUrlUDaivkmYEw4bgy2oSPz-dE" -nc -O ~/Downloads/AspireV10512_Setup.exe && rm -rf /tmp/cookies.txt
wget storage.vectric.com/patches/v10_5/Aspire/patches/Aspire_patch_to_v10514.exe -nc -P ~/Downloads
wget https://raw.githubusercontent.com/alextrical/Fedora-Kinonite-Fablab-Kickstart/main/patches/Aspire10512.patch -nc -P ~/Downloads
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -nc -P ~/D