Orbitron

Informations

Creator Message
piotr58 Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 7560
Wine: 3.0

Feedbacks

Description

Orbitron is a satellite tracking system for radio amateur and observing purposes. It's also used by weather professionals, satellite communication users, astronomers, UFO hobbyist and even astrologers. Website.

Screenshots

MiniatureMiniature

Source code

#!/bin/bash
#
# Date : (2014-08-16 14-35)
# Last revision : see changelog
# Wine version used : 3.0
# Distribution used to test : Mac OS X 10.9.4
# Author : piotr58
#
# CHANGELOG
# [piotr58] (2014-08-17 02-08)
#   Correction to create shortcut. Use a local directory to launch software and
#   install it.
# [piotr58] (2014-08-17 12-08)
#   Correction to use TMPDIR to launch software (it's more clean).
# [piotr58] (2014-08-17 14-50)
#   Correction to use TMPDIR to launch software (it's more clean).
# [Tutul] (2014-08-17 15-09)
#   A little correction for the script (nothing really important, juste for guidelines)
# [Dadu042] (2019-12-22)
#   Wine 1.7.12 (in fact it was system's version) -> 3.0
#   Add software category.
#   Add link to the user guide.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Orbitron"
PREFIX="Orbitron"
export WINEDEBUG="-all"
 
# Starting the script
POL_SetupWindow_Init
POL_SetupWindow_SetID 2224
POL_Debug_Init
POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Sebastian Stoff" "http://www.stoff.pl" "piotr58" "$TITLE"

# Setting Wine Version
WORKING_WINE_VERSION="3.0"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ] ; then
        POL_System_TmpCreate "$PREFIX"
        cd "$POL_System_TmpDir"
        POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
        SETUP_EXE="orbitron.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ] ; then
        POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
POL_Wine_WaitBefore "$TITLE"
POL_Wine $SETUP_EXE
POL_Wine_WaitExit "$TITLE"

 
POL_System_TmpDelete
cd "$WINEPREFIX/drive_c/Program Files/Orbitron"
POL_Shortcut "Orbitron.exe" "$TITLE" "" "" "Science;"
POL_Shortcut_Document "$TITLE" "cnt.htm"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 22 December 2019 at 11:07
Dadu042

Information

This update has been approved by the team.

Differences

@@ -17,7 +17,7 @@
 # [Tutul] (2014-08-17 15-09)
 #   A little correction for the script (nothing really important, juste for guidelines)
 # [Dadu042] (2019-12-22)
-#   Wine 1.7.12 -> 3.0.0
+#   Wine 1.7.12 (in fact it was system's version) -> 3.0
 #   Add software category.
 #   Add link to the user guide.
 
@@ -35,7 +35,7 @@
 POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Sebastian Stoff" "http://www.stoff.pl" "piotr58" "$TITLE"
 
 # Setting Wine Version
-WORKING_WINE_VERSION="3.0.0"
+WORKING_WINE_VERSION="3.0"
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

New source code

#!/bin/bash
#
# Date : (2014-08-16 14-35)
# Last revision : see changelog
# Wine version used : 3.0
# Distribution used to test : Mac OS X 10.9.4
# Author : piotr58
#
# CHANGELOG
# [piotr58] (2014-08-17 02-08)
#   Correction to create shortcut. Use a local directory to launch software and
#   install it.
# [piotr58] (2014-08-17 12-08)
#   Correction to use TMPDIR to launch software (it's more clean).
# [piotr58] (2014-08-17 14-50)
#   Correction to use TMPDIR to launch software (it's more clean).
# [Tutul] (2014-08-17 15-09)
#   A little correction for the script (nothing really important, juste for guidelines)
# [Dadu042] (2019-12-22)
#   Wine 1.7.12 (in fact it was system's version) -> 3.0
#   Add software category.
#   Add link to the user guide.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Orbitron"
PREFIX="Orbitron"
export WINEDEBUG="-all"
 
# Starting the script
POL_SetupWindow_Init
POL_SetupWindow_SetID 2224
POL_Debug_Init
POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Sebastian Stoff" "http://www.stoff.pl" "piotr58" "$TITLE"

