Captvty

Informations

Creator Message
Dadu042
Moderator

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 0
Wine: System

Feedbacks

Description

For french TV : it allow to download replay TV programs from the websites of the TV channels (that usually only allow to view, not to download).

"Accédez, depuis un point unique grâce à Captvty, aux directs et à une multitude d’émissions proposées au rattrapage par différentes chaînes de télévision."

Source code

                

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 19 May 2019 at 0:59
Dadu042
Moderator

Warning

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

Message

The script allow to install the app from is zip file.

But the app crash when loading. angry (even with Wine up to v4.8).

Differences

@@ -0,0 +1,76 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2019-05-14 09-08)
+# Last revision : (2019-05-19 00-58)
+# Wine version used : see below
+# Distribution used to test : Ubuntu 19.04 x64
+# Script licence : GPL3
+# Program licence : Retail
+#
+# Playonlinux version used : 4.3.4
+#
+# Software used to write the script : Captvty v2.7.13 (2019)
+#
+# Known issues :
+# As soon as it start (v2.7.13), error window "CLR error: 80004005. The program will now terminate."
+ 
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Captvty"
+PREFIX="captvty"
+WORKING_WINE_VERSION="4.1"
+AUTHOR="Dadu042"
+EDITOR="Guillaume"
+GAME_URL="https://captvty.fr"
+APP_ID="2795"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+   
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+   
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+
+Set_OS "winxp"
+ 
+# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
+
+###############
+# Go          #
+###############
+   
+cd "$HOME"
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
+SETUP_EXE="$APP_ANSWER"
+
+cd "$POL_System_TmpDir"
+TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
+mkdir -p "$TARGET_DIR"
+cd "$TARGET_DIR"
+
+POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
+
+POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/"
+
+POL_Shortcut "Captvty.exe" "$TITLE" ""
+
+
+# POL_SetupWindow_message  "Warning: If the installation of DotNet never end, click Cancel." "$TITLE"
+POL_Call POL_Install_dotnet40
+
+# for msvcr90.dll
+POL_Call POL_Install_vcrun2005
+
+# for msvcr100.dll
+POL_Call POL_Install_vcrun2010
+
+
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
+
+
+# To add ?: option to upgrade the software (it is provided as a .ZIP).

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-14 09-08)
# Last revision : (2019-05-19 00-58)
# Wine version used : see below
# Distribution used to test : Ubuntu 19.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty v2.7.13 (2019)
#
# Known issues :
# As soon as it start (v2.7.13), error window "CLR error: 80004005. The program will now terminate."
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Captvty"
PREFIX="captvty"
WORKING_WINE_VERSION="4.1"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
APP_ID="2795"

POL_SetupWindow_Init
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
   
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "winxp"
 
# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"

###############
# Go          #
###############
   
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"

cd "$POL_System_TmpDir"
TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
mkdir -p "$TARGET_DIR"
cd "$TARGET_DIR"

POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"

POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/"

POL_Shortcut "Captvty.exe" "$TITLE" ""


# POL_SetupWindow_message  "Warning: If the installation of DotNet never end, click Cancel." "$TITLE"
POL_Call POL_Install_dotnet40

# for msvcr90.dll
POL_Call POL_Install_vcrun2005

# for msvcr100.dll
POL_Call POL_Install_vcrun2010


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0


# To add ?: option to upgrade the software (it is provided as a .ZIP).

Replies

Edited by Dadu042