Notepad Plus Plus

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 316145
Wine: 6.0.1

Retours d'expérience

Description

Notepad++ is a free (as in "free speech" and also as in "free beer") source code editor and Notepad replacement that supports several languages. Wikipedia. Website.

Captures d'écran

Miniature

Code source

#!/usr/bin/env playonlinux-bash
# Date : (2014 ? )
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : 
# Author : see changelog
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Freeware
#
# CHANGELOG
# Script by Tinou (original) and Congelli501
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4
# [SuperPlumus] (2017-05-20 16-05)
#   Update Notepad++ version 6.8.8 to 7.4.1
# [p-90-for-retail] (2018-03-03 19-13)
#   Improvments
#   Updated NP++
#   ...
# [Yaotl] (2019-10-29 14-53)
#   Update Notepad++ 7.7.1 to 7.8.1
#   Update Wine 4.0.1 to 4.0.2
#   Script Fixes
# [Yaotl] (2019-12-01 06-58)
#   Fix invalid URL.
#   Update Wine 4.0.2 to 4.0.3
#   Add corefonts
# [mrHedgehog] (2020-01-21 16-01)
#   Update Notepad++ from 7.8.1 to 7.8.3
#   Update Wine from 4.0.3 to 5.0
# [Dadu042] (2020-06-16 09-00)
#   Wine 5.0 -> 5.0.1
#   Add category TextEditor
# [Yaotl] (2020-09-11 15-07)
#   Update Notepad++ 7.8.3 to 7.8.9
#   Wine 5.0.1 -> 5.0.2
#   Added auto selection for 32-bit or 64-bit installation
# [Yaotl] (2020-12-05 16-18)
#   Update Notepad++ 7.8.9 to 7.9.1
#   Wine 5.0.2 -> 5.0.3
# [Yaotl] (2021-06-14 21-45)
#   Update Notepad++ 7.9.1 to 8.0
#   Wine 5.0.3 -> 6.0.1

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
WORKING_WINE_VERSION="6.0.1"
NPVERSION="8.0"
# x86
DOWNLOAD_URL_X86="https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8/npp.8.0.Installer.exe"
MD5_CHECKSUM_x86="940f248133b55d6ebba043f872a01d56"
# x64
DOWNLOAD_URL_X64="https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8/npp.8.0.Installer.x64.exe"
MD5_CHECKSUM_x64="6cf3f43a109fb82ea740dc98c54be109"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Don Ho" "https://notepad-plus-plus.org/" "POL & POM Community" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_corefonts

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
else
    if [ "$POL_ARCH" == "amd64" ]; then
        ARCH=".x64"
        DOWNLOAD_URL=$DOWNLOAD_URL_X64
        MD5_CHECKSUM="$MD5_CHECKSUM_x64"
    else
        ARCH=""
        DOWNLOAD_URL=$DOWNLOAD_URL_X86
        MD5_CHECKSUM="$MD5_CHECKSUM_x86"
    fi
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer$ARCH.exe"
fi

POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$INSTALLER"

POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;TextEditor;"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
WolvenSpectre Lundi 24 Avril 2023 à 10:00
WolvenSpectre Anonymous

Messages

When I try to install on Linux Mint 21.1 The install goes well until it tries to download and install tahoma32.exe.  I have tried installing and deleting Notepad++ 3 times and it keeps hanging on this file's install.  I left it for well over a half hour while watching videos and it still didn't download.

Réponses

Yaotl Mardi 15 Juin 2021 à 23:28
Yaotl Anonymous

Information

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

Differences

@@ -39,16 +39,23 @@
 # [Yaotl] (2020-12-05 16-18)
 #   Update Notepad++ 7.8.9 to 7.9.1
 #   Wine 5.0.2 -> 5.0.3
+# [Yaotl] (2021-06-14 21-45)
+#   Update Notepad++ 7.9.1 to 8.0
+#   Wine 5.0.3 -> 6.0.1
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-WORKING_WINE_VERSION="5.0.3"
-NPVERSION="7.9.1"
-MD5_CHECKSUM_x86="fbb950c5ef01f7e57079c096f888791a"; # 32-bit setup file
-MD5_CHECKSUM_x64="49c992a90b16e21b9fdc8056626b327d"; # 64-bit setup file 
+WORKING_WINE_VERSION="6.0.1"
+NPVERSION="8.0"
+# x86
+DOWNLOAD_URL_X86="https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8/npp.8.0.Installer.exe"
+MD5_CHECKSUM_x86="940f248133b55d6ebba043f872a01d56"
+# x64
+DOWNLOAD_URL_X64="https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8/npp.8.0.Installer.x64.exe"
+MD5_CHECKSUM_x64="6cf3f43a109fb82ea740dc98c54be109"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
@@ -72,16 +79,18 @@
     INSTALLER="$APP_ANSWER"
 else
     if [ "$POL_ARCH" == "amd64" ]; then
-        Ac=".x64"
+        ARCH=".x64"
+        DOWNLOAD_URL=$DOWNLOAD_URL_X64
         MD5_CHECKSUM="$MD5_CHECKSUM_x64"
     else
-        Ac=""
+        ARCH=""
+        DOWNLOAD_URL=$DOWNLOAD_URL_X86
         MD5_CHECKSUM="$MD5_CHECKSUM_x86"
     fi
     POL_System_TmpCreate "$PREFIX"
     cd "$POL_System_TmpDir"
