# Disable file type associations export from wine
export WINEDISABLEASSOC=yes
+# Disable WINE@Etersoft splash
+#WINEDISABLEETERSPLASH=yes
+
# Disable annoying fixmes
if [ -z "$WINEDEBUG" ] ; then
export WINEDEBUG=fixme-mshtml
[ -z "$WINEPREFIX" ] && export WINEPREFIX=${HOME}/.wine
WINEADMGRP=wineadmin
-PROGRESS=$WINEPREFIX/winesplash.progress
+export WINESPLASHPROGRESS=$WINEPREFIX/winesplash.progress
WINEDIAG=$BINDIR/winediag
ETERMSG=$BINDIR/eterx11msg
WINESERVER=wineserver
stop_splash()
{
- rm -f "$PROGRESS" 2>/dev/null
+ rm -f "$WINESPLASHPROGRESS" 2>/dev/null
}
signal_handler() {
# color, overall_time, numstep
init_splash()
{
+ [ -z "$WINEDISABLEETERSPLASH" ] || return
i_progress=0
- echo $i_progress >$PROGRESS
+ echo $i_progress >$WINESPLASHPROGRESS
local SPLASHFILE=$WINEDATADIR/wine-etersoft-splash.xpm
[ -r "$SPLASHFILE" ] || SPLASHFILE=$WINEDATADIR/winesplash.xpm
- $BINDIR/winesplash $PROGRESS $SPLASHFILE $1 $2 2>/dev/null >/dev/null &
+ $BINDIR/winesplash $WINESPLASHPROGRESS $SPLASHFILE $1 $2 2>/dev/null >/dev/null &
STEPPROGRESS=$3
export WINEETERSOFTUPDATE=yes
}
if [ $i_progress -ge 100 ] ; then
i_progress=99
fi
- echo $i_progress >$PROGRESS
+ echo $i_progress >$WINESPLASHPROGRESS
}
map_drive()