#!/bin/bash # Date : (2010-04-24 20-47) # Last revision : (2018-10-02 00-52) # Wine version used : 3.20 # Distribution used to test : Linux Mint 18.03 w/ XFCE 4 # Author : Matthew Bauer, Updated by Mike Santiago, Updated by Wohlstand # Script licence : GPLv3 # Program licence : N/A # Depend : [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" scriptauthor="Matthew Bauer and Mike Santiago" TITLE="SMBX - LunaLua" PREFIX="lunalua" appname="SMBX - LunaLua" shortname="smbx" basesite="https://wohlsoft.ru/projects/LunaLua/" appversion="1.3.0.2" appcreator="Andrew Spinks 'Redigit', Wohlstand, Kevsoft" zipname="LunaLUA-SMBX-latest.zip" download="http://wohlsoft.ru/projects/LunaLua/LunaLUA-SMBX-latest.zip" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$appname" "$appcreator" "$basesite" "$scriptauthor" "$appname" POL_Wine_SelectPrefix $PREFIX POL_Wine_PrefixCreate "3.20" POL_SetupWindow_pulsebar "$(eval_gettext 'Installing base applications with winetricks')" "$(eval_gettext 'Installing')" POL_SetupWindow_pulse "1" cd "$POL_USER_ROOT/tmp/" POL_SetupWindow_pulse "23" POL_Call POL_Install_vbrun6 POL_SetupWindow_pulse "55" POL_Call POL_Install_quartz POL_SetupWindow_pulse "65" POL_Call POL_Install_vcrun2013 POL_SetupWindow_pulse "100" POL_Download "$download" POL_SetupWindow_wait "$(eval_gettext 'Unzipping downloaded files. Please wait.')" "$TITLE" #echo $PREFIX mkdir -p "$REPERTOIRE/wineprefix/$PREFIX/drive_c/$shortname" POL_System_unzip "$REPERTOIRE/tmp/$zipname" -d "$REPERTOIRE/wineprefix/$PREFIX/drive_c/$shortname" POL_Shortcut "smbx.exe" "$TITLE" "" "" POL_SetupWindow_Close exit 0