-    POL_Download "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v$NPVERSION/npp.$NPVERSION.Installer$Ac.exe" "$MD5_CHECKSUM"
-    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer$Ac.exe"
+    POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
+    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer$ARCH.exe"
 fi
 
 POL_Wine start /unix "$INSTALLER"

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2014 ? )
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : 
# Author : see changelog
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Freeware
#
# CHANGELOG
# Script by Tinou (original) and Congelli501
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4
# [SuperPlumus] (2017-05-20 16-05)
#   Update Notepad++ version 6.8.8 to 7.4.1
# [p-90-for-retail] (2018-03-03 19-13)
#   Improvments
#   Updated NP++
#   ...
# [Yaotl] (2019-10-29 14-53)
#   Update Notepad++ 7.7.1 to 7.8.1
#   Update Wine 4.0.1 to 4.0.2
#   Script Fixes
# [Yaotl] (2019-12-01 06-58)
#   Fix invalid URL.
#   Update Wine 4.0.2 to 4.0.3
#   Add corefonts
# [mrHedgehog] (2020-01-21 16-01)
#   Update Notepad++ from 7.8.1 to 7.8.3
#   Update Wine from 4.0.3 to 5.0
# [Dadu042] (2020-06-16 09-00)
#   Wine 5.0 -> 5.0.1
#   Add category TextEditor
# [Yaotl] (2020-09-11 15-07)
#   Update Notepad++ 7.8.3 to 7.8.9
#   Wine 5.0.1 -> 5.0.2
#   Added auto selection for 32-bit or 64-bit installation
# [Yaotl] (2020-12-05 16-18)
#   Update Notepad++ 7.8.9 to 7.9.1
#   Wine 5.0.2 -> 5.0.3
# [Yaotl] (2021-06-14 21-45)
#   Update Notepad++ 7.9.1 to 8.0
#   Wine 5.0.3 -> 6.0.1

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
WORKING_WINE_VERSION="6.0.1"
NPVERSION="8.0"
# x86
DOWNLOAD_URL_X86="https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8/npp.8.0.Installer.exe"
MD5_CHECKSUM_x86="940f248133b55d6ebba043f872a01d56"
# x64
DOWNLOAD_URL_X64="https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8/npp.8.0.Installer.x64.exe"
MD5_CHECKSUM_x64="6cf3f43a109fb82ea740dc98c54be109"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Don Ho" "https://notepad-plus-plus.org/" "POL & POM Community" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_corefonts

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
else
    if [ "$POL_ARCH" == "amd64" ]; then
        ARCH=".x64"
        DOWNLOAD_URL=$DOWNLOAD_URL_X64
        MD5_CHECKSUM="$MD5_CHECKSUM_x64"
    else
        ARCH=""
        DOWNLOAD_URL=$DOWNLOAD_URL_X86
        MD5_CHECKSUM="$MD5_CHECKSUM_x86"
    fi
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer$ARCH.exe"
fi

POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$INSTALLER"

POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;TextEditor;"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Mercredi 16 Juin 2021 à 6:27
Script approved, thanks.
Yaotl Samedi 5 Décembre 2020 à 17:16
Yaotl Anonymous

Warning

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

Differences

@@ -36,16 +36,19 @@
 #   Update Notepad++ 7.8.3 to 7.8.9
 #   Wine 5.0.1 -> 5.0.2
 #   Added auto selection for 32-bit or 64-bit installation
+# [Yaotl] (2020-12-05 16-18)
+#   Update Notepad++ 7.8.9 to 7.9.1
+#   Wine 5.0.2 -> 5.0.3
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-WORKING_WINE_VERSION="5.0.2"
-NPVERSION="7.8.9"
-MD5_CHECKSUM_x86="1bd43ba2e242af6083444f4d7ee58a18"; # 32-bit setup file
-MD5_CHECKSUM_x64="3b9e72ddd83b0ff4a8db3f1cca8b2ec4"; # 64-bit setup file 
+WORKING_WINE_VERSION="5.0.3"
+NPVERSION="7.9.1"
+MD5_CHECKSUM_x86="fbb950c5ef01f7e57079c096f888791a"; # 32-bit setup file
+MD5_CHECKSUM_x64="49c992a90b16e21b9fdc8056626b327d"; # 64-bit setup file 
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2014 ? )
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : 
# Author : see changelog
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Freeware
#
# CHANGELOG
# Script by Tinou (original) and Congelli501
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4
# [SuperPlumus] (2017-05-20 16-05)
#   Update Notepad++ version 6.8.8 to 7.4.1
# [p-90-for-retail] (2018-03-03 19-13)
#   Improvments
#   Updated NP++
#   ...
# [Yaotl] (2019-10-29 14-53)
#   Update Notepad++ 7.7.1 to 7.8.1
#   Update Wine 4.0.1 to 4.0.2
#   Script Fixes
# [Yaotl] (2019-12-01 06-58)
#   Fix invalid URL.
#   Update Wine 4.0.2 to 4.0.3
#   Add corefonts
# [mrHedgehog] (2020-01-21 16-01)
#   Update Notepad++ from 7.8.1 to 7.8.3
#   Update Wine from 4.0.3 to 5.0
# [Dadu042] (2020-06-16 09-00)
#   Wine 5.0 -> 5.0.1
#   Add category TextEditor
# [Yaotl] (2020-09-11 15-07)
#   Update Notepad++ 7.8.3 to 7.8.9
#   Wine 5.0.1 -> 5.0.2
#   Added auto selection for 32-bit or 64-bit installation
# [Yaotl] (2020-12-05 16-18)
#   Update Notepad++ 7.8.9 to 7.9.1
#   Wine 5.0.2 -> 5.0.3

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
WORKING_WINE_VERSION="5.0.3"
NPVERSION="7.9.1"
MD5_CHECKSUM_x86="fbb950c5ef01f7e57079c096f888791a"; # 32-bit setup file
MD5_CHECKSUM_x64="49c992a90b16e21b9fdc8056626b327d"; # 64-bit setup file 

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Don Ho" "https://notepad-plus-plus.org/" "POL & POM Community" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_corefonts

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
else
    if [ "$POL_ARCH" == "amd64" ]; then
        Ac=".x64"
        MD5_CHECKSUM="$MD5_CHECKSUM_x64"
    else
        Ac=""
        MD5_CHECKSUM="$MD5_CHECKSUM_x86"
    fi
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v$NPVERSION/npp.$NPVERSION.Installer$Ac.exe" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer$Ac.exe"
fi

POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$INSTALLER"

POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;TextEditor;"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Dimanche 6 Décembre 2020 à 13:46
Approved.
Yaotl Vendredi 11 September 2020 à 16:29
Yaotl Anonymous

Warning

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

Differences

@@ -32,40 +32,53 @@
 # [Dadu042] (2020-06-16 09-00)
 #   Wine 5.0 -> 5.0.1
 #   Add category TextEditor