# Setting Wine Version
WORKING_WINE_VERSION="3.0"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ] ; then
        POL_System_TmpCreate "$PREFIX"
        cd "$POL_System_TmpDir"
        POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
        SETUP_EXE="orbitron.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ] ; then
        POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
POL_Wine_WaitBefore "$TITLE"
POL_Wine $SETUP_EXE
POL_Wine_WaitExit "$TITLE"

 
POL_System_TmpDelete
cd "$WINEPREFIX/drive_c/Program Files/Orbitron"
POL_Shortcut "Orbitron.exe" "$TITLE" "" "" "Science;"
POL_Shortcut_Document "$TITLE" "cnt.htm"
 
POL_SetupWindow_Close
exit 0

Replies

Edited by Dadu042

Tutul Sunday 17 August 2014 at 15:10
Tutul

Warning

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

Message

A little correction :

- Set a wine version is more sure (for me, but I'm not a perfect developer)

- POL_SetupWindow_SetID 2224 (the ID of the script, you can see it on the url)

- A little optimisation of the installation (with the setup) :)

Differences

@@ -25,7 +25,6 @@
 export WINEDEBUG="-all"
  
 # Starting the script
-POL_GetSetupImages "http://www.stoff.pl/gfx/orbitron.gif" "orbitron.gif" "$TITLE" #No image uploaded for now. The logo is on http://www.stoff.pl/gfx/orbitron.gif
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2224
 POL_Debug_Init

New source code

#!/bin/bash

# CHANGELOG
# [piotr58] (2014-08-17 02-08)
#   Correction to create shortcut. Use a local directory to launch software and
#   install it.
# [piotr58] (2014-08-17 12-08)
#   Correction to use TMPDIR to launch software (it's more clean).
# [piotr58] (2014-08-17 14-50)
#   Correction to use TMPDIR to launch software (it's more clean).
# [Tutul] (2014-08-17 15-09)
#   A little correction for the script (nothing really important, juste for guidelines)

# Date : (2014-08-16 14-35)
# Last revision : (2014-08-17 14-50)
# Wine version used : 1.7.3
# Distribution used to test : Mac OS X 10.9.4
# Author : piotr58

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Orbitron"
PREFIX="Orbitron"
export WINEDEBUG="-all"
 
# Starting the script
POL_SetupWindow_Init
POL_SetupWindow_SetID 2224
POL_Debug_Init
POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Sebastian Stoff" "http://www.stoff.pl" "piotr58" "$TITLE"

# Setting Wine Version
WORKING_WINE_VERSION="1.7.12"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ] ; then
        POL_System_TmpCreate "$PREFIX"
        cd "$POL_System_TmpDir"
        POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
        SETUP_EXE="orbitron.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ] ; then
        POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
POL_Wine_WaitBefore "$TITLE"
POL_Wine $SETUP_EXE
POL_Wine_WaitExit "$TITLE"

 
POL_System_TmpDelete
cd "$WINEPREFIX/drive_c/Program Files/Orbitron"
POL_Shortcut "Orbitron.exe" "$TITLE"
 
POL_SetupWindow_Close
exit 0

Replies

Anonymous
Sunday 17 August 2014 at 15:11
Remove GetSetupImages, they do not have the good size
Anonymous
Sunday 17 August 2014 at 16:39
Thanks!
Sunday 17 August 2014 at 17:06
sorry I miss it

Edited by Tutul

piotr58 Sunday 17 August 2014 at 14:54
piotr58 Anonymous

Warning

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

Message

Hi,

My apologies for the successives tests. This version is now clean and really work properly smiley

Differences

@@ -6,9 +6,11 @@
 #   install it.
 # [piotr58] (2014-08-17 12-08)
 #   Correction to use TMPDIR to launch software (it's more clean).
+# [piotr58] (2014-08-17 14-50)
+#   Correction to use TMPDIR to launch software (it's more clean).
 
 # Date : (2014-08-16 14-35)
-# Last revision : (2014-08-17 12-08)
+# Last revision : (2014-08-17 14-50)
 # Wine version used : System (1.7.3 work also)
 # Distribution used to test : Mac OS X 10.9.4
 # Author : piotr58
