Memories On TV 2

Informations

Créateur Messages
Ueliton

Information

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

Informations

Plate-formes :
Téléchargements : 6347
Wine: 1.7.28

Retours d'expérience

Description

MemoriesOnTV is our award-winning photo/video slideshow software. This feature-packed program comes with beautiful and elegant pre-built effects that you can use. In addition, the powerful and advanced features and tools allow you to craft your slideshows anyway you want.

 

Website.

Captures d'écran

MiniatureMiniatureMiniature

Code source

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# **PlayOnLinux 4.2.8**
# Wine version used: 1.7.28
# Distribution used to test: openSUSE 13.2 x86_64
# MemoriesOnTV2 version used to test: 2.2.1
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="MemoriesOnTV2"
TITLE="MemoriesOnTV2"
WINEVERSION="1.7.28"

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_SetupWindow_SetID 2546
# Enable debugging
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"

# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
  POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine motv221.exe
fi

# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file.')" "$TITLE"
      POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Ronin DUSETTE Jeudi 4 Juin 2015 à 6:42
Ronin DUSETTE

Information

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

Messages

Fixing unused variable...

Differences

@@ -13,7 +13,7 @@
 BINU_SERVER="http://media.binu.com/12630290/stream"
 PREFIX="MemoriesOnTV2"
 TITLE="MemoriesOnTV2"
-WORKING_WINE_VERSION="1.7.28"
+WINEVERSION="1.7.28"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init

Nouveau code source

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# **PlayOnLinux 4.2.8**
# Wine version used: 1.7.28
# Distribution used to test: openSUSE 13.2 x86_64
# MemoriesOnTV2 version used to test: 2.2.1
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="MemoriesOnTV2"
TITLE="MemoriesOnTV2"
WINEVERSION="1.7.28"

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_SetupWindow_SetID 2546
# Enable debugging
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"

# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
  POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine motv221.exe
fi

# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file.')" "$TITLE"
      POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Réponses

petch Jeudi 4 Juin 2015 à 1:01
petch

Warning

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

Messages

Fix POL_GetSetupImages, missing POL_Wine_WaitBefore

Differences

@@ -7,7 +7,7 @@
 # Author: Ueliton
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 # Variables -------------
 AUTHOR="Ueliton"
 BINU_SERVER="http://media.binu.com/12630290/stream"
@@ -15,20 +15,19 @@
 TITLE="MemoriesOnTV2"
 WORKING_WINE_VERSION="1.7.28"
 
-POL_GetSetupImages "https://sites.google.com/site/myubuntustudio/top.png" "https://sites.google.com/site/myubuntustudio/left.png" "$TITLE"
- 
+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_SetupWindow_SetID 2546
 # Enable debugging
 POL_Debug_Init
- 
+
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
- 
+
 # Managing prefix and Wine version
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
- 
+
 # Creating Temp directory
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
@@ -39,10 +38,11 @@
 if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
   then
   POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
-  POL_SetupWindow_message "Please do not restart" "$TITLE"
+  POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
+  POL_Wine_WaitBefore "$TITLE"
   POL_Wine motv221.exe
 fi
-     
+
 # Installation Method LOCAL
 if [ "$INSTALL_METHOD" = "LOCAL" ]
   then

Nouveau code source

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# **PlayOnLinux 4.2.8**
# Wine version used: 1.7.28
# Distribution used to test: openSUSE 13.2 x86_64
# MemoriesOnTV2 version used to test: 2.2.1
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="MemoriesOnTV2"
TITLE="MemoriesOnTV2"
WORKING_WINE_VERSION="1.7.28"

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_SetupWindow_SetID 2546
# Enable debugging
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"

# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
  POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine motv221.exe
fi

# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file.')" "$TITLE"
      POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Réponses

Ueliton Mercredi 3 Juin 2015 à 21:49
Ueliton

Warning

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

Differences