+# [Yaotl] (2020-09-11 15-07)
+#   Update Notepad++ 7.8.3 to 7.8.9
+#   Wine 5.0.1 -> 5.0.2
+#   Added auto selection for 32-bit or 64-bit installation
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-WORKING_WINE_VERSION="5.0.1"
-NPVERSION="7.8.3"
-MD5_CHECKSUM="becca16e1b0a5ff408e9ef2b8111b75c"
+WORKING_WINE_VERSION="5.0.2"
+NPVERSION="7.8.9"
+MD5_CHECKSUM_x86="1bd43ba2e242af6083444f4d7ee58a18"; # 32-bit setup file
+MD5_CHECKSUM_x64="3b9e72ddd83b0ff4a8db3f1cca8b2ec4"; # 64-bit setup file 
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 69
 POL_Debug_Init
 
-POL_SetupWindow_presentation "$TITLE" "Don Ho" "https://notepad-plus-plus.org/" "PlayOnLinux Community" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "Don Ho" "https://notepad-plus-plus.org/" "POL & POM Community" "$PREFIX"
 
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
 POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "auto"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
 POL_Call POL_Install_corefonts
 
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-if [ "$INSTALL_METHOD" = "LOCAL" ]; then
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
     cd "$HOME"
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
     INSTALLER="$APP_ANSWER"
 else
+    if [ "$POL_ARCH" == "amd64" ]; then
+        Ac=".x64"
+        MD5_CHECKSUM="$MD5_CHECKSUM_x64"
+    else
+        Ac=""
+        MD5_CHECKSUM="$MD5_CHECKSUM_x86"
+    fi
     POL_System_TmpCreate "$PREFIX"
     cd "$POL_System_TmpDir"
-    POL_Download "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v$NPVERSION/npp.$NPVERSION.Installer.exe" "$MD5_CHECKSUM"
-    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
+    POL_Download "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v$NPVERSION/npp.$NPVERSION.Installer$Ac.exe" "$MD5_CHECKSUM"
+    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer$Ac.exe"
 fi
 
 POL_Wine start /unix "$INSTALLER"

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2014 ? )
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : 
# Author : see changelog
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Freeware
#
# CHANGELOG
# Script by Tinou (original) and Congelli501
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4
# [SuperPlumus] (2017-05-20 16-05)
#   Update Notepad++ version 6.8.8 to 7.4.1
# [p-90-for-retail] (2018-03-03 19-13)
#   Improvments
#   Updated NP++
#   ...
# [Yaotl] (2019-10-29 14-53)
#   Update Notepad++ 7.7.1 to 7.8.1
#   Update Wine 4.0.1 to 4.0.2
#   Script Fixes
# [Yaotl] (2019-12-01 06-58)
#   Fix invalid URL.
#   Update Wine 4.0.2 to 4.0.3
#   Add corefonts
# [mrHedgehog] (2020-01-21 16-01)
#   Update Notepad++ from 7.8.1 to 7.8.3
#   Update Wine from 4.0.3 to 5.0
# [Dadu042] (2020-06-16 09-00)
#   Wine 5.0 -> 5.0.1
#   Add category TextEditor
# [Yaotl] (2020-09-11 15-07)
#   Update Notepad++ 7.8.3 to 7.8.9
#   Wine 5.0.1 -> 5.0.2
#   Added auto selection for 32-bit or 64-bit installation

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
WORKING_WINE_VERSION="5.0.2"
NPVERSION="7.8.9"
MD5_CHECKSUM_x86="1bd43ba2e242af6083444f4d7ee58a18"; # 32-bit setup file
MD5_CHECKSUM_x64="3b9e72ddd83b0ff4a8db3f1cca8b2ec4"; # 64-bit setup file 

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Don Ho" "https://notepad-plus-plus.org/" "POL & POM Community" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_corefonts

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
else
    if [ "$POL_ARCH" == "amd64" ]; then
        Ac=".x64"
        MD5_CHECKSUM="$MD5_CHECKSUM_x64"
    else
        Ac=""
        MD5_CHECKSUM="$MD5_CHECKSUM_x86"
    fi
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v$NPVERSION/npp.$NPVERSION.Installer$Ac.exe" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer$Ac.exe"
fi

POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$INSTALLER"

POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;TextEditor;"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Vendredi 11 September 2020 à 16:54
Script approved.
Dadu042 Mardi 16 Juin 2020 à 9:17
Dadu042

Warning

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

Differences

@@ -17,7 +17,7 @@
 # [p-90-for-retail] (2018-03-03 19-13)
 #   Improvments
 #   Updated NP++
-# ...
+#   ...
 # [Yaotl] (2019-10-29 14-53)
 #   Update Notepad++ 7.7.1 to 7.8.1
 #   Update Wine 4.0.1 to 4.0.2
@@ -29,13 +29,16 @@
 # [mrHedgehog] (2020-01-21 16-01)
 #   Update Notepad++ from 7.8.1 to 7.8.3
 #   Update Wine from 4.0.3 to 5.0
+# [Dadu042] (2020-06-16 09-00)
+#   Wine 5.0 -> 5.0.1
+#   Add category TextEditor
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-WORKING_WINE_VERSION="5.0"
+WORKING_WINE_VERSION="5.0.1"
 NPVERSION="7.8.3"
 MD5_CHECKSUM="becca16e1b0a5ff408e9ef2b8111b75c"
 
@@ -68,7 +71,7 @@
 POL_Wine start /unix "$INSTALLER"
 POL_Wine_WaitExit "$INSTALLER"
 
-POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;Development;"
+POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;TextEditor;"
 
 POL_System_TmpDelete
 POL_SetupWindow_Close

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2014 ? )
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : 
# Author : see changelog
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Freeware
#
# CHANGELOG
# Script by Tinou (original) and Congelli501
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4
# [SuperPlumus] (2017-05-20 16-05)
#   Update Notepad++ version 6.8.8 to 7.4.1
# [p-90-for-retail] (2018-03-03 19-13)
#   Improvments
#   Updated NP++
#   ...
# [Yaotl] (2019-10-29 14-53)
#   Update Notepad++ 7.7.1 to 7.8.1
#   Update Wine 4.0.1 to 4.0.2
#   Script Fixes
# [Yaotl] (2019-12-01 06-58)
#   Fix invalid URL.
#   Update Wine 4.0.2 to 4.0.3
#   Add corefonts
# [mrHedgehog] (2020-01-21 16-01)
#   Update Notepad++ from 7.8.1 to 7.8.3
#   Update Wine from 4.0.3 to 5.0
# [Dadu042] (2020-06-16 09-00)
#   Wine 5.0 -> 5.0.1
#   Add category TextEditor

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
WORKING_WINE_VERSION="5.0.1"
NPVERSION="7.8.3"
MD5_CHECKSUM="becca16e1b0a5ff408e9ef2b8111b75c"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Don Ho" "https://notepad-plus-plus.org/" "PlayOnLinux Community" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_corefonts

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v$NPVERSION/npp.$NPVERSION.Installer.exe" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
fi

POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$INSTALLER"

POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;TextEditor;"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

mrHedgehog Mardi 21 Janvier 2020 à 22:03
mrHedgehog Anonymous

Warning

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

Differences

@@ -26,15 +26,18 @@
 #   Fix invalid URL.
 #   Update Wine 4.0.2 to 4.0.3
 #   Add corefonts
+# [mrHedgehog] (2020-01-21 16-01)
+#   Update Notepad++ from 7.8.1 to 7.8.3
+#   Update Wine from 4.0.3 to 5.0
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-WORKING_WINE_VERSION="4.0.3"
-NPVERSION="7.8.1"
-MD5_CHECKSUM="741cab59266b05a277c5da306ecf1955"
+WORKING_WINE_VERSION="5.0"
+NPVERSION="7.8.3"
+MD5_CHECKSUM="becca16e1b0a5ff408e9ef2b8111b75c"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2014 ? )
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : 
# Author : see changelog
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Freeware
#
# CHANGELOG
# Script by Tinou (original) and Congelli501
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4
# [SuperPlumus] (2017-05-20 16-05)
#   Update Notepad++ version 6.8.8 to 7.4.1
# [p-90-for-retail] (2018-03-03 19-13)
#   Improvments
#   Updated NP++
# ...
# [Yaotl] (2019-10-29 14-53)
#   Update Notepad++ 7.7.1 to 7.8.1
#   Update Wine 4.0.1 to 4.0.2
#   Script Fixes
# [Yaotl] (2019-12-01 06-58)
#   Fix invalid URL.
#   Update Wine 4.0.2 to 4.0.3
#   Add corefonts
# [mrHedgehog] (2020-01-21 16-01)
#   Update Notepad++ from 7.8.1 to 7.8.3
#   Update Wine from 4.0.3 to 5.0

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
WORKING_WINE_VERSION="5.0"
NPVERSION="7.8.3"
MD5_CHECKSUM="becca16e1b0a5ff408e9ef2b8111b75c"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Don Ho" "https://notepad-plus-plus.org/" "PlayOnLinux Community" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_corefonts

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v$NPVERSION/npp.$NPVERSION.Installer.exe" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
fi

POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$INSTALLER"

POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;Development;"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Jeudi 11 Juin 2020 à 22:35
Script approved.
Yaotl Dimanche 1 Décembre 2019 à 4:03
Yaotl Anonymous

Warning

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

Differences

@@ -22,13 +22,17 @@
 #   Update Notepad++ 7.7.1 to 7.8.1
 #   Update Wine 4.0.1 to 4.0.2
 #   Script Fixes
+# [Yaotl] (2019-12-01 06-58)
+#   Fix invalid URL.
+#   Update Wine 4.0.2 to 4.0.3
+#   Add corefonts
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-WORKING_WINE_VERSION="4.0.2"
+WORKING_WINE_VERSION="4.0.3"
 NPVERSION="7.8.1"
 MD5_CHECKSUM="741cab59266b05a277c5da306ecf1955"
 
@@ -44,6 +48,8 @@
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
+POL_Call POL_Install_corefonts
+
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 if [ "$INSTALL_METHOD" = "LOCAL" ]; then
     cd "$HOME"
@@ -52,7 +58,7 @@
 else
     POL_System_TmpCreate "$PREFIX"
     cd "$POL_System_TmpDir"
-    POL_Download "http://download.notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$MD5_CHECKSUM"
+    POL_Download "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v$NPVERSION/npp.$NPVERSION.Installer.exe" "$MD5_CHECKSUM"
     INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
 fi
 

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2014 ? )
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : 
# Author : see changelog
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Freeware
#
# CHANGELOG
# Script by Tinou (original) and Congelli501
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4
# [SuperPlumus] (2017-05-20 16-05)
#   Update Notepad++ version 6.8.8 to 7.4.1
# [p-90-for-retail] (2018-03-03 19-13)
#   Improvments
#   Updated NP++
# ...
# [Yaotl] (2019-10-29 14-53)
#   Update Notepad++ 7.7.1 to 7.8.1
#   Update Wine 4.0.1 to 4.0.2
#   Script Fixes
# [Yaotl] (2019-12-01 06-58)
#   Fix invalid URL.
#   Update Wine 4.0.2 to 4.0.3
#   Add corefonts

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
WORKING_WINE_VERSION="4.0.3"
NPVERSION="7.8.1"
MD5_CHECKSUM="741cab59266b05a277c5da306ecf1955"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Don Ho" "https://notepad-plus-plus.org/" "PlayOnLinux Community" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_corefonts

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v$NPVERSION/npp.$NPVERSION.Installer.exe" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
fi

POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$INSTALLER"

POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;Development;"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Dimanche 1 Décembre 2019 à 10:44
Approved.

Edité par Yaotl

Kelvinoss Mercredi 6 Novembre 2019 à 19:32
Kelvinoss Anonymous

Messages

When I try to install Notepad ++, i get this error: 

Error in POL_Wine_InstallVersion

Unable to find version: 4.0.2

Réponses

Anonymous
Dimanche 1 Décembre 2019 à 5:02
Have you already checked if the latest PlayOnMac version is installed? Current 4.3.4

Edité par Kelvinoss

Yaotl Mardi 22 Octobre 2019 à 1:24
Yaotl Anonymous

Warning

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

Differences

@@ -17,30 +17,33 @@
 # [p-90-for-retail] (2018-03-03 19-13)
 #   Improvments
 #   Updated NP++
+# ...
+# [Yaotl] (2019-10-29 14-53)
+#   Update Notepad++ 7.7.1 to 7.8.1
+#   Update Wine 4.0.1 to 4.0.2
+#   Script Fixes
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-   
+
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-WORKING_WINE_VERSION="4.0.1"
-NPVERSION="7.7.1"
-EDITOR="Don Ho"
-GAME_URL="https://notepad-plus-plus.org/"
-AUTHOR="LinuxScripter"
-MD5_CHECKSUM="a327dd44a4e2f0e35364bde7c4a59718"
-   
+WORKING_WINE_VERSION="4.0.2"
+NPVERSION="7.8.1"
+MD5_CHECKSUM="741cab59266b05a277c5da306ecf1955"
+
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 69
 POL_Debug_Init