@@ -28,10 +30,10 @@
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
-POL_System_TmpCreate "$PREFIX"
 
 POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
 if [ "$INSTALL_METHOD" = "DOWNLOAD" ] ; then
+	POL_System_TmpCreate "$PREFIX"
 	cd "$POL_System_TmpDir"
 	POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
 	POL_Wine "orbitron.exe"

New source code

#!/bin/bash

# CHANGELOG
# [piotr58] (2014-08-17 02-08)
#   Correction to create shortcut. Use a local directory to launch software and
#   install it.
# [piotr58] (2014-08-17 12-08)
#   Correction to use TMPDIR to launch software (it's more clean).
# [piotr58] (2014-08-17 14-50)
#   Correction to use TMPDIR to launch software (it's more clean).

# Date : (2014-08-16 14-35)
# Last revision : (2014-08-17 14-50)
# Wine version used : System (1.7.3 work also)
# Distribution used to test : Mac OS X 10.9.4
# Author : piotr58

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Orbitron"
PREFIX="Orbitron"
export WINEDEBUG="-all"
 
# Starting the script
POL_GetSetupImages "http://www.stoff.pl/gfx/orbitron.gif" "orbitron.gif" "$TITLE" No image uploaded for now. The logo is on http://www.stoff.pl/gfx/orbitron.gif
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Sebastian Stoff" "http://www.stoff.pl" "piotr58" "Orbitron"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ] ; then
        POL_System_TmpCreate "$PREFIX"
        cd "$POL_System_TmpDir"
        POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
        POL_Wine "orbitron.exe"
        POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
elif [ "$INSTALL_METHOD" = "LOCAL" ] ; then
        POL_SetupWindow_browse "Please select the installation file to run." "Orbitron installation"
        POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
        POL_Wine start /unix "$APP_ANSWER"
fi
 
POL_System_TmpDelete
cd "$WINEPREFIX/drive_c/Program Files/Orbitron"
POL_Shortcut "Orbitron.exe" "Orbitron"
 
POL_SetupWindow_Close
exit 0

Replies

piotr58 Sunday 17 August 2014 at 14:17
piotr58 Anonymous

Warning

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

Message

This is, I hope, the definitive install script :-)

Differences

@@ -1,7 +1,15 @@
 #!/bin/bash
+
+# CHANGELOG
+# [piotr58] (2014-08-17 02-08)
+#   Correction to create shortcut. Use a local directory to launch software and
+#   install it.
+# [piotr58] (2014-08-17 12-08)
+#   Correction to use TMPDIR to launch software (it's more clean).
+
 # Date : (2014-08-16 14-35)
-# Last revision : (2014-08-16 14-35)
-# Wine version used : 1.7.3
+# Last revision : (2014-08-17 12-08)
+# Wine version used : System (1.7.3 work also)
 # Distribution used to test : Mac OS X 10.9.4
 # Author : piotr58
 
@@ -9,34 +17,34 @@
 source "$PLAYONLINUX/lib/sources"
   
 TITLE="Orbitron"
-PREFIX="Orbitron"in
+PREFIX="Orbitron"
 export WINEDEBUG="-all"
  
-# Presentation
+# Starting the script
+POL_GetSetupImages "http://www.stoff.pl/gfx/orbitron.gif" "orbitron.gif" "$TITLE" No image uploaded for now. The logo is on http://www.stoff.pl/gfx/orbitron.gif
 POL_SetupWindow_Init
 POL_Debug_Init
-POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Orbitron" "http://www.stoff.pl" "piotr58" "Sebastian Stoff"
-  
+POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Sebastian Stoff" "http://www.stoff.pl" "piotr58" "Orbitron"
+
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
- 
-POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-if [ "$INSTALL_METHOD" = "LOCAL" ]
-then
-    POL_SetupWindow_browse "Please select the installation file to run." "Orbitron installation"
-    POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
-    POL_Wine start /unix "$APP_ANSWER"
-elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
-then
-    cd "$POL_System_TmpDir"
-    POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
-    POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
-    POL_Wine start /unix "$POL_System_TmpDir/orbitron.exe"
+POL_System_TmpCreate "$PREFIX"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ] ; then
+	cd "$POL_System_TmpDir"
+	POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
+	POL_Wine "orbitron.exe"
+	POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
+elif [ "$INSTALL_METHOD" = "LOCAL" ] ; then
+	POL_SetupWindow_browse "Please select the installation file to run." "Orbitron installation"
+	POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
+	POL_Wine start /unix "$APP_ANSWER"
 fi
  
 POL_System_TmpDelete
