PictureToTV

Informations

Creator Message
Ueliton

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 4611
Wine: 1.7.28

Feedbacks

Description

PictureToTV

Photo slideshow for the Creative

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. Let your creativity flow with MemoriesOnTV!

Site: http://www.codejam.com/slideshow/index.htm

Screenshots

MiniatureMiniatureMiniatureMiniatureMiniatureMiniature

Source code

#!/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
# PictureToTV version used to test: 1.4.5
# Author: Ueliton

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Variables
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="PictureToTV"
TITLE="PictureToTV"
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 2545

# 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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
  POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine p2tv145.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 "PictureToTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
petch Thursday 4 June 2015 at 1:12
petch
Developer

Information

This update has been approved by the team.

Message

Add missing POL_Wine_WaitBefore

Differences

@@ -8,7 +8,7 @@
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 # Variables
 AUTHOR="Ueliton"
 BINU_SERVER="http://media.binu.com/12630290/stream"
@@ -17,7 +17,7 @@
 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 2545
 
@@ -40,9 +40,11 @@
 if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
   then
   POL_Download "$BINU_SERVER/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
+  POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
+  POL_Wine_WaitBefore "$TITLE"
   POL_Wine p2tv145.exe
 fi
-    
+
 # Installation Method LOCAL
 if [ "$INSTALL_METHOD" = "LOCAL" ]
   then

New source code

#!/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
# PictureToTV version used to test: 1.4.5
# Author: Ueliton

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Variables
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="PictureToTV"
TITLE="PictureToTV"
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 2545

# 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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
  POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine p2tv145.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 "PictureToTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Ronin DUSETTE Wednesday 3 June 2015 at 21:04
Ronin DUSETTE
Admin

Warning

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

Message

My proposed changes. I didn't test it, but I corrected the things that I said were wrong the last, like, 5 times. hahaha. :D

Please test this and, if it works, leave it as-is, take new screenshots, and use this as a base for the rest of your scripts. 

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
+# PictureToTV version used to test: 1.4.5
+# Author: Ueliton
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="PictureToTV"
+TITLE="PictureToTV"
+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 2545
+
+# 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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
+  POL_Wine p2tv145.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 "PictureToTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/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
# PictureToTV version used to test: 1.4.5
# Author: Ueliton

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="PictureToTV"
TITLE="PictureToTV"
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 2545

# 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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
  POL_Wine p2tv145.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 "PictureToTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Wednesday 3 June 2015 at 21:07
Also, please stop up-voting your own script. lol. It isn't testing good, so those are false ratings. ;)
Wednesday 3 June 2015 at 21:08
Are working
Wednesday 3 June 2015 at 21:10
Ok. So, take new screenshots of it working and post the links here, and we can update them with screenshots from a Linux system, instead of Windows. You should be able to, more or less, apply that script as a template to the rest of your programs, obviously just changing what is needed. I hope this helps. Once the screenshots are up and we know it is good, I will approve this script, and then we can knock out the other ones. :D
Wednesday 3 June 2015 at 21:14
These images are on a Linux. The PictureToTV versions, and MemoriesOnTv2, hide the icon of Wine.
Wednesday 3 June 2015 at 21:19
Oh, ok. It just really looked like the top bar of Windows' windows. lol.
Wednesday 3 June 2015 at 21:33
Screeshots:

http://media.binu.com/12630290/stream/98566640238-b9f35816f460ab99/PictureToTV6.png

http://media.binu.com/12630290/stream/98566640258-2812e5cf6d8f21d6/PictureToTV5.png

http://media.binu.com/12630290/stream/98566640280-1fbcf885f8f5c9af/PictureToTV4.png

It was necessary to cut the images in full screen, the icon of Wine is hidden.
Ueliton Wednesday 3 June 2015 at 20:59
Ueliton

Warning

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

Message

One last try.

Differences

@@ -0,0 +1,54 @@
+#!/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
+# PictureToTV version used to test: 1.4.5
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="PictureToTV"
+TITLE="PictureToTV"
+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 2545
+# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
+  POL_SetupWindow_message "Please do not restart" "$TITLE"
+  POL_Wine p2tv145.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_Wine "$APP_ANSWER"
+fi
+# Delete temp directory
+POL_System_TmpDelete
+# Create a launcher
+POL_Shortcut "PictureToTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/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
# PictureToTV version used to test: 1.4.5
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="PictureToTV"
TITLE="PictureToTV"
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 2545
# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
  POL_SetupWindow_message "Please do not restart" "$TITLE"
  POL_Wine p2tv145.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_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "PictureToTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Wednesday 3 June 2015 at 21:03