-   
-POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
-   
+
+POL_SetupWindow_presentation "$TITLE" "Don Ho" "https://notepad-plus-plus.org/" "PlayOnLinux Community" "$PREFIX"
+
+POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-   
+
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 if [ "$INSTALL_METHOD" = "LOCAL" ]; then
     cd "$HOME"
@@ -49,13 +52,15 @@
 else
     POL_System_TmpCreate "$PREFIX"
     cd "$POL_System_TmpDir"
-    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$MD5_CHECKSUM"
+    POL_Download "http://download.notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$MD5_CHECKSUM"
     INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
-    POL_Wine start /unix "$INSTALLER"
-    POL_Wine_WaitExit "$INSTALLER"
-    POL_System_TmpDelete
 fi
- 
+
+POL_Wine start /unix "$INSTALLER"
+POL_Wine_WaitExit "$INSTALLER"
+
 POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;Development;"
+
+POL_System_TmpDelete
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2014 ? )
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : 
# Author : see changelog
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Freeware
#
# CHANGELOG
# Script by Tinou (original) and Congelli501
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4
# [SuperPlumus] (2017-05-20 16-05)
#   Update Notepad++ version 6.8.8 to 7.4.1
# [p-90-for-retail] (2018-03-03 19-13)
#   Improvments
#   Updated NP++
# ...
# [Yaotl] (2019-10-29 14-53)
#   Update Notepad++ 7.7.1 to 7.8.1
#   Update Wine 4.0.1 to 4.0.2
#   Script Fixes

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
WORKING_WINE_VERSION="4.0.2"
NPVERSION="7.8.1"
MD5_CHECKSUM="741cab59266b05a277c5da306ecf1955"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Don Ho" "https://notepad-plus-plus.org/" "PlayOnLinux Community" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "http://download.notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
fi

POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$INSTALLER"

POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;Development;"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Samedi 2 Novembre 2019 à 11:36
Approved.

Edité par Yaotl

Dadu042 Mercredi 26 Juin 2019 à 10:13
Dadu042

Warning

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

Messages

Differences

@@ -1,6 +1,26 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2014 ? )
+# Last revision : see changelog
+# Wine version used : see below
+# Distribution used to test : 
+# Author : see changelog
+# PlayOnLinux : 4.3.4
+# Script licence : GPL3
+# Program licence : Freeware
+#
+# CHANGELOG
+# Script by Tinou (original) and Congelli501
+# [SuperPlumus] (2013-07-08 12-03)
+#   Update POLv3 -> POLv4
+# [SuperPlumus] (2017-05-20 16-05)
+#   Update Notepad++ version 6.8.8 to 7.4.1
+# [p-90-for-retail] (2018-03-03 19-13)
+#   Improvments
+#   Updated NP++
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-  
+   
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
 WORKING_WINE_VERSION="4.0.1"
@@ -9,18 +29,18 @@
 GAME_URL="https://notepad-plus-plus.org/"
 AUTHOR="LinuxScripter"
 MD5_CHECKSUM="a327dd44a4e2f0e35364bde7c4a59718"
-  
+   
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 69
 POL_Debug_Init
-  
+   
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
-  
+   
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-  
+   
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 if [ "$INSTALL_METHOD" = "LOCAL" ]; then
     cd "$HOME"
@@ -35,7 +55,7 @@
     POL_Wine_WaitExit "$INSTALLER"
     POL_System_TmpDelete
 fi
-
+ 
 POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;Development;"
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2014 ? )
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : 
# Author : see changelog
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Freeware
#
# CHANGELOG
# Script by Tinou (original) and Congelli501
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4
# [SuperPlumus] (2017-05-20 16-05)
#   Update Notepad++ version 6.8.8 to 7.4.1
# [p-90-for-retail] (2018-03-03 19-13)
#   Improvments
#   Updated NP++

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
WORKING_WINE_VERSION="4.0.1"
NPVERSION="7.7.1"
EDITOR="Don Ho"
GAME_URL="https://notepad-plus-plus.org/"
AUTHOR="LinuxScripter"
MD5_CHECKSUM="a327dd44a4e2f0e35364bde7c4a59718"
   
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
   
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
   
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
    POL_Wine start /unix "$INSTALLER"
    POL_Wine_WaitExit "$INSTALLER"
    POL_System_TmpDelete
fi
 
POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;Development;"
POL_SetupWindow_Close
exit 0

Réponses

Yaotl Mercredi 26 Juin 2019 à 0:47
Yaotl Anonymous

Warning

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

Differences

@@ -3,11 +3,12 @@
   
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-WORKING_WINE_VERSION="4.0"
-NPVERSION="7.7"
+WORKING_WINE_VERSION="4.0.1"
+NPVERSION="7.7.1"
 EDITOR="Don Ho"
 GAME_URL="https://notepad-plus-plus.org/"
 AUTHOR="LinuxScripter"
+MD5_CHECKSUM="a327dd44a4e2f0e35364bde7c4a59718"
   
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
@@ -15,6 +16,7 @@
 POL_Debug_Init
   
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
   
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
@@ -27,7 +29,7 @@
 else
     POL_System_TmpCreate "$PREFIX"
     cd "$POL_System_TmpDir"
-    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "151cbb695037b5b1ca023dbb66655731"
+    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$MD5_CHECKSUM"
     INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
     POL_Wine start /unix "$INSTALLER"
     POL_Wine_WaitExit "$INSTALLER"

Nouveau code source

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
WORKING_WINE_VERSION="4.0.1"
NPVERSION="7.7.1"
EDITOR="Don Ho"
GAME_URL="https://notepad-plus-plus.org/"
AUTHOR="LinuxScripter"
MD5_CHECKSUM="a327dd44a4e2f0e35364bde7c4a59718"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
    POL_Wine start /unix "$INSTALLER"
    POL_Wine_WaitExit "$INSTALLER"
    POL_System_TmpDelete
fi

POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;Development;"
POL_SetupWindow_Close
exit

Réponses

Mercredi 26 Juin 2019 à 10:08
Script approved.

Edité par Yaotl