- 
-POL_Shortcut "orbitron.exe" "Orbitron"
+cd "$WINEPREFIX/drive_c/Program Files/Orbitron"
+POL_Shortcut "Orbitron.exe" "Orbitron"
  
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash

# CHANGELOG
# [piotr58] (2014-08-17 02-08)
#   Correction to create shortcut. Use a local directory to launch software and
#   install it.
# [piotr58] (2014-08-17 12-08)
#   Correction to use TMPDIR to launch software (it's more clean).

# Date : (2014-08-16 14-35)
# Last revision : (2014-08-17 12-08)
# Wine version used : System (1.7.3 work also)
# Distribution used to test : Mac OS X 10.9.4
# Author : piotr58

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Orbitron"
PREFIX="Orbitron"
export WINEDEBUG="-all"
 
# Starting the script
POL_GetSetupImages "http://www.stoff.pl/gfx/orbitron.gif" "orbitron.gif" "$TITLE" No image uploaded for now. The logo is on http://www.stoff.pl/gfx/orbitron.gif
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Sebastian Stoff" "http://www.stoff.pl" "piotr58" "Orbitron"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
POL_System_TmpCreate "$PREFIX"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ] ; then
        cd "$POL_System_TmpDir"
        POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
        POL_Wine "orbitron.exe"
        POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
elif [ "$INSTALL_METHOD" = "LOCAL" ] ; then
        POL_SetupWindow_browse "Please select the installation file to run." "Orbitron installation"
        POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
        POL_Wine start /unix "$APP_ANSWER"
fi
 
POL_System_TmpDelete
cd "$WINEPREFIX/drive_c/Program Files/Orbitron"
POL_Shortcut "Orbitron.exe" "Orbitron"
 
POL_SetupWindow_Close
exit 0

Replies

Anonymous
Sunday 17 August 2014 at 14:40
Thank you! While this script will work, you could consider following our guidelines: Each POL_SetupWindows command should use the TITLE variable as title, and you could use POL_Wine_WaitBefore "$TITLE" instead of POL_SetupWindows_wait.
piotr58 Sunday 17 August 2014 at 2:13
piotr58 Anonymous

Warning

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

Message

This script work.

I dont understand why tmpdir doesn't work. So I create a directory to lauch file and install the software and remove it after.

Don't lauch the software in installation.

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2014-08-16 14-35)
-# Last revision : (2014-08-16 14-35)
-# Wine version used : 1.7.3
+# Last revision : (2014-08-17 02-08)
+# Wine version used : System (1.7.3 ?)
 # Distribution used to test : Mac OS X 10.9.4
 # Author : piotr58
 
@@ -9,34 +9,35 @@
 source "$PLAYONLINUX/lib/sources"
   
 TITLE="Orbitron"
-PREFIX="Orbitron"in
+PREFIX="Orbitron"
 export WINEDEBUG="-all"
  
 # Presentation
 POL_SetupWindow_Init
 POL_Debug_Init
-POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Orbitron" "http://www.stoff.pl" "piotr58" "Sebastian Stoff"
+POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Sebastian Stoff" "http://www.stoff.pl" "piotr58" "Orbitron"
   
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
  
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-if [ "$INSTALL_METHOD" = "LOCAL" ]
-then
-    POL_SetupWindow_browse "Please select the installation file to run." "Orbitron installation"
-    POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
-    POL_Wine start /unix "$APP_ANSWER"
-elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
-then
-    cd "$POL_System_TmpDir"
-    POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
-    POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
-    POL_Wine start /unix "$POL_System_TmpDir/orbitron.exe"
+if [ "$INSTALL_METHOD" = "LOCAL" ] ; then
+	POL_SetupWindow_browse "Please select the installation file to run." "Orbitron installation"
+	POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
+	POL_Wine start /unix "$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ] ; then
+	cd "$WINEPREFIX/drive_c"
+	mkdir -p orbitron
+	cd orbitron
+	POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
+	POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
+	POL_Wine "orbitron.exe"
+	cd ..
+	rm -Rf "$WINEPREFIX/drive_c/orbitron"
 fi
  
