Apple AirPort Utility

Informations

Créateur Messages
endorama

Information

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

Informations

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

Retours d'expérience

Description

AirPort Utility allows you to configure and manage AirPort Express Access Point.

See https://support.apple.com/kb/DL1547

Code source

#!/usr/bin/env playonlinux-basho
#
# Date : (2015-26-05 18-47)
# Last revision : (2015-26-05 18-47)
# Wine version used : 1.7.17
# Distribution used to test : Ubuntu 14.04
# Author : endorama
   
# CHANGELOG
# [endorama] (2015-26-05 16-06)
#    First implementation

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

PREFIX="AppleAirPortUtility"
TITLE="Apple AirPort Utility"

POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Apple" "https://support.apple.com/kb/DL1547" "Edoardo Tenani" "$PREFIX"

POL_SetupWindow_message "$(eval_gettext 'For more information see') https://appdb.winehq.org/objectManager.php?sClass=version&iId=27711&iTestingId=84252" "$TITLE"

POL_System_TmpCreate "$PREFIX"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    cd "$POL_System_TmpDir"
    POL_Download "https://support.apple.com/downloads/DL1547/en_US/AirPortSetup.exe" "1b7a3379b0e4097419b55465dd35aa57"
    INSTALLER="$POL_System_TmpDir/AirPortSetup.exe"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate

Set_OS "win7"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete
 
POL_Shortcut "APUtil.exe" "$TITLE"
  
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
endorama Mardi 26 Mai 2015 à 18:47
endorama

Information

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

Messages

Script updated with gettext

Differences

@@ -0,0 +1,52 @@
+#!/usr/bin/env playonlinux-basho
+#
+# Date : (2015-26-05 18-47)
+# Last revision : (2015-26-05 18-47)
+# Wine version used : 1.7.17
+# Distribution used to test : Ubuntu 14.04
+# Author : endorama
+   
+# CHANGELOG
+# [endorama] (2015-26-05 16-06)
+#    First implementation
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="AppleAirPortUtility"
+TITLE="Apple AirPort Utility"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+  
+POL_SetupWindow_presentation "$TITLE" "Apple" "https://support.apple.com/kb/DL1547" "Edoardo Tenani" "$PREFIX"
+
+POL_SetupWindow_message "$(eval_gettext 'For more information see') https://appdb.winehq.org/objectManager.php?sClass=version&iId=27711&iTestingId=84252" "$TITLE"
+
+POL_System_TmpCreate "$PREFIX"
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" = "LOCAL" ]; then
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE installation"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
+    cd "$POL_System_TmpDir"
+    POL_Download "https://support.apple.com/downloads/DL1547/en_US/AirPortSetup.exe" "1b7a3379b0e4097419b55465dd35aa57"
+    INSTALLER="$POL_System_TmpDir/AirPortSetup.exe"
+fi
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate
+
+Set_OS "win7"
+
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "$INSTALLER"
+
+POL_System_TmpDelete
+ 
+POL_Shortcut "APUtil.exe" "$TITLE"
+  
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-basho
#
# Date : (2015-26-05 18-47)
# Last revision : (2015-26-05 18-47)
# Wine version used : 1.7.17
# Distribution used to test : Ubuntu 14.04
# Author : endorama
   
# CHANGELOG
# [endorama] (2015-26-05 16-06)
#    First implementation

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

PREFIX="AppleAirPortUtility"
TITLE="Apple AirPort Utility"

POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Apple" "https://support.apple.com/kb/DL1547" "Edoardo Tenani" "$PREFIX"

POL_SetupWindow_message "$(eval_gettext 'For more information see') https://appdb.winehq.org/objectManager.php?sClass=version&iId=27711&iTestingId=84252" "$TITLE"

POL_System_TmpCreate "$PREFIX"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    cd "$POL_System_TmpDir"
    POL_Download "https://support.apple.com/downloads/DL1547/en_US/AirPortSetup.exe" "1b7a3379b0e4097419b55465dd35aa57"
    INSTALLER="$POL_System_TmpDir/AirPortSetup.exe"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate

Set_OS "win7"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete
 
POL_Shortcut "APUtil.exe" "$TITLE"
  
POL_SetupWindow_Close
exit

Réponses

endorama Mardi 26 Mai 2015 à 16:52
endorama

Warning

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

Differences

@@ -0,0 +1,52 @@
+#!/usr/bin/env playonlinux-basho
+#
+# Date : (2015-26-05 16-06)
+# Last revision : (2015-26-05 16-06)
+# Wine version used : 1.7.17
+# Distribution used to test : Ubuntu 14.04
+# Author : endorama
+   
+# CHANGELOG
+# [endorama] (2015-26-05 16-06)
+#    First implementation
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="AppleAirPortUtility"
+TITLE="Apple AirPort Utility"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+  
+POL_SetupWindow_presentation "$TITLE" "Apple" "https://support.apple.com/kb/DL1547" "Edoardo Tenani" "$PREFIX"
+
+POL_SetupWindow_message "For more information see https://appdb.winehq.org/objectManager.php?sClass=version&iId=27711&iTestingId=84252" "$TITLE"
+
+POL_System_TmpCreate "$PREFIX"
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" = "LOCAL" ]; then
+    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
+    cd "$POL_System_TmpDir"
+    POL_Download "https://support.apple.com/downloads/DL1547/en_US/AirPortSetup.exe" "1b7a3379b0e4097419b55465dd35aa57"
+    INSTALLER="$POL_System_TmpDir/AirPortSetup.exe"
+fi
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate
+
+Set_OS "win7"
+
+POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
+POL_Wine "$INSTALLER"
+
+POL_System_TmpDelete
+ 
+POL_Shortcut "APUtil.exe" "$TITLE"
+  
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-basho
#
# Date : (2015-26-05 16-06)
# Last revision : (2015-26-05 16-06)
# Wine version used : 1.7.17
# Distribution used to test : Ubuntu 14.04
# Author : endorama
   
# CHANGELOG
# [endorama] (2015-26-05 16-06)
#    First implementation

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

PREFIX="AppleAirPortUtility"
TITLE="Apple AirPort Utility"

POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Apple" "https://support.apple.com/kb/DL1547" "Edoardo Tenani" "$PREFIX"

POL_SetupWindow_message "For more information see https://appdb.winehq.org/objectManager.php?sClass=version&iId=27711&iTestingId=84252" "$TITLE"

POL_System_TmpCreate "$PREFIX"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    cd "$POL_System_TmpDir"
    POL_Download "https://support.apple.com/downloads/DL1547/en_US/AirPortSetup.exe" "1b7a3379b0e4097419b55465dd35aa57"
    INSTALLER="$POL_System_TmpDir/AirPortSetup.exe"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate

Set_OS "win7"

POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
POL_Wine "$INSTALLER"

POL_System_TmpDelete
 
POL_Shortcut "APUtil.exe" "$TITLE"
  
POL_SetupWindow_Close
exit

Réponses

Mardi 26 Mai 2015 à 18:40
POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
All user-oriented messages must support localization (http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_10:_Script_Translation)
POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
Use POL_Wine_WaitBefore "$TITLE" instead, saves you the need for another localization ;)
Mardi 26 Mai 2015 à 18:47
Updated! :) Thanks for the suggestions.

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