@@ -0,0 +1,60 @@
+#!/usr/bin/env playonlinux-bash
+# CHANGELOG
+# **PlayOnLinux 4.2.8**
+# Wine version used: 1.7.28
+# Distribution used to test: openSUSE 13.2 x86_64
+# MemoriesOnTV2 version used to test: 2.2.1
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="MemoriesOnTV2"
+TITLE="MemoriesOnTV2"
+WORKING_WINE_VERSION="1.7.28"
+
+POL_GetSetupImages "https://sites.google.com/site/myubuntustudio/top.png" "https://sites.google.com/site/myubuntustudio/left.png" "$TITLE"
+ 
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2546
+# Enable debugging
+POL_Debug_Init
+ 
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
+ 
+# Managing prefix and Wine version
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+ 
+# Creating Temp directory
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+
+# Installation Method DOWNLOAD
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+  then
+  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
+  POL_SetupWindow_message "Please do not restart" "$TITLE"
+  POL_Wine motv221.exe
+fi
+     
+# Installation Method LOCAL
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+  then
+      cd "$HOME"
+      POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file.')" "$TITLE"
+      POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
+      POL_Wine_WaitBefore "$TITLE"
+      POL_Wine "$APP_ANSWER"
+fi
+# Delete temp directory
+POL_System_TmpDelete
+# Create a launcher
+POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# **PlayOnLinux 4.2.8**
# Wine version used: 1.7.28
# Distribution used to test: openSUSE 13.2 x86_64
# MemoriesOnTV2 version used to test: 2.2.1
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="MemoriesOnTV2"
TITLE="MemoriesOnTV2"
WORKING_WINE_VERSION="1.7.28"

POL_GetSetupImages "https://sites.google.com/site/myubuntustudio/top.png" "https://sites.google.com/site/myubuntustudio/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2546
# Enable debugging
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
 
# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
  POL_SetupWindow_message "Please do not restart" "$TITLE"
  POL_Wine motv221.exe
fi
     
# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file.')" "$TITLE"
      POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Réponses

Mercredi 3 Juin 2015 à 21:49
Sideways banner that is on the left side of the first window when script is ran:

https://drive.google.com/file/d/0ByH5JawQF0PodjhHZ25VaGRLc00/view?usp=sharing # left.png

Top corner Icon for install script:

https://sites.google.com/site/myubuntustudio/top.png
Ueliton Mercredi 3 Juin 2015 à 17:02
Ueliton

Warning

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

Messages

New edited script

Differences

@@ -0,0 +1,59 @@
+#!/usr/bin/env playonlinux-bash
+# CHANGELOG
+# **PlayOnLinux 4.2.8**
+# Wine version used: 1.7.28
+# Distribution used to test: openSUSE 13.2 x86_64
+# MemoriesOnTV2 version used to test: 2.2.1
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="MemoriesOnTV2"
+TEXT_INSTRUCTIONS="$(eval_gettext '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')"
+TITLE="MemoriesOnTV2"
+WORKING_WINE_VERSION="1.7.28"
+
+POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE"
+ 
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2546
+# Enable debugging
+POL_Debug_Init
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
+# INFO
+POL_SetupWindow_message "INFO: This install MemoriesOnTV version 2.\n\nIf you have registration code from others versions...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV3 or Memories On TV(for 4)." "$TITLE" 
+# Managing prefix and Wine version
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+# Creating Temp directory
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+
+# Installation Method DOWNLOAD
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+  then
+  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
+  POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
+  POL_Wine motv221.exe
+fi
+    
+# Installation Method LOCAL
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+  then
+      cd "$HOME"
+      POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+      POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
+      POL_Wine "$APP_ANSWER"
+fi
+# Delete temp directory
+POL_System_TmpDelete
+# Create a launcher
+POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# **PlayOnLinux 4.2.8**
# Wine version used: 1.7.28
# Distribution used to test: openSUSE 13.2 x86_64
# MemoriesOnTV2 version used to test: 2.2.1
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="MemoriesOnTV2"
TEXT_INSTRUCTIONS="$(eval_gettext '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')"
TITLE="MemoriesOnTV2"
WORKING_WINE_VERSION="1.7.28"

POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2546
# Enable debugging
POL_Debug_Init
# Presentation
POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
# INFO
POL_SetupWindow_message "INFO: This install MemoriesOnTV version 2.\n\nIf you have registration code from others versions...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV3 or Memories On TV(for 4)." "$TITLE" 
# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
  POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
  POL_Wine motv221.exe
