The forum

[Script] 4D Workshop

Author Replies
majenko Tuesday 10 November 2015 at 1:59
majenkoAnonymous

4D Workshop is a comprehensive software IDE for Microsoft Windows that provides an integrated software development platform for all of the 4D family of processors and modules. The IDE combines the Editor, Compiler, Linker and Downloader to develop complete 4DGL application code. All user application code is developed within the Workshop4 IDE.

 

#!/bin/bash

# Date : (2015-11-09 22-49)
# Last revision : (2015-11-09 22-40)
# Wine version used :
# Distribution used to test : Debian Jessie
# Author : Majenko Technologies

POL_Debug_Init

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="4D Workshop"
PREFIX="4DWorkshop"
 
POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "4D Systems" "http://www.4dsystems.com.au/product/4D_Workshop_4_IDE/" "Majenko Technologies" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
POL_System_TmpCreate "$PREFIX"
POL_Call POL_Install_gdiplus

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file to run.')" "$TITLE"
    POL_Wine start /unix "$APP_ANSWER"
    POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://www.4dsystems.com.au/downloads/Software/4D-Workshop4-IDE/WORKSHOP4%20INSTALLER.4.2.0.16b.exe"
    POL_Wine start /unix "$POL_System_TmpDir/WORKSHOP4%20INSTALLER.4.2.0.16b.exe"
    POL_Wine_WaitExit "$TITLE"
fi
POL_System_TmpDelete

POL_Shortcut "WORKSHOP4.exe" "$TITLE"
 
POL_SetupWindow_Close
exit

 

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com