Skip to content

Commit

Permalink
Add splash screen to generate early user feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Jun 14, 2018
1 parent 1040fd4 commit 869de4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions snap/scripts/sommelier
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ fi

# Initialise wine
if [ ! -f "${WINEPREFIX}/drive_c/windows/win.ini" ]; then
# Splash
yad --window-icon="${SNAP}/meta/gui/tmnationsforever.png" --timeout=15 --timeout-indicator=bottom --image="${SNAP}/meta/gui/tmnationsforever.png" --no-escape --center --no-buttons --splash &

# Create the WINE environment
env WINEARCH="${WINEARCH}" WINEPREFIX="${WINEPREFIX}" "${WINELOADER}" wineboot --init 2>&1 | \
yad --progress --title="Preparing Windows environment" --width=400 --center --no-buttons --auto-close --auto-kill --on-top --pulsate
# Opt out of winetricks metrics - we ninja this to avoid dialogs
Expand Down

0 comments on commit 869de4e

Please sign in to comment.