FatHard Samedi 1 Juin 2019 à 10:59
FatHard Anonymous

Warning

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

Messages

-New wine version

-New program version

-App Drawer Shortcuts

-New CheckSum

Differences

@@ -3,8 +3,8 @@
   
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-WORKING_WINE_VERSION="3.0.3"
-NPVERSION="7.5.9"
+WORKING_WINE_VERSION="4.0"
+NPVERSION="7.7"
 EDITOR="Don Ho"
 GAME_URL="https://notepad-plus-plus.org/"
 AUTHOR="LinuxScripter"
@@ -27,13 +27,13 @@
 else
     POL_System_TmpCreate "$PREFIX"
     cd "$POL_System_TmpDir"
-    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "ac94e6b042d383e2caf3a4cc1294d734"
+    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "151cbb695037b5b1ca023dbb66655731"
     INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
     POL_Wine start /unix "$INSTALLER"
     POL_Wine_WaitExit "$INSTALLER"
     POL_System_TmpDelete
 fi
 
-POL_Shortcut "notepad++.exe" "$TITLE"
+POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;Development;"
 POL_SetupWindow_Close
 exit
\ No newline at end of file

Nouveau code source

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
WORKING_WINE_VERSION="4.0"
NPVERSION="7.7"
EDITOR="Don Ho"
GAME_URL="https://notepad-plus-plus.org/"
AUTHOR="LinuxScripter"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "151cbb695037b5b1ca023dbb66655731"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
    POL_Wine start /unix "$INSTALLER"
    POL_Wine_WaitExit "$INSTALLER"
    POL_System_TmpDelete
fi

POL_Shortcut "notepad++.exe" "Notepad++" "" "" "Development;Development;"
POL_SetupWindow_Close
exit

Réponses

Samedi 1 Juin 2019 à 13:05
Script approved.

Edité par FatHard

LinuxScripter Vendredi 9 Novembre 2018 à 15:34
LinuxScripter Anonymous

Warning

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

Messages

I've rewrote this script to make it more standardized. The previous version did not specify Wien version used. Generally it should be. Also updated the version of Notepad++ to 7.5.9 which is the latest as of right now.

Differences

@@ -1,51 +1,39 @@
-#!/bin/bash
-# Script by Tinou (original) and Congelli501
- 
-# CHANGELOG
-# [SuperPlumus] (2017-05-20 16-05)
-#   Update Notepad++ version 6.8.8 to 7.4.1
-# [SuperPlumus] (2013-07-08 12-03)
-#   Update POLv3 -> POLv4
- 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+  
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-NPVERSION="7.4.2"
-NPMD5="d41d8cd98f00b204e9800998ecf8427e"
- 
+WORKING_WINE_VERSION="3.0.3"
+NPVERSION="7.5.9"
+EDITOR="Don Ho"
+GAME_URL="https://notepad-plus-plus.org/"
+AUTHOR="LinuxScripter"
+  
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 69
 POL_Debug_Init
- 
-POL_SetupWindow_presentation "Notepad++ $NPVERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4
- 
+  
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+  
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+  
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-if [ "$INSTALL_METHOD" = "LOCAL" ]
-then
+if [ "$INSTALL_METHOD" = "LOCAL" ]; then
     cd "$HOME"
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
     INSTALLER="$APP_ANSWER"
-elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
-then
+else
     POL_System_TmpCreate "$PREFIX"
     cd "$POL_System_TmpDir"
-    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
+    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "ac94e6b042d383e2caf3a4cc1294d734"
     INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
+    POL_Wine start /unix "$INSTALLER"
+    POL_Wine_WaitExit "$INSTALLER"
+    POL_System_TmpDelete
 fi
