AndreaMosaic

Informations

Créateur Messages
andreaplanet Anonymous

Attention

This installer is a beta script. It means that it might not work as expected

Informations

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

Retours d'expérience

Description

With AndreaMosaic you can create your own photographic mosaics made with your own pictures. A photo mosaic is an image composed of many tiled photos.

Captures d'écran

MiniatureMiniatureMiniature

Code source

#!/usr/bin/env playonlinux-bash
# Date : 2020-09-16
# Last revision : 2020-09-16
# Wine version used : 5.7
# Distribution used to test : macOS Catalina 10.15.6 and PlayOnLinux 4.4.1
# Distribution used to test : Ubuntu 20.04 x86_64 5.4.0 and PlayOnLinux 4.3.4 and Wine 5.7
# Author : Andrea Denzler
source "$PLAYONLINUX/lib/sources"
 
TITLE="AndreaMosaic"
PREFIX="AndreaMosaic"
AUTHOR="Andrea Denzler"
APP_URL="http://www.andreaplanet.com/andreamosaic"
EDITOR="Andrea Denzler"
 
# Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "$AUTHOR" "$APP_URL" "$EDITOR" "$PREFIX"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
# Installation - Determine if user wants to download or use a local copy.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_message "$(eval_gettext 'Please be sure to use the Portable version of AndreaMosaic!')" "$TITLE"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX" # Create temp folder
    cd "$POL_System_TmpDir"
    # Ask if Beta ora Stable version
    POL_SetupWindow_question "$(eval_gettext 'Do you want to try the Beta version?')" "$TITLE"
    if [ "$APP_ANSWER" = "TRUE" ]
    then
       DOWNLOAD_URL="http://www.andreaplanet.com/andreamosaic/download.php?version=portablebeta"
       DOWNLOAD_FILE="download.php?version=portablebeta"
    else
       DOWNLOAD_URL="http://www.andreaplanet.com/andreamosaic/download.php?version=portable"
       DOWNLOAD_FILE="download.php?version=portable"
    fi
    POL_Debug_Message "Download URL is $DOWNLOAD_URL"
    POL_Debug_Message "Download File is $DOWNLOAD_FILE"
    POL_Download "$DOWNLOAD_URL"
    # Sometimes you get a feature transfer error or wine doesn't start if you do not rename this file to an .exe
    mv "$DOWNLOAD_FILE" AndreaMosaicPortable.exe
    INSTALLER="$POL_System_TmpDir/AndreaMosaicPortable.exe"
fi
 
# Extract files from Portable version in silent mode. License is not shown.
POL_Debug_Message "Installer file is $INSTALLER"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER" -s -dC:\\AndreaMosaic\\
POL_Wine_WaitExit "$TITLE"
 
# Free downloaded file
POL_System_TmpDelete
 
# I need to show the license here because we installed the downloaded file in silent mode
LICENSE_FILE=$(find "$WINEPREFIX/drive_c/AndreaMosaic/" -name "license*.txt" | head -n 1)
POL_Debug_Message "License file is $LICENSE_FILE"
if [ -e "$LICENSE_FILE" ]; then
   POL_SetupWindow_licence "$(eval_gettext 'License')" "$TITLE" "$LICENSE_FILE"
fi
 
# Create Shortcut
POL_Shortcut "AndreaMosaicMenu.exe" "$TITLE" "" "" "Graphics"
 
# Exit
POL_SetupWindow_Close

exit

Contributions

Filters:

Contribuer
Membre Messages
Quentin PÂRIS Dimanche 27 September 2020 à 18:36
Quentin PÂRIS Anonymous

Information

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

Differences

@@ -75,4 +75,5 @@
  
 # Exit
 POL_SetupWindow_Close
+
 exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : 2020-09-16