fi
    
# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
      POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
POL_SetupWindow_Close
exit

Réponses

Mercredi 3 Juin 2015 à 17:06
Just curious; why choose the longer "WORKING_WINE_VERSION" instead of just WINEVERSION? Much more concise, and stating that it is working doesn't make sense, because if it didn't work, it wouldn't be in the script, right? haha. ;)

At the end, it should be "exit 0". If the script completes with success, "0" is the code it should throw. Next, there is no support for translations in your script. That is required:

http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_10:_Script_Translation

And the GetSetupImages URLs need to be changed to the ones used by our servers:

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

 

 Then submit the links to download the images so that we can upload them to our servers. This is required for all scripts, as we don't want 3rd party servers feeding images to users without knowing what they are. 
Ueliton Mardi 2 Juin 2015 à 22:52
Ueliton

Warning

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

Differences

@@ -0,0 +1,63 @@
+#!/usr/bin/env playonlinux-bash
+# CHANGELOG
+# **PlayOnLinux 4.2.8**
+# Wine version used: 1.7.28
+# Distribution used to test: openSUSE 13.2 x86_64
+# MemoriesOnTV2 version used to test: 2.2.1
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="Codejam2"
+TEXT_INSTRUCTIONS="\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART."
+TITLE="MemoriesOnTV2"
+WORKING_WINE_VERSION="1.7.28"
+
+POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE"
+ 
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2546
+# Enable debugging
+POL_Debug_Init
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
+# INFO
+POL_SetupWindow_message "INFO: This install MemoriesOnTV version 2.\n\nIf you have registration code from others versions...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV3 or Memories On TV(for 4 or later)." "$TITLE" 
+# Managing prefix and Wine version
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+# Creating Temp directory
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+
+# Installation Method DOWNLOAD
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+  then
+  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
+  POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
+  POL_Wine_WaitBefore "$TITLE"
+  POL_Wine motv221.exe
+  POL_Wine_WaitExit "$TITLE"
+fi
+    
+# Installation Method LOCAL
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+  then
+      cd "$HOME"
+      POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+      POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
+      POL_Wine_WaitBefore "$TITLE"
+      POL_Wine "$APP_ANSWER"
+      POL_Wine_WaitExit "$TITLE"
+fi
+# Delete temp directory
+POL_System_TmpDelete
+# Create a launcher
+POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# **PlayOnLinux 4.2.8**
# Wine version used: 1.7.28
# Distribution used to test: openSUSE 13.2 x86_64
# MemoriesOnTV2 version used to test: 2.2.1
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="Codejam2"
TEXT_INSTRUCTIONS="\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART."
TITLE="MemoriesOnTV2"
WORKING_WINE_VERSION="1.7.28"

POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2546
# Enable debugging
POL_Debug_Init
# Presentation
POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
# INFO
POL_SetupWindow_message "INFO: This install MemoriesOnTV version 2.\n\nIf you have registration code from others versions...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV3 or Memories On TV(for 4 or later)." "$TITLE" 
# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
  POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine motv221.exe
  POL_Wine_WaitExit "$TITLE"
fi
    
# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
      POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
      POL_Wine_WaitExit "$TITLE"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
POL_SetupWindow_Close
exit

Réponses

Mardi 2 Juin 2015 à 22:53
MemoriesOnTV2 Screenshots:

http://media.binu.com/12630290/stream/98566723759-750263dbb2fb8547/MemoriesOnTV2-1.png
http://media.binu.com/12630290/stream/98566723720-3b92d18aa7a6176d/MemoriesOnTV2-2.png
http://media.binu.com/12630290/stream/98566723680-72da7fd6d1302c0a/MemoriesOnTV2-3.png
Mardi 2 Juin 2015 à 22:54
The icon that will be used in the PlayOnLinux script list and the site:
http://media.binu.com/12630290/stream/98566724324-12b1e42dc0746f22/MemoriesOnTV2-22X22.png

The icon that will be used for the installed program:
http://media.binu.com/12630290/stream/98566724390-729c68884bd359ad/MemoriesOnTV2-48X48.png