Microsoft Freecell

Informations

Creator Nachricht
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 24811
Wine: 1.4

Feedbacks

Screenshots

MiniatureMiniature

Source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Microsoft Freecell"
WINEVERSION="1.4"
EDITOR="Microsoft"
EDITOR_URL="http://www.microsoft.com"
PREFIX="MicrosoftFreecell"

POL_SetupWindow_Init
POL_Debug_Init

POL_RequiredVersion "4.1.1" || POL_Debug_Fatal "PlayOnLinux 4.1.x required"

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

mkdir -p "$WINEPREFIX/drive_c/FreeCell"
cd "$WINEPREFIX/drive_c/FreeCell" || POL_Debug_Fatal "Unable to change directory"

POL_Call POL_Install_LunaTheme
POL_System_wget "ftp://ftp.microsoft.com/softlib/MSLFILES/PW1118.EXE" "Win32s"
POL_Wine_WaitBefore "$TITLE"
unzip "PW1118.EXE"

POL_Shortcut "FREECELL.EXE"  "$TITLE"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Nachricht
petch Tuesday 22 December 2015 at 20:23
petch
Developer

Nachricht

Weird, it seems ftp.microsoft.com rejects passive connections:

$ wget -v 'ftp://ftp.microsoft.com/softlib/MSLFILES/PW1118.EXE'
--2015-12-22 20:20:43--  ftp://ftp.microsoft.com/softlib/MSLFILES/PW1118.EXE
           => «PW1118.EXE»
Résolution de ftp.microsoft.com (ftp.microsoft.com)... 134.170.188.232
Connexion vers ftp.microsoft.com (ftp.microsoft.com)|134.170.188.232|:21... connecté.
Ouverture de session en anonymous... Session établie!
==> SYST ... complété.    ==> PWD ... complété.
==> TYPE I ... complété.  ==> CWD (1) /softlib/MSLFILES ... complété.
==> SIZE PW1118.EXE ... 2530739
==> PASV ... ne peut établir la connexion vers 134.170.188.232 sur le port 23647: Connexion terminée par expiration du délai d'attente.
Nouvel essai.

--2015-12-22 20:21:51--  ftp://ftp.microsoft.com/softlib/MSLFILES/PW1118.EXE
  (essai: 2) => «PW1118.EXE»
Connexion vers ftp.microsoft.com (ftp.microsoft.com)|134.170.188.232|:21... connecté.
Ouverture de session en anonymous... Session établie!
==> SYST ... complété.    ==> PWD ... complété.
==> TYPE I ... complété.  ==> CWD (1) /softlib/MSLFILES ... complété.
==> SIZE PW1118.EXE ... 2530739
==> PASV ... ^C

$ wget --no-passive-ftp 'ftp://ftp.microsoft.com/softlib/MSLFILES/PW1118.EXE'
--2015-12-22 20:22:18--  ftp://ftp.microsoft.com/softlib/MSLFILES/PW1118.EXE
           => «PW1118.EXE»
Résolution de ftp.microsoft.com (ftp.microsoft.com)... 134.170.188.232
Connexion vers ftp.microsoft.com (ftp.microsoft.com)|134.170.188.232|:21... connecté.
Ouverture de session en anonymous... Session établie!
==> SYST ... complété.    ==> PWD ... complété.
==> TYPE I ... complété.  ==> CWD (1) /softlib/MSLFILES ... complété.
==> SIZE PW1118.EXE ... 2530739
==> PORT ... complété.    ==> RETR PW1118.EXE ... complété.
Taille : 2530739 (2,4M) (non certifiée)

100%[===================================================================================================================>] 2 530 739    236K/s   ds 11s     

2015-12-22 20:22:32 (216 KB/s) - «PW1118.EXE» enregistré [2530739]

 

Antworten