LEGO Digital Designer

Informations

Creator Message
theel0ja Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 77
Wine: System

Feedbacks

Description

Allows users to build models with virtual LEGO bricks.

Source code

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_SetupWindow_Init
 
POL_SetupWindow_presentation "LEGO Digital Designer" "The LEGO Group" "http://ldd.lego.com" "theel0ja" "LegoDigitalDesigner"
 
POL_System_TmpCreate "LegoDigitalDesigner"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "LEGO Digital Designer installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://cache.lego.com/downloads/ldd2.0/installer/setupLDD-PC-4_3_10.exe"
    INSTALLER="$POL_System_TmpDir/setupLDD-PC-4_3_10.exe"
fi
 
POL_Wine_SelectPrefix "LegoDigitalDesigner"
POL_Wine_PrefixCreate
 
POL_SetupWindow_wait "Installation in progress." "LEGO Digital Designer installation"
POL_Wine "$INSTALLER"
 
POL_System_TmpDelete
 
POL_Shortcut "LDD.exe" "LEGO Digital Designer"
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
psiryan Monday 17 April 2017 at 18:14
psiryan Anonymous

Message

Script works well installing application; Lego Digital Designer runs well in Wine also. Nice work!

                -`
                  .o+`                 
                 `ooo/                 OS: Arch Linux
                `+oooo:                Kernel: x86_64 Linux 4.9.13-1-lts
               `+oooooo:               Uptime: 13h 46m
               -+oooooo+:              Packages: 1280
             `/:-:++oooo+:             Shell: bash 4.4.12
            `/++++/+++++++:            Resolution: 1920x1080
           `/++++++++++++++:           DE: LXQt
          `/+++ooooooooooooo/`         WM: KWin
         ./ooosssso++osssssso+`        WM Theme: Breeze
        .oossssso-````/ossssss+`       GTK Theme: Arc [GTK2/3]
       -osssssso.      :ssssssso.      Icon Theme: Enlightenment-X
      :osssssss/        osssso+++.     Font: Cantarell 11
     /ossssssss/        +ssssooo/-     CPU: Intel Core i7-4770HQ @ 8x 3.4GHz [14.0°C]
   `/ossssso+/:-        -:/+osssso+-   GPU: Mesa DRI Intel(R) Haswell Mobile
  `+sso+:-`                 `.-/+oso:  RAM: 2700MiB / 15975MiB
 `++:.                           `-/+/
 .`                                 `/

Replies

theel0ja Monday 6 March 2017 at 10:40
theel0ja Anonymous

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,35 @@
+#!/usr/bin/env playonlinux-bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+POL_SetupWindow_Init
+ 
+POL_SetupWindow_presentation "LEGO Digital Designer" "The LEGO Group" "http://ldd.lego.com" "theel0ja" "LegoDigitalDesigner"
+ 
+POL_System_TmpCreate "LegoDigitalDesigner"
+ 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "Please select the installation file to run." "LEGO Digital Designer installation"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "http://cache.lego.com/downloads/ldd2.0/installer/setupLDD-PC-4_3_10.exe"
+    INSTALLER="$POL_System_TmpDir/setupLDD-PC-4_3_10.exe"
+fi
+ 
+POL_Wine_SelectPrefix "LegoDigitalDesigner"
+POL_Wine_PrefixCreate
+ 
+POL_SetupWindow_wait "Installation in progress." "LEGO Digital Designer installation"
+POL_Wine "$INSTALLER"
+ 
+POL_System_TmpDelete
+ 
+POL_Shortcut "LDD.exe" "LEGO Digital Designer"
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_SetupWindow_Init
 
POL_SetupWindow_presentation "LEGO Digital Designer" "The LEGO Group" "http://ldd.lego.com" "theel0ja" "LegoDigitalDesigner"
 
POL_System_TmpCreate "LegoDigitalDesigner"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "LEGO Digital Designer installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://cache.lego.com/downloads/ldd2.0/installer/setupLDD-PC-4_3_10.exe"
    INSTALLER="$POL_System_TmpDir/setupLDD-PC-4_3_10.exe"
fi
 
POL_Wine_SelectPrefix "LegoDigitalDesigner"
POL_Wine_PrefixCreate
 
POL_SetupWindow_wait "Installation in progress." "LEGO Digital Designer installation"
POL_Wine "$INSTALLER"
 
POL_System_TmpDelete
 
POL_Shortcut "LDD.exe" "LEGO Digital Designer"
 
POL_SetupWindow_Close
exit

Replies

Edited by theel0ja