-POL_System_TmpDelete
- 
-POL_Shortcut "orbitron.exe" "Orbitron"
+cd "$WINEPREFIX/drive_c/Program Files/Orbitron"
+POL_Shortcut "Orbitron.exe" "Orbitron"
  
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-08-16 14-35)
# Last revision : (2014-08-17 02-08)
# Wine version used : System (1.7.3 ?)
# Distribution used to test : Mac OS X 10.9.4
# Author : piotr58

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Orbitron"
PREFIX="Orbitron"
export WINEDEBUG="-all"
 
# Presentation
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Sebastian Stoff" "http://www.stoff.pl" "piotr58" "Orbitron"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ] ; then
        POL_SetupWindow_browse "Please select the installation file to run." "Orbitron installation"
        POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
        POL_Wine start /unix "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ] ; then
        cd "$WINEPREFIX/drive_c"
        mkdir -p orbitron
        cd orbitron
        POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
        POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
        POL_Wine "orbitron.exe"
        cd ..
        rm -Rf "$WINEPREFIX/drive_c/orbitron"
fi
 
cd "$WINEPREFIX/drive_c/Program Files/Orbitron"
POL_Shortcut "Orbitron.exe" "Orbitron"
 
POL_SetupWindow_Close
exit 0

Replies

Anonymous
Sunday 17 August 2014 at 2:22
I think that you forgot POL_System_TmpCreate
Anonymous
Sunday 17 August 2014 at 2:24
(More info here: http://www.playonlinux.com/en/dev-documentation-6.html)
Anonymous
Sunday 17 August 2014 at 14:16
Thanks. Its my first POM script. Is it a documentation of all "POL_" commands?
piotr58 Saturday 16 August 2014 at 14:41
piotr58 Anonymous

Warning

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

Message

I purpose this install script but I don't know how to use it and how to modify description

Differences

@@ -0,0 +1,42 @@
+#!/bin/bash
+# Date : (2014-08-16 14-35)
+# Last revision : (2014-08-16 14-35)
+# Wine version used : 1.7.3
+# Distribution used to test : Mac OS X 10.9.4
+# Author : piotr58
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Orbitron"
+PREFIX="Orbitron"in
+export WINEDEBUG="-all"
+ 
+# Presentation
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Orbitron" "http://www.stoff.pl" "piotr58" "Sebastian Stoff"
+  
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+ 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "Please select the installation file to run." "Orbitron installation"
+    POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
+    POL_Wine start /unix "$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
+    POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
+    POL_Wine start /unix "$POL_System_TmpDir/orbitron.exe"
+fi
+ 
+POL_System_TmpDelete
+ 
+POL_Shortcut "orbitron.exe" "Orbitron"
+ 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-08-16 14-35)
# Last revision : (2014-08-16 14-35)
# Wine version used : 1.7.3
# Distribution used to test : Mac OS X 10.9.4
# Author : piotr58

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Orbitron"
PREFIX="Orbitron"in
export WINEDEBUG="-all"
 
# Presentation
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "Orbitron - Satellite Tracking System" "Orbitron" "http://www.stoff.pl" "piotr58" "Sebastian Stoff"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "Orbitron installation"
    POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
    POL_Wine start /unix "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://www.stoff.pl/orbitron/files/orbitron.exe"
    POL_SetupWindow_wait "Installation in progress." "Orbitron installation"
    POL_Wine start /unix "$POL_System_TmpDir/orbitron.exe"
fi
 
POL_System_TmpDelete
 
POL_Shortcut "orbitron.exe" "Orbitron"
 
POL_SetupWindow_Close
exit 0

Replies

Saturday 16 August 2014 at 15:48
When you click on "contribute" you can see a section to expand : I want to submit an improvement.

Edited by Tinou

piotr58 Saturday 16 August 2014 at 13:40
piotr58 Anonymous

Message

I iforgot the link to launch orbitron : http://www.stoff.pl

Replies

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