LEGO Digital Designer

Informations

Creator Nachricht
theel0ja Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 8963
Wine: System

Feedbacks

Description

Allows users to build models with virtual LEGO bricks.

Screenshots

Miniature

Source code

#!/usr/bin/env playonlinux-bash

# CHANGELOG:
# theel0ja (2017-03-06)
#   First script.
# Dadu042 (2019-08-01)
#   Fix URL (dead). v4_3_10 -> v4_3_12.

[ "$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 "https://www.lego.com/assets/franchisesites/ldd/installer/setupldd-pc-4_3_12.exe"
    INSTALLER="$POL_System_TmpDir/setupLDD-PC-4_3_12.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 Nachricht
Dadu042 Friday 2 August 2019 at 16:05
Dadu042

Information

This update has been approved by the team.

Nachricht

Launched OK on Wine 4.0.1. Offline mode only.
The software is a 2012 version. English/Deutch.

Differences

@@ -1,15 +1,22 @@
 #!/usr/bin/env playonlinux-bash
+
+# CHANGELOG:
+# theel0ja (2017-03-06)
+#   First script.
+# Dadu042 (2019-08-01)
+#   Fix URL (dead). v4_3_10 -> v4_3_12.
+
 [ "$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"
@@ -17,19 +24,19 @@
 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"
+    POL_Download "https://www.lego.com/assets/franchisesites/ldd/installer/setupldd-pc-4_3_12.exe"
+    INSTALLER="$POL_System_TmpDir/setupLDD-PC-4_3_12.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

# CHANGELOG:
# theel0ja (2017-03-06)
#   First script.
# Dadu042 (2019-08-01)
#   Fix URL (dead). v4_3_10 -> v4_3_12.

[ "$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 "https://www.lego.com/assets/franchisesites/ldd/installer/setupldd-pc-4_3_12.exe"
    INSTALLER="$POL_System_TmpDir/setupLDD-PC-4_3_12.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

Antworten

Editiert von: Dadu042

psiryan Monday 17 April 2017 at 18:14
psiryan Anonymous

Nachricht

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
 `++:.                           `-/+/
 .`                                 `/

Antworten

theel0ja Monday 6 March 2017 at 10:40
theel0ja Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

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

Antworten

Editiert von: theel0ja