summarylogtreecommitdiffstats
path: root/discordmessenger-msvc.sh
blob: 5c3ab618c58747fead6e39f8af94cdac07bf5de8 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
export WINEPREFIX="$HOME/.discordmessenger-msvc/wine"
export WINEDLLOVERRIDES="mscoree,mshtml="
if [ ! -d "$HOME/.discordmessenger-msvc" ]; then
   mkdir -p "$HOME/.discordmessenger-msvc/wine"
   wineboot -u
   #copy the registry file if needed
fi
WINEDEBUG=-all wine /usr/share/discordmessenger-msvc/DiscordMessenger.exe "$@"