Nope. I cannot be more clear, so I am going to do it for you, then you can compare my script to this one.
Ueliton Wednesday 3 June 2015 at 20:35
Ueliton

Warning

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

Differences

@@ -0,0 +1,112 @@
+#!/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"
+# 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 #!/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
+# PictureToTV version used to test: 1.4.5
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="PictureToTV"
+TITLE="PictureToTV"
+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 2545
+# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
+  POL_Wine p2tv145.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 "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 "PictureToTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit 0 "$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 "Please do not restart." "$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

New source code

#!/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"
# 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 #!/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
# PictureToTV version used to test: 1.4.5
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="PictureToTV"
TITLE="PictureToTV"
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 2545
# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
  POL_Wine p2tv145.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 "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 "PictureToTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0 "$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 "Please do not restart." "$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

Replies

Wednesday 3 June 2015 at 20:41
Ok, so again; you need to slow down. I can obviously tell that this was not tested at all. That was half of a script that was not deleted, and you still did not add the translation support. I have posted the links, explained many times what the problem is. I am not trying to be mean, but please do not post any more updates until you have read the docs again and have tested your scripts thoroughly. You are missing some basic, but essential things that are well-covered in the docs. Please make sure you have hard copies of your scripts saved on your system, as these will not get approved, and will eventually be deleted unless the rules and wiki docs are followed.

Please, go read the wiki docs again, and test your scripts, or I will have to delete them. I don't want to do that, but we simply cannot approve scripts without following certain standards. Thanks.
Wednesday 3 June 2015 at 20:41
What's wrong now? I've read the wiki several times, then changed posts for the simplest possible.
Wednesday 3 June 2015 at 20:44
Look at your script... you copy/pasted a script over half of another script. You also still failed to implement translation support, which is covered in the scripting documentation, in the wiki, which I have posted links to a few times already. Look at other people's scripts that are popular, too. You will see differences.
Wednesday 3 June 2015 at 20:45
http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_10:_Script_Translation
Wednesday 3 June 2015 at 20:46
Hô! Sorry, i dont see this duplicate.
Wednesday 3 June 2015 at 20:48
Click the New Source Code button right above this post, and look real carefully...
Ueliton Wednesday 3 June 2015 at 20:26
Ueliton

Warning

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

Differences

@@ -0,0 +1,56 @@
+#!/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
+# PictureToTV version used to test: 1.4.5
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="PictureToTV"
+TITLE="PictureToTV"
+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 2545
+# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
+  POL_SetupWindow_message "\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART." "$TITLE"
+  POL_Wine p2tv145.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 "\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART." "$TITLE"
+      POL_Wine_WaitBefore "$TITLE"
+      POL_Wine "$APP_ANSWER"
+fi
+# Delete temp directory
+POL_System_TmpDelete
+# Create a launcher
+POL_Shortcut "PictureToTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/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
# PictureToTV version used to test: 1.4.5
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="PictureToTV"
TITLE="PictureToTV"
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 2545
# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
  POL_SetupWindow_message "\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART." "$TITLE"
  POL_Wine p2tv145.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 "\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART." "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "PictureToTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Wednesday 3 June 2015 at 20:27
Still missing translation support. I recommend slowing down a bit, and re-reading the docs, otherwise we are just going to keep going in circles. lol. ;)
Ueliton Wednesday 3 June 2015 at 20:17
Ueliton

Warning

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

Differences

@@ -0,0 +1,56 @@
+#!/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
+# PictureToTV version used to test: 1.4.5
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="PictureToTV"
+TITLE="PictureToTV"
+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 2545
+# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
+  POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
+  POL_Wine p2tv145.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 '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')" "$TITLE"
+      POL_Wine_WaitBefore "$TITLE"
+      POL_Wine "$APP_ANSWER"
+fi
+# Delete temp directory
+POL_System_TmpDelete
+# Create a launcher
+POL_Shortcut "PictureToTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/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
# PictureToTV version used to test: 1.4.5
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="PictureToTV"
TITLE="PictureToTV"
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 2545
# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
  POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
  POL_Wine p2tv145.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 '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "PictureToTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Wednesday 3 June 2015 at 20:18
Perfect. Looks good. Make sure to apply that to the rest of your scripts, as well.
Wednesday 3 June 2015 at 20:19
Sideways banner that is on the left side of the first window when script is ran:

https://sites.google.com/site/myubuntustudio/left.png

Top corner Icon for install script:

https://sites.google.com/site/myubuntustudio/top.png
Wednesday 3 June 2015 at 20:19
Now we have to get "eval_gettext" in the POL_SetupWindow_message" statements.
Wednesday 3 June 2015 at 20:26
Wait. Are you even testing these? You have this:

POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
But you never declared $TEXT_INSTRUCTIONS... This is showing me that this script and possibly the others are not tested very well. Please read the scripter's documentation again:

http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_1:_Getting_to_know_Bash

as well as read this:

http://wiki.playonlinux.com/index.php/How_to_Contribute_a_Script

In all of the scripts posted, there are a lot of random things missing or incorrect that are covered in the docs. Please check them out again (especially the function reference), as well as test the scripts working correctly (no unused variables, proper use of functions and variables, translation support, etc.).
Ueliton Wednesday 3 June 2015 at 20:05
Ueliton

Warning

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

Differences

@@ -0,0 +1,56 @@
+#!/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
+# PictureToTV version used to test: 1.4.5
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="PictureToTV"
+TITLE="PictureToTV"
+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 2545
+# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
+  POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
+  POL_Wine p2tv145.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 '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')" "$TITLE"
+      POL_Wine_WaitBefore "$TITLE"
+      POL_Wine "$APP_ANSWER"
+fi
+# Delete temp directory
+POL_System_TmpDelete
+# Create a launcher
+POL_Shortcut "PictureToTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/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
# PictureToTV version used to test: 1.4.5
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="PictureToTV"
TITLE="PictureToTV"
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 2545
# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
  POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
  POL_Wine p2tv145.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 '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "PictureToTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Wednesday 3 June 2015 at 20:06
Sideways banner that is on the left side of the first window when script is ran: https://sites.google.com/site/myubuntustudio/left.png
Wednesday 3 June 2015 at 20:06
Top corner Icon for install script: https://sites.google.com/site/myubuntustudio/top.png
Wednesday 3 June 2015 at 20:08
So .. All right now?
Wednesday 3 June 2015 at 20:10
Ok. So, again. The line needs to point to OUR servers. Replace line 18 with:

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

That, and only that should be there. Images cannot come from other servers but ours for the safety of our users.
Wednesday 3 June 2015 at 20:12
You will see this same pattern in every other script we approved (at least that I can think of), such as the link to the Photoshop script. This line can literally be copy/pasted, as is, and when we upload the images from your server to ours, they will be available.

Also, just to save time and more back-and-forth; this should be applied to all of the scripts that you have contributed. :D
Ueliton Wednesday 3 June 2015 at 17:05
Ueliton

Warning

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

Message

New edition

Differences

@@ -0,0 +1,57 @@
+#!/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
+# PictureToTV version used to test: 1.4.5
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="PictureToTV"
+TEXT_INSTRUCTIONS="$(eval_gettext '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')"
+TITLE="PictureToTV"
+WORKING_WINE_VERSION="1.7.28"
+
+POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566724067-7c590f01490190db/left.png" "$TITLE"
+ 
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2545
+# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
+  POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
+  POL_Wine p2tv145.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_WaitBefore "$TITLE"
+      POL_Wine "$APP_ANSWER"
+fi
+# Delete temp directory
+POL_System_TmpDelete
+# Create a launcher
+POL_Shortcut "PictureToTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/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
# PictureToTV version used to test: 1.4.5
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="PictureToTV"
TEXT_INSTRUCTIONS="$(eval_gettext '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')"
TITLE="PictureToTV"
WORKING_WINE_VERSION="1.7.28"

POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566724067-7c590f01490190db/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2545
# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
  POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
  POL_Wine p2tv145.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_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "PictureToTV.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Wednesday 3 June 2015 at 17:13
Again, GetSetupImages should point to our servers. Use that on ALL of your scripts. It won't get approved without it. lol.

and "exit" should be "exit 0" at the end of the script.

Ueliton Tuesday 2 June 2015 at 22:56
Ueliton

Warning

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

Differences

@@ -0,0 +1,62 @@
+#!/usr/bin/env playonlinux-bash
+# CHANGELOG
+# Changed ID
+# **PlayOnLinux 4.2.8**
+# Wine version used: 1.7.28
+# Distribution used to test: openSUSE 13.2 x86_64
+# PictureToTV version used to test: 1.4.5
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="Codejam1"
+TEXT_INSTRUCTIONS="\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART."
+TITLE="PictureToTV"
+WORKING_WINE_VERSION="1.7.28"
+
+POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566724067-7c590f01490190db/left.png" "$TITLE"
+ 
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2545
+# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
+  POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
+  POL_Wine_WaitBefore "$TITLE"
+  POL_Wine p2tv145.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 "PictureToTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

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

POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566724067-7c590f01490190db/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2545
# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
  POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine p2tv145.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 "PictureToTV.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Wednesday 3 June 2015 at 4:23
Like the other script, I really think that the setupimages should be our server's URLs, and not a third party, and when the resources are uploaded to our server, they will work. We can't know what is coming from another server, so it, in my opinion, makes it a security risk (like, what is to stop someone from putting some pr0n or something in the setupimages with a legit name, and then a user goes to run the installer, only to be presented with something other than the setup images.) Know that I am not saying that you would do that at all. lol. Far from it, but it is something that could happen, and we wouldn't know until a user reports it to us. It is something to consider. Sorry for the post spam. lol. :)
Wednesday 3 June 2015 at 4:35
Yes, I intended to switch the URLs to http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg and http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg later (I already copied the resources)
Wednesday 3 June 2015 at 5:12
Ok. :)
Wednesday 3 June 2015 at 16:14
Hosted images can not be changed, only deleted, this server does not allow changes.
Wednesday 3 June 2015 at 16:20
The script needs to be changed to use the links pointing to our server, not the one currently listed in the script. petch said that he was going to take care of it, but in the future, the setupimages URLs should use the ones that petch posted, and no others. :)
Ueliton Tuesday 2 June 2015 at 22:48
Ueliton

Warning

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

Differences

@@ -0,0 +1,62 @@
+#!/usr/bin/env playonlinux-bash
+# CHANGELOG
+# Changed ID
+# **PlayOnLinux 4.2.8**
+# Wine version used: 1.7.28
+# Distribution used to test: openSUSE 13.2 x86_64
+# PictureToTV version used to test: 1.4.5
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="Codejam1"
+TEXT_INSTRUCTIONS="\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART."
+TITLE="PictureToTV"
+WORKING_WINE_VERSION="1.7.28"
+
+POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566724067-7c590f01490190db/left.png" "$TITLE"
+ 
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2541
+# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
+  POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
+  POL_Wine_WaitBefore "$TITLE"
+  POL_Wine p2tv145.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 "PictureToTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

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

POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566724067-7c590f01490190db/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2541
# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
  POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine p2tv145.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 "PictureToTV.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Ueliton Tuesday 2 June 2015 at 22:42
Ueliton

Warning

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

Differences

@@ -0,0 +1,61 @@
+#!/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
+# PictureToTV version used to test: 1.4.5
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="Codejam1"
+TEXT_INSTRUCTIONS="\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART."
+TITLE="PictureToTV"
+WORKING_WINE_VERSION="1.7.28"
+
+POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566724067-7c590f01490190db/left.png" "$TITLE"
+ 
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2531
+# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
+  POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
+  POL_Wine_WaitBefore "$TITLE"
+  POL_Wine p2tv145.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 "PictureToTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/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
# PictureToTV version used to test: 1.4.5
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="Codejam1"
TEXT_INSTRUCTIONS="\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART."
TITLE="PictureToTV"
WORKING_WINE_VERSION="1.7.28"

POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566724067-7c590f01490190db/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2531
# 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 "$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/98566922764-6b5754d737784b51/p2tv145.exe" "de0d261d897450852c5c0be79036b595"
  POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine p2tv145.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 "PictureToTV.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Tuesday 2 June 2015 at 22:43
This are the screenshots: http://media.binu.com/12630290/stream/98566723951-517f24c02e620d5a/PictureToTvscreenshot1.png
http://media.binu.com/12630290/stream/98566723907-37f65c068b7723cd/PictureToTvscreenshot2.png
http://media.binu.com/12630290/stream/98566723861-bf201d5407a6509f/PictureToTvscreenshot3.png
Tuesday 2 June 2015 at 22:45
The icon that will be used in the PlayOnLinux script list and the site:
http://media.binu.com/12630290/stream/98566724141-3ff31b21755de79e/PictureToTV-22X22.png

The icon that will be used for the installed program:
http://media.binu.com/12630290/stream/98566724193-6e7d5d259be7bf56/PictureToTV-48X48.png