You are here
chansort
Informations
Creator | Message |
---|---|
kupaszoltan
![]()
|
WarningThis installer has not been approved yet by the team. InformationsPlatforms: Feedbacks0 1 DescriptionTV channel editor Source code |
Contributions
Filters:
ContributeMember | Message |
GuerreroAzul | Wednesday 15 November 2023 at 1:22 |
GuerreroAzul
|
WarningThis update has not been approved yet by the team. MessageThe installation is done, but I cannot get the program to run. Differences@@ -0,0 +1,96 @@ +#!/usr/bin/env PlayOnLinux-Bash +# Information +# Date: 2023-11-14 +# Last revision: 2023-11-14 +# Wine Version: 7.22 +# OS: Linux Mint 21.2 x86_64 +# Author: GuerreroAzul +# PlayOnLinux : 4.3.4 +# Script licence : GPL3 +# Program licence : Retail + +# Running the Scripts +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" +POL_SetupWindow_Init +POL_Debug_Init + +# Variable +TITLE="ChanSort" +PREFIX="chansort" +POLVERSION="4.3.4" +WINEVERSION="7.22" +OSVERSION="win7" +ARCHITECTURE="x86" +COMPANY="Horst Beham" +SITEWEB="https://github.com/PredatH0r/ChanSort" +AUTHOR="GuerreroAzul" +DOWNLOAD_URL="https://github.com/PredatH0r/ChanSort/releases/download/v2023-10-28/ChanSort_2023-10-28.zip" +SETUP="ChanSort_2023-10-28.zip" +DOWNLOAD_NET="https://download.visualstudio.microsoft.com/download/pr/2d6bb6b2-226a-4baa-bdec-798822606ff1/8494001c276a4b96804cde7829c04d7f/ndp48-x86-x64-allos-enu.exe" +MD5_NET="7d2b599470e34481138444866b7e4ea6" +SETUP_NET="ndp48-x86-x64-allos-enu.exe" + +#Presentation +POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITEWEB" "$AUTHOR" "$TITLE" + +# POL Validations +POL_RequiredVersion $POLVERSION || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION !nPlease update!" + +#Linux Validations +if [ "$POL_OS" = "Linux" ]; then + wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE!" +fi + +#Mac Validations +if [ "$POL_OS" = "Mac" ]; then + POL_Call POL_GetTool_samba3 + source "$POL_USER_ROOT/tools/samba3/init" +fi + +#wine Setup And Installation +POL_Wine_SelectPrefix "$PREFIX" +POL_Wine_PrefixCreate "$WINEVERSION" +Set_OS "$OS" +POL_System_SetArch "$ARQUITECTURE" + +#Installation .Net Framework 4.8 +# Removing mono +#POL_Call POL_Remove_winemono +#rm "$WINEPREFIX/drive_c/windows/system32/mscoree.dll" +#POL_Wine_OverrideDLL "native" "mscoree" + +#dotnet480 +POL_Download_Resource "$DOWNLOAD_NET" "$MD5_NET" "dotnet480" +cd "$POL_USER_ROOT/ressources/dotnet480" + +POL_Wine --ignore-errors "$SETUP_NET" /q /c:"install.exe /sfxlang:1027 /q /norestart" + +# Installation Software +POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" +# Local Installation +if [ "$INSTALL_METHOD" == "LOCAL" ]; then + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the file zip to run')" "$TITLE" + INSTALLER="$APP_ANSWER" +# Web Installation +else + DOWNLOAD_URL=$DOWNLOAD_URL + + POL_System_TmpCreate "$PREFIX" + cd "$POL_System_TmpDir" + + POL_Download "$DOWNLOAD_URL" + INSTALLER="$POL_System_TmpDir/$SETUP" +fi + +#Installation started +POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" +POL_System_unzip "$INSTALLER" -d "$WINEPREFIX/drive_c/Program Files/" + +POL_Shortcut "chansort.exe" "$TITLE" + +#End installation +POL_System_TmpDelete +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/usr/bin/env PlayOnLinux-Bash # Information # Date: 2023-11-14 # Last revision: 2023-11-14 # Wine Version: 7.22 # OS: Linux Mint 21.2 x86_64 # Author: GuerreroAzul # PlayOnLinux : 4.3.4 # Script licence : GPL3 # Program licence : Retail # Running the Scripts [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" POL_SetupWindow_Init POL_Debug_Init # Variable TITLE="ChanSort" PREFIX="chansort" POLVERSION="4.3.4" WINEVERSION="7.22" OSVERSION="win7" ARCHITECTURE="x86" COMPANY="Horst Beham" SITEWEB="https://github.com/PredatH0r/ChanSort" AUTHOR="GuerreroAzul" DOWNLOAD_URL="https://github.com/PredatH0r/ChanSort/releases/download/v2023-10-28/ChanSort_2023-10-28.zip" SETUP="ChanSort_2023-10-28.zip" DOWNLOAD_NET="https://download.visualstudio.microsoft.com/download/pr/2d6bb6b2-226a-4baa-bdec-798822606ff1/8494001c276a4b96804cde7829c04d7f/ndp48-x86-x64-allos-enu.exe" MD5_NET="7d2b599470e34481138444866b7e4ea6" SETUP_NET="ndp48-x86-x64-allos-enu.exe" #Presentation POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITEWEB" "$AUTHOR" "$TITLE" # POL Validations POL_RequiredVersion $POLVERSION || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION !nPlease update!" #Linux Validations if [ "$POL_OS" = "Linux" ]; then wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE!" fi #Mac Validations if [ "$POL_OS" = "Mac" ]; then POL_Call POL_GetTool_samba3 source "$POL_USER_ROOT/tools/samba3/init" fi #wine Setup And Installation POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" Set_OS "$OS" POL_System_SetArch "$ARQUITECTURE" #Installation .Net Framework 4.8 # Removing mono #POL_Call POL_Remove_winemono #rm "$WINEPREFIX/drive_c/windows/system32/mscoree.dll" #POL_Wine_OverrideDLL "native" "mscoree" #dotnet480 POL_Download_Resource "$DOWNLOAD_NET" "$MD5_NET" "dotnet480" cd "$POL_USER_ROOT/ressources/dotnet480" POL_Wine --ignore-errors "$SETUP_NET" /q /c:"install.exe /sfxlang:1027 /q /norestart" # Installation Software POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" # Local Installation if [ "$INSTALL_METHOD" == "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the file zip to run')" "$TITLE" INSTALLER="$APP_ANSWER" # Web Installation else DOWNLOAD_URL=$DOWNLOAD_URL POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_URL" INSTALLER="$POL_System_TmpDir/$SETUP" fi #Installation started POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unzip "$INSTALLER" -d "$WINEPREFIX/drive_c/Program Files/" POL_Shortcut "chansort.exe" "$TITLE" #End installation POL_System_TmpDelete POL_SetupWindow_Close exit 0 Replies |