# Last revision : 2020-09-16
# Wine version used : 5.7
# Distribution used to test : macOS Catalina 10.15.6 and PlayOnLinux 4.4.1
# Distribution used to test : Ubuntu 20.04 x86_64 5.4.0 and PlayOnLinux 4.3.4 and Wine 5.7
# Author : Andrea Denzler
source "$PLAYONLINUX/lib/sources"
 
TITLE="AndreaMosaic"
PREFIX="AndreaMosaic"
AUTHOR="Andrea Denzler"
APP_URL="http://www.andreaplanet.com/andreamosaic"
EDITOR="Andrea Denzler"
 
# Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "$AUTHOR" "$APP_URL" "$EDITOR" "$PREFIX"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
# Installation - Determine if user wants to download or use a local copy.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_message "$(eval_gettext 'Please be sure to use the Portable version of AndreaMosaic!')" "$TITLE"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX" # Create temp folder
    cd "$POL_System_TmpDir"
    # Ask if Beta ora Stable version
    POL_SetupWindow_question "$(eval_gettext 'Do you want to try the Beta version?')" "$TITLE"
    if [ "$APP_ANSWER" = "TRUE" ]
    then
       DOWNLOAD_URL="http://www.andreaplanet.com/andreamosaic/download.php?version=portablebeta"
       DOWNLOAD_FILE="download.php?version=portablebeta"
    else
       DOWNLOAD_URL="http://www.andreaplanet.com/andreamosaic/download.php?version=portable"
       DOWNLOAD_FILE="download.php?version=portable"
    fi
    POL_Debug_Message "Download URL is $DOWNLOAD_URL"
    POL_Debug_Message "Download File is $DOWNLOAD_FILE"
    POL_Download "$DOWNLOAD_URL"
    # Sometimes you get a feature transfer error or wine doesn't start if you do not rename this file to an .exe
    mv "$DOWNLOAD_FILE" AndreaMosaicPortable.exe
    INSTALLER="$POL_System_TmpDir/AndreaMosaicPortable.exe"
fi
 
# Extract files from Portable version in silent mode. License is not shown.
POL_Debug_Message "Installer file is $INSTALLER"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER" -s -dC:\\AndreaMosaic\\
POL_Wine_WaitExit "$TITLE"
 
# Free downloaded file
POL_System_TmpDelete
 
# I need to show the license here because we installed the downloaded file in silent mode
LICENSE_FILE=$(find "$WINEPREFIX/drive_c/AndreaMosaic/" -name "license*.txt" | head -n 1)
POL_Debug_Message "License file is $LICENSE_FILE"
if [ -e "$LICENSE_FILE" ]; then
   POL_SetupWindow_licence "$(eval_gettext 'License')" "$TITLE" "$LICENSE_FILE"
fi
 
# Create Shortcut
POL_Shortcut "AndreaMosaicMenu.exe" "$TITLE" "" "" "Graphics"
 
# Exit
POL_SetupWindow_Close

exit

Réponses

Anonymous
Jeudi 1 Octobre 2020 à 22:46
Is it possible to add AndreaMosaic to the list of supported software for macOs?
Vendredi 2 Octobre 2020 à 9:54
OK, added with the tag testing.
andreaplanet Mercredi 16 September 2020 à 18:44
andreaplanet Anonymous

Warning

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

Differences

@@ -1,31 +1,30 @@
 #!/usr/bin/env playonlinux-bash
-# Date : 2015-06-10
-# Last revision : 2015-10-07
-# Wine version used : 1.6.2
-# Distribution used to test : Ubuntu 15.04 x86_64, Linux kernel 3.19.0-18.18 generic
+# Date : 2020-09-16
+# Last revision : 2020-09-16
+# Wine version used : 5.7
+# Distribution used to test : macOS Catalina 10.15.6 and PlayOnLinux 4.4.1
+# Distribution used to test : Ubuntu 20.04 x86_64 5.4.0 and PlayOnLinux 4.3.4 and Wine 5.7
 # Author : Andrea Denzler