- 
-POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate
-Set_OS "win7"
- 
-POL_Wine_WaitBefore "$TITLE"
-POL_Wine "$INSTALLER"
- 
-POL_Shortcut "notepad++.exe" "$TITLE" "$TITLE.png"
- 
-[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete
- 
+
+POL_Shortcut "notepad++.exe" "$TITLE"
 POL_SetupWindow_Close
-exit 0
\ No newline at end of file
+exit
\ No newline at end of file

Nouveau code source

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
WORKING_WINE_VERSION="3.0.3"
NPVERSION="7.5.9"
EDITOR="Don Ho"
GAME_URL="https://notepad-plus-plus.org/"
AUTHOR="LinuxScripter"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "ac94e6b042d383e2caf3a4cc1294d734"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
    POL_Wine start /unix "$INSTALLER"
    POL_Wine_WaitExit "$INSTALLER"
    POL_System_TmpDelete
fi

POL_Shortcut "notepad++.exe" "$TITLE"
POL_SetupWindow_Close
exit

Réponses

p-90-for-retail Samedi 3 Mars 2018 à 9:13
p-90-for-retail

Warning

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

Differences

@@ -6,21 +6,28 @@
 #   Update Notepad++ version 6.8.8 to 7.4.1
 # [SuperPlumus] (2013-07-08 12-03)
 #   Update POLv3 -> POLv4
+# [p-90-for-retail] (2018-03-03 19-13)
+#   Improvments
+#   Updated NP++
  
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-NPVERSION="7.4.2"
-NPMD5="d41d8cd98f00b204e9800998ecf8427e"
+NPVERSION="7.5.5"
+NPMD5="0e30ee37332c35399e2ad803666a8f54"
  
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 69
 POL_Debug_Init
  
-POL_SetupWindow_presentation "Notepad++ $NPVERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4
+POL_SetupWindow_presentation "Notepad++ $NPVERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+Set_OS "win7"
  
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 if [ "$INSTALL_METHOD" = "LOCAL" ]
@@ -34,18 +41,11 @@
     cd "$POL_System_TmpDir"
     POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
     INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
+    POL_Wine_WaitBefore "$TITLE"
+    POL_AutoWine "$INSTALLER"
 fi
- 
-POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate
-Set_OS "win7"
- 
-POL_Wine_WaitBefore "$TITLE"
-POL_Wine "$INSTALLER"
- 
-POL_Shortcut "notepad++.exe" "$TITLE" "$TITLE.png"
- 
-[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete
- 
+
+POL_System_TmpDelete
+POL_Shortcut "notepad++.exe" "$TITLE"
 POL_SetupWindow_Close
-exit 0
\ No newline at end of file
+exit

Nouveau code source

#!/bin/bash
# Script by Tinou (original) and Congelli501
 
# CHANGELOG
# [SuperPlumus] (2017-05-20 16-05)
#   Update Notepad++ version 6.8.8 to 7.4.1
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4
# [p-90-for-retail] (2018-03-03 19-13)
#   Improvments
#   Updated NP++
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
NPVERSION="7.5.5"
NPMD5="0e30ee37332c35399e2ad803666a8f54"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init
 
POL_SetupWindow_presentation "Notepad++ $NPVERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
Set_OS "win7"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
    POL_Wine_WaitBefore "$TITLE"
    POL_AutoWine "$INSTALLER"
fi

POL_System_TmpDelete
POL_Shortcut "notepad++.exe" "$TITLE"
POL_SetupWindow_Close
exit

Réponses

Quentin PÂRIS Mardi 20 Juin 2017 à 23:18
Quentin PÂRIS Anonymous

Warning

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

Differences

@@ -12,8 +12,8 @@
  
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-NPVERSION="7.4.1"
-NPMD5="4eb1b67eec52d608e48ba4e5f5a34d00"
+NPVERSION="7.4.2"
+NPMD5="d41d8cd98f00b204e9800998ecf8427e"
  
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init

Nouveau code source

#!/bin/bash
# Script by Tinou (original) and Congelli501
 
# CHANGELOG
# [SuperPlumus] (2017-05-20 16-05)
#   Update Notepad++ version 6.8.8 to 7.4.1
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
NPVERSION="7.4.2"
NPMD5="d41d8cd98f00b204e9800998ecf8427e"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init
 
POL_SetupWindow_presentation "Notepad++ $NPVERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
Set_OS "win7"
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"
 
POL_Shortcut "notepad++.exe" "$TITLE" "$TITLE.png"
 
[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete
 
POL_SetupWindow_Close
exit 0

Réponses

SuperPlumus Samedi 20 Mai 2017 à 16:18
SuperPlumus Anonymous

Warning

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

Messages

Update Notepad++ version 6.8.8 to 7.4.1.

Differences

@@ -1,25 +1,27 @@
 #!/bin/bash
 # Script by Tinou (original) and Congelli501
-
+ 
 # CHANGELOG
+# [SuperPlumus] (2017-05-20 16-05)
+#   Update Notepad++ version 6.8.8 to 7.4.1
 # [SuperPlumus] (2013-07-08 12-03)
 #   Update POLv3 -> POLv4
-
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-NPVERSION="6.8.8"
-NPMD5="a47b0b173eddf1e60a3f56cabbd27ffd"
-
+NPVERSION="7.4.1"
+NPMD5="4eb1b67eec52d608e48ba4e5f5a34d00"
+ 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 69
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "Notepad++ $NPVERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4
-
+ 
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
@@ -30,20 +32,20 @@
 then
     POL_System_TmpCreate "$PREFIX"
     cd "$POL_System_TmpDir"
-    POL_Download "http://notepad-plus-plus.org/repository/6.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
+    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
     INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
 fi
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
 Set_OS "win7"
-
+ 
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$INSTALLER"
-
+ 
 POL_Shortcut "notepad++.exe" "$TITLE" "$TITLE.png"
-
+ 
 [ "$$POL_System_TmpDir" ] && POL_System_TmpDelete
-
+ 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Script by Tinou (original) and Congelli501
 
# CHANGELOG
# [SuperPlumus] (2017-05-20 16-05)
#   Update Notepad++ version 6.8.8 to 7.4.1
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
NPVERSION="7.4.1"
NPMD5="4eb1b67eec52d608e48ba4e5f5a34d00"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init
 
POL_SetupWindow_presentation "Notepad++ $NPVERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://notepad-plus-plus.org/repository/7.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
Set_OS "win7"
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"
 
POL_Shortcut "notepad++.exe" "$TITLE" "$TITLE.png"
 
[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete
 
POL_SetupWindow_Close
exit 0

Réponses

petch Mardi 16 Février 2016 à 0:28
petch

Warning

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

Messages

- Switch to Windows 7 compatibility (NP++ refuses to self update under XP now)

- Download update

Differences

@@ -10,8 +10,8 @@
 
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-NPVERSION="6.7.7"
-NPMD5="6959da4755e57890225a0bc95a892a15"
+NPVERSION="6.8.8"
+NPMD5="a47b0b173eddf1e60a3f56cabbd27ffd"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
@@ -36,6 +36,7 @@
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
+Set_OS "win7"
 
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$INSTALLER"

Nouveau code source

#!/bin/bash
# Script by Tinou (original) and Congelli501

# CHANGELOG
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
NPVERSION="6.8.8"
NPMD5="a47b0b173eddf1e60a3f56cabbd27ffd"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init

POL_SetupWindow_presentation "Notepad++ $NPVERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "http://notepad-plus-plus.org/repository/6.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
Set_OS "win7"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_Shortcut "notepad++.exe" "$TITLE" "$TITLE.png"

[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete

POL_SetupWindow_Close
exit 0

Réponses

rsalong Mercredi 21 Octobre 2015 à 20:39
rsalong Anonymous

Messages

Thanks for this, Installed without any issues, difficulties, runs great without any problems so far.
Seems that all the functionalities (at least the ones i require) work perfectly. 
Again My thanks 

Réponses

petch Dimanche 3 Mai 2015 à 21:08
petch

Warning

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

Messages

Update download URL

Differences

@@ -10,8 +10,8 @@
 
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
-NPVERSION="6.7.5"
-NPMD5="a474e2c8efef23f9838dbdaebe131119"
+NPVERSION="6.7.7"
+NPMD5="6959da4755e57890225a0bc95a892a15"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
@@ -30,7 +30,7 @@
 then
     POL_System_TmpCreate "$PREFIX"
     cd "$POL_System_TmpDir"
-    POL_Download "http://dl.notepad-plus-plus.org/downloads/6.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
+    POL_Download "http://notepad-plus-plus.org/repository/6.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
     INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
 fi
 

Nouveau code source

#!/bin/bash
# Script by Tinou (original) and Congelli501

# CHANGELOG
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
NPVERSION="6.7.7"
NPMD5="6959da4755e57890225a0bc95a892a15"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init

POL_SetupWindow_presentation "Notepad++ $NPVERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "http://notepad-plus-plus.org/repository/6.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_Shortcut "notepad++.exe" "$TITLE" "$TITLE.png"

[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete

POL_SetupWindow_Close
exit 0

Réponses

mytlu Vendredi 1 Mai 2015 à 20:53
mytlu Anonymous

Messages

Everything works well. 

Réponses

Talis Jeudi 30 Avril 2015 à 18:27
Talis Anonymous

Messages

Installer works great and shortcut was created in the desktop. Basic functionality is also working.

Réponses

petch Lundi 20 Avril 2015 à 21:09
petch

Warning

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

Messages

Fix version string

Differences

@@ -10,13 +10,15 @@
 
 TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
+NPVERSION="6.7.5"
+NPMD5="a474e2c8efef23f9838dbdaebe131119"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 69
 POL_Debug_Init
 
-POL_SetupWindow_presentation "Notepad++ $VERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4
+POL_SetupWindow_presentation "Notepad++ $NPVERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4
 
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 if [ "$INSTALL_METHOD" = "LOCAL" ]
@@ -28,8 +30,8 @@
 then
     POL_System_TmpCreate "$PREFIX"
     cd "$POL_System_TmpDir"
-    POL_Download "http://dl.notepad-plus-plus.org/downloads/6.x/6.7.5/npp.6.7.5.Installer.exe" "a474e2c8efef23f9838dbdaebe131119"
-    INSTALLER="$POL_System_TmpDir/npp.6.7.5.Installer.exe"
+    POL_Download "http://dl.notepad-plus-plus.org/downloads/6.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
+    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
 fi
 
 POL_Wine_SelectPrefix "$PREFIX"

Nouveau code source

#!/bin/bash
# Script by Tinou (original) and Congelli501

# CHANGELOG
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"
NPVERSION="6.7.5"
NPMD5="a474e2c8efef23f9838dbdaebe131119"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init

POL_SetupWindow_presentation "Notepad++ $NPVERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "http://dl.notepad-plus-plus.org/downloads/6.x/$NPVERSION/npp.$NPVERSION.Installer.exe" "$NPMD5"
    INSTALLER="$POL_System_TmpDir/npp.$NPVERSION.Installer.exe"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_Shortcut "notepad++.exe" "$TITLE" "$TITLE.png"

[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete

POL_SetupWindow_Close
exit 0

Réponses

petch Jeudi 16 Avril 2015 à 4:34
petch

Warning

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

Messages

Add POL_SetupWindow_SetID

Differences

@@ -13,6 +13,7 @@
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 69
 POL_Debug_Init
 
 POL_SetupWindow_presentation "Notepad++ $VERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4

Nouveau code source

#!/bin/bash
# Script by Tinou (original) and Congelli501

# CHANGELOG
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 69
POL_Debug_Init

POL_SetupWindow_presentation "Notepad++ $VERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "http://dl.notepad-plus-plus.org/downloads/6.x/6.7.5/npp.6.7.5.Installer.exe" "a474e2c8efef23f9838dbdaebe131119"
    INSTALLER="$POL_System_TmpDir/npp.6.7.5.Installer.exe"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_Shortcut "notepad++.exe" "$TITLE" "$TITLE.png"

[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete

POL_SetupWindow_Close
exit 0

Réponses

petch Samedi 21 Mars 2015 à 22:20
petch

Warning

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

Messages

- Script name change

- Icon change

- Version upgrade

Differences

@@ -8,38 +8,38 @@
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
-TITLE="Notepad++"
+TITLE="Notepad Plus Plus"
 PREFIX="NotepadPlusPlus"
 
-POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_Debug_Init
 
 POL_SetupWindow_presentation "Notepad++ $VERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4
 
-POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate
-
-POL_System_TmpCreate "$PREFIX"
-
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     cd "$HOME"
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
-    POL_Wine_WaitBefore "$TITLE"
-    POL_Wine "$APP_ANSWER"
+    INSTALLER="$APP_ANSWER"
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
+    POL_System_TmpCreate "$PREFIX"
     cd "$POL_System_TmpDir"
-    POL_Download "http://download.tuxfamily.org/notepadplus/6.4.1/npp.6.4.1.Installer.exe" "af1fd574e70f2ebec10cc619c3388ecf"
-    POL_Wine_WaitBefore "$TITLE"
-    POL_Wine "npp.6.4.1.Installer.exe"
+    POL_Download "http://dl.notepad-plus-plus.org/downloads/6.x/6.7.5/npp.6.7.5.Installer.exe" "a474e2c8efef23f9838dbdaebe131119"
+    INSTALLER="$POL_System_TmpDir/npp.6.7.5.Installer.exe"
 fi
 
-POL_System_TmpDelete
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "$INSTALLER"
+
+POL_Shortcut "notepad++.exe" "$TITLE" "$TITLE.png"
 
-POL_Shortcut "notepad++.exe" "$TITLE"
+[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete
 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Script by Tinou (original) and Congelli501

# CHANGELOG
# [SuperPlumus] (2013-07-08 12-03)
#   Update POLv3 -> POLv4

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

TITLE="Notepad Plus Plus"
PREFIX="NotepadPlusPlus"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/np/top.jpg" "http://files.playonlinux.com/resources/setups/np/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "Notepad++ $VERSION" "Notepad++" "http://notepad-plus.sourceforge.net/" "Tinou and Congelli501" "NotepadPlusPlus" 1 4

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "http://dl.notepad-plus-plus.org/downloads/6.x/6.7.5/npp.6.7.5.Installer.exe" "a474e2c8efef23f9838dbdaebe131119"
    INSTALLER="$POL_System_TmpDir/npp.6.7.5.Installer.exe"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_Shortcut "notepad++.exe" "$TITLE" "$TITLE.png"

[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete

POL_SetupWindow_Close
exit 0

Réponses

Edité par petch

FuzzyToothpaste Mardi 16 September 2014 à 2:21
FuzzyToothpaste Anonymous

Messages

WHy is it that when looking at the list of programs I can install with PlayOnLinux, it says Notepad instead of Notepad++? This is not the official Windows Notepad, and the official name is Notepad++. Although low priority, this should be a simple fix that should be incorperated into the next version of PlayOnLinux.

Réponses

Mardi 16 September 2014 à 7:52
$TITLE must match the name of the script in the repository, and for technical reasons + cannot currently be used in them

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