LEGO Digital Designer

Informations

Créateur Messages
theel0ja Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 9382
Wine: System

Retours d'expérience

Description

Allows users to build models with virtual LEGO bricks.

Captures d'écran

Miniature

Code source

#!/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:

Contribuer
Membre Messages
Dadu042 Vendredi 2 Aoüt 2019 à 16:05
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

Messages

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

Nouveau code source

#!/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

Réponses

Edité par Dadu042

psiryan Lundi 17 Avril 2017 à 18:14
psiryan Anonymous

Messages

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

Réponses

theel0ja Lundi 6 Mars 2017 à 10:40
theel0ja Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Edité par theel0ja

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 dmca-notice@playonlinux.com