-# Note: This script should be used only for PlayOnLinux since there is a specific release for Mac available on the Official web site
-[ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="AndreaMosaic"
 PREFIX="AndreaMosaic"
 AUTHOR="Andrea Denzler"
 APP_URL="http://www.andreaplanet.com/andreamosaic"
 EDITOR="Andrea Denzler"
-
+ 
 # Initialization
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_Debug_Init
-
+ 
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "$AUTHOR" "$APP_URL" "$EDITOR" "$PREFIX"
-
+ 
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
-
+ 
 # Installation - Determine if user wants to download or use a local copy.
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 if [ "$INSTALL_METHOD" = "LOCAL" ]
@@ -54,26 +53,26 @@
     mv "$DOWNLOAD_FILE" AndreaMosaicPortable.exe
     INSTALLER="$POL_System_TmpDir/AndreaMosaicPortable.exe"
 fi
-
+ 
 # Extract files from Portable version in silent mode. License is not shown.
 POL_Debug_Message "Installer file is $INSTALLER"
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$INSTALLER" -s -dC:\\AndreaMosaic\\
 POL_Wine_WaitExit "$TITLE"
-
+ 
 # Free downloaded file
 POL_System_TmpDelete
-
+ 
 # I need to show the license here because we installed the downloaded file in silent mode
 LICENSE_FILE=$(find "$WINEPREFIX/drive_c/AndreaMosaic/" -name "license*.txt" | head -n 1)
 POL_Debug_Message "License file is $LICENSE_FILE"
 if [ -e "$LICENSE_FILE" ]; then
    POL_SetupWindow_licence "$(eval_gettext 'License')" "$TITLE" "$LICENSE_FILE"
 fi
-
+ 
 # Create Shortcut
 POL_Shortcut "AndreaMosaicMenu.exe" "$TITLE" "" "" "Graphics"
-
+ 
 # Exit
 POL_SetupWindow_Close
-exit
+exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : 2020-09-16
# Last revision : 2020-09-16
# Wine version used : 5.7
# Distribution used to test : macOS Catalina 10.15.6 and PlayOnLinux 4.4.1
# Distribution used to test : Ubuntu 20.04 x86_64 5.4.0 and PlayOnLinux 4.3.4 and Wine 5.7
# Author : Andrea Denzler
source "$PLAYONLINUX/lib/sources"
 
TITLE="AndreaMosaic"
PREFIX="AndreaMosaic"
AUTHOR="Andrea Denzler"
APP_URL="http://www.andreaplanet.com/andreamosaic"
EDITOR="Andrea Denzler"
 
# Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "$AUTHOR" "$APP_URL" "$EDITOR" "$PREFIX"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
# Installation - Determine if user wants to download or use a local copy.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_message "$(eval_gettext 'Please be sure to use the Portable version of AndreaMosaic!')" "$TITLE"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX" # Create temp folder
    cd "$POL_System_TmpDir"
    # Ask if Beta ora Stable version
    POL_SetupWindow_question "$(eval_gettext 'Do you want to try the Beta version?')" "$TITLE"
    if [ "$APP_ANSWER" = "TRUE" ]
    then
       DOWNLOAD_URL="http://www.andreaplanet.com/andreamosaic/download.php?version=portablebeta"
       DOWNLOAD_FILE="download.php?version=portablebeta"
    else
       DOWNLOAD_URL="http://www.andreaplanet.com/andreamosaic/download.php?version=portable"
       DOWNLOAD_FILE="download.php?version=portable"
    fi
    POL_Debug_Message "Download URL is $DOWNLOAD_URL"
    POL_Debug_Message "Download File is $DOWNLOAD_FILE"
    POL_Download "$DOWNLOAD_URL"
    # Sometimes you get a feature transfer error or wine doesn't start if you do not rename this file to an .exe
    mv "$DOWNLOAD_FILE" AndreaMosaicPortable.exe
    INSTALLER="$POL_System_TmpDir/AndreaMosaicPortable.exe"
fi
 
# Extract files from Portable version in silent mode. License is not shown.
POL_Debug_Message "Installer file is $INSTALLER"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER" -s -dC:\\AndreaMosaic\\
POL_Wine_WaitExit "$TITLE"
 
# Free downloaded file
POL_System_TmpDelete
 
# I need to show the license here because we installed the downloaded file in silent mode
LICENSE_FILE=$(find "$WINEPREFIX/drive_c/AndreaMosaic/" -name "license*.txt" | head -n 1)
POL_Debug_Message "License file is $LICENSE_FILE"
if [ -e "$LICENSE_FILE" ]; then
   POL_SetupWindow_licence "$(eval_gettext 'License')" "$TITLE" "$LICENSE_FILE"
fi
 
# Create Shortcut
POL_Shortcut "AndreaMosaicMenu.exe" "$TITLE" "" "" "Graphics"
 
# Exit
POL_SetupWindow_Close
exit

Réponses

Mercredi 16 September 2020 à 19:33
script approved.
Mercredi 16 September 2020 à 19:34
I recommend to use Wine versions v5.0.x (more usual).
andreaplanet Lundi 12 Octobre 2015 à 0:16
andreaplanet Anonymous

Warning

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

Messages

Notes:
- Free to Play
- Only PlayOnLinux (no PlayOnMac)
- Graphics Program
- Program is downloaded from official website or can be submited manually

I tested on Ubuntu 15.04 with default installation, PlayOnLinux 4.2.5 and Wine 1.6.2.
Script:
 
Screenshots
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicScreenshotLinux.jpg[/img]
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicScreenShot.png[/img]
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicScreenShotToolTip.png[/img]
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicScreenShotSelectTiles.png[/img]

Left Image
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicLogo150x356.png[/img]

Top Image
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicIcon64x64.png[/img]

48x48
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicIcon48x48.png[/img]

22x22
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicIcon22x22.png[/img]

 

 

Differences

@@ -0,0 +1,79 @@
+#!/usr/bin/env playonlinux-bash
+# Date : 2015-06-10
+# Last revision : 2015-10-07
+# Wine version used : 1.6.2
+# Distribution used to test : Ubuntu 15.04 x86_64, Linux kernel 3.19.0-18.18 generic
+# Author : Andrea Denzler
+# Note: This script should be used only for PlayOnLinux since there is a specific release for Mac available on the Official web site
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="AndreaMosaic"
+PREFIX="AndreaMosaic"
+AUTHOR="Andrea Denzler"
+APP_URL="http://www.andreaplanet.com/andreamosaic"
+EDITOR="Andrea Denzler"
+
+# Initialization
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+POL_Debug_Init
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$AUTHOR" "$APP_URL" "$EDITOR" "$PREFIX"
+
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+
+# Installation - Determine if user wants to download or use a local copy.
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_message "$(eval_gettext 'Please be sure to use the Portable version of AndreaMosaic!')" "$TITLE"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    POL_System_TmpCreate "$PREFIX" # Create temp folder
+    cd "$POL_System_TmpDir"
+    # Ask if Beta ora Stable version
+    POL_SetupWindow_question "$(eval_gettext 'Do you want to try the Beta version?')" "$TITLE"
+    if [ "$APP_ANSWER" = "TRUE" ]
+    then
+       DOWNLOAD_URL="http://www.andreaplanet.com/andreamosaic/download.php?version=portablebeta"
+       DOWNLOAD_FILE="download.php?version=portablebeta"
+    else
+       DOWNLOAD_URL="http://www.andreaplanet.com/andreamosaic/download.php?version=portable"
+       DOWNLOAD_FILE="download.php?version=portable"
+    fi
+    POL_Debug_Message "Download URL is $DOWNLOAD_URL"
+    POL_Debug_Message "Download File is $DOWNLOAD_FILE"
+    POL_Download "$DOWNLOAD_URL"
+    # Sometimes you get a feature transfer error or wine doesn't start if you do not rename this file to an .exe
+    mv "$DOWNLOAD_FILE" AndreaMosaicPortable.exe
+    INSTALLER="$POL_System_TmpDir/AndreaMosaicPortable.exe"
+fi
+
+# Extract files from Portable version in silent mode. License is not shown.
+POL_Debug_Message "Installer file is $INSTALLER"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "$INSTALLER" -s -dC:\\AndreaMosaic\\
+POL_Wine_WaitExit "$TITLE"
+
+# Free downloaded file
+POL_System_TmpDelete
+
+# I need to show the license here because we installed the downloaded file in silent mode
+LICENSE_FILE=$(find "$WINEPREFIX/drive_c/AndreaMosaic/" -name "license*.txt" | head -n 1)
+POL_Debug_Message "License file is $LICENSE_FILE"
+if [ -e "$LICENSE_FILE" ]; then
+   POL_SetupWindow_licence "$(eval_gettext 'License')" "$TITLE" "$LICENSE_FILE"
+fi
+
+# Create Shortcut
+POL_Shortcut "AndreaMosaicMenu.exe" "$TITLE" "" "" "Graphics"
+
+# Exit
+POL_SetupWindow_Close
+exit

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : 2015-06-10
# Last revision : 2015-10-07
# Wine version used : 1.6.2
# Distribution used to test : Ubuntu 15.04 x86_64, Linux kernel 3.19.0-18.18 generic
# Author : Andrea Denzler
# Note: This script should be used only for PlayOnLinux since there is a specific release for Mac available on the Official web site
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="AndreaMosaic"
PREFIX="AndreaMosaic"
AUTHOR="Andrea Denzler"
APP_URL="http://www.andreaplanet.com/andreamosaic"
EDITOR="Andrea Denzler"

# Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$AUTHOR" "$APP_URL" "$EDITOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

# Installation - Determine if user wants to download or use a local copy.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_message "$(eval_gettext 'Please be sure to use the Portable version of AndreaMosaic!')" "$TITLE"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX" # Create temp folder
    cd "$POL_System_TmpDir"
    # Ask if Beta ora Stable version
    POL_SetupWindow_question "$(eval_gettext 'Do you want to try the Beta version?')" "$TITLE"
    if [ "$APP_ANSWER" = "TRUE" ]
    then
       DOWNLOAD_URL="http://www.andreaplanet.com/andreamosaic/download.php?version=portablebeta"
       DOWNLOAD_FILE="download.php?version=portablebeta"
    else
       DOWNLOAD_URL="http://www.andreaplanet.com/andreamosaic/download.php?version=portable"
       DOWNLOAD_FILE="download.php?version=portable"
    fi
    POL_Debug_Message "Download URL is $DOWNLOAD_URL"
    POL_Debug_Message "Download File is $DOWNLOAD_FILE"
    POL_Download "$DOWNLOAD_URL"
    # Sometimes you get a feature transfer error or wine doesn't start if you do not rename this file to an .exe
    mv "$DOWNLOAD_FILE" AndreaMosaicPortable.exe
    INSTALLER="$POL_System_TmpDir/AndreaMosaicPortable.exe"
fi

# Extract files from Portable version in silent mode. License is not shown.
POL_Debug_Message "Installer file is $INSTALLER"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER" -s -dC:\\AndreaMosaic\\
POL_Wine_WaitExit "$TITLE"

# Free downloaded file
POL_System_TmpDelete

# I need to show the license here because we installed the downloaded file in silent mode
LICENSE_FILE=$(find "$WINEPREFIX/drive_c/AndreaMosaic/" -name "license*.txt" | head -n 1)
POL_Debug_Message "License file is $LICENSE_FILE"
if [ -e "$LICENSE_FILE" ]; then
   POL_SetupWindow_licence "$(eval_gettext 'License')" "$TITLE" "$LICENSE_FILE"
fi

# Create Shortcut
POL_Shortcut "AndreaMosaicMenu.exe" "$TITLE" "" "" "Graphics"

# Exit
POL_SetupWindow_Close
exit

Réponses

Edité par petch

andreaplanet Lundi 12 Octobre 2015 à 0:14
andreaplanet Anonymous

Messages

Notes:

- Free to Play
- Only PlayOnLinux (no PlayOnMac)
- Graphics Program
- Program is downloaded from official website or can be submited manually

I tested on Ubuntu 15.04 with default installation, PlayOnLinux 4.2.5 and Wine 1.6.2.

Script:

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/usr/bin/env playonlinux-bash
# Date : 2015-06-10
# Last revision : 2015-10-07
# Wine version used : 1.6.2
# Distribution used to test : Ubuntu 15.04 x86_64, Linux kernel 3.19.0-18.18 generic
# Author : Andrea Denzler
# Note: This script should be used only for PlayOnLinux since there is a specific release for Mac available on the Official web site
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="AndreaMosaic"
PREFIX="AndreaMosaic"
AUTHOR="Andrea Denzler"
EDITOR="Andrea Denzler"
 
# Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
  
# Presentation
POL_SetupWindow_presentation "$TITLE" "$AUTHOR" "$APP_URL" "$EDITOR" "$PREFIX"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
# Installation - Determine if user wants to download or use a local copy.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_message "$(eval_gettext 'Please be sure to use the Portable version of AndreaMosaic!')" "$TITLE"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX" # Create temp folder
    cd "$POL_System_TmpDir"
    # Ask if Beta ora Stable version
    POL_SetupWindow_question "$(eval_gettext 'Do you want to try the Beta version?')" "$TITLE"
    if [ "$APP_ANSWER" = "TRUE" ]
    then
       DOWNLOAD_FILE="download.php?version=portablebeta"
    else
       DOWNLOAD_FILE="download.php?version=portable"
    fi
    POL_Debug_Message "Download URL is $DOWNLOAD_URL"
    POL_Debug_Message "Download File is $DOWNLOAD_FILE"
    POL_Download "$DOWNLOAD_URL"
    # Sometimes you get a feature transfer error or wine doesn't start if you do not rename this file to an .exe
    mv "$DOWNLOAD_FILE" AndreaMosaicPortable.exe
    INSTALLER="$POL_System_TmpDir/AndreaMosaicPortable.exe"
fi
 
# Extract files from Portable version in silent mode. License is not shown.
POL_Debug_Message "Installer file is $INSTALLER"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER" -s -dC:\\AndreaMosaic\\
POL_Wine_WaitExit "$TITLE"
 
# Free downloaded file
POL_System_TmpDelete
 
# I need to show the license here because we installed the downloaded file in silent mode
LICENSE_FILE=$(find "$WINEPREFIX/drive_c/AndreaMosaic/" -name "license*.txt" | head -n 1)
POL_Debug_Message "License file is $LICENSE_FILE"
if [ -e "$LICENSE_FILE" ]; then
   POL_SetupWindow_licence "$(eval_gettext 'License')" "$TITLE" "$LICENSE_FILE"
fi
 
# Create Shortcut
POL_Shortcut "AndreaMosaicMenu.exe" "$TITLE" "" "" "Graphics"
 
# Exit
POL_SetupWindow_Close
exit

Screenshots
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicScreenshotLinux.jpg[/img]
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicScreenShot.png[/img]
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicScreenShotToolTip.png[/img]
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicScreenShotSelectTiles.png[/img]

Left Image
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicLogo150x356.png[/img]

Top Image
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicIcon64x64.png[/img]

48x48
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicIcon48x48.png[/img]

22x22
[img]http://www.andreaplanet.com/andreamosaic/image/AndreaMosaicIcon22x22.png[/img]

 

Réponses

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