Notepad Plus Plus

Informations

Creator Message
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 178035
Wine: 4.0.1

Feedbacks

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. Running in the MS Windows environment, its use is governed by GPL License.

Based on a powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment.

Source: http://notepad-plus.sourceforge.net/uk/site.htm

Source code

#!/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

Contributions

Filters:

Contribute
Member Message
Dadu042 Wednesday 26 June 2019 at 10:13
Dadu042
Moderator

Information

This update has been approved by the team.

Message

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

New source code

#!/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

Replies

Yaotl Wednesday 26 June 2019 at 0:47
Yaotl Anonymous

Warning

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

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"

New source code

[ "$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

Replies

Wednesday 26 June 2019 at 10:08
Script approved.

Edited by Yaotl

FatHard Saturday 1 June 2019 at 10:59
FatHard Anonymous

Warning

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

Message

-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

New source code

[ "$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

Replies

Saturday 1 June 2019 at 13:05
Script approved.

Edited by FatHard

LinuxScripter Friday 9 November 2018 at 15:34
LinuxScripter Anonymous

Warning

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

Message

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

New source code

[ "$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

Replies

p-90-for-retail Saturday 3 March 2018 at 9:13
p-90-for-retail

Warning

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

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

New source code

#!/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

Replies

Quentin PÂRIS Tuesday 20 June 2017 at 23:18
Quentin PÂRIS
Admin

Warning

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

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

New source code

#!/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

Replies

SuperPlumus Saturday 20 May 2017 at 16:18
SuperPlumus Anonymous
Admin

Warning

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

Message

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

New source code

#!/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

Replies

petch Tuesday 16 February 2016 at 0:28
petch
Developer

Warning

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

Message

- 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"

New source code

#!/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

Replies

rsalong Wednesday 21 October 2015 at 20:39
rsalong Anonymous

Message

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 

Replies

petch Sunday 3 May 2015 at 21:08
petch
Developer

Warning

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

Message

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
 

New source code

#!/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

Replies

mytlu Friday 1 May 2015 at 20:53
mytlu Anonymous

Message

Everything works well. 

Replies

Talis Thursday 30 April 2015 at 18:27
Talis Anonymous

Message

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

Replies

petch Monday 20 April 2015 at 21:09
petch
Developer

Warning

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

Message

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"

New source code

#!/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

Replies

petch Thursday 16 April 2015 at 4:34
petch
Developer

Warning

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

Message

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

New source code

#!/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

Replies

petch Saturday 21 March 2015 at 22:20
petch
Developer

Warning

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

Message

- 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

New source code

#!/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

Replies

Edited by petch

FuzzyToothpaste Tuesday 16 September 2014 at 2:21
FuzzyToothpaste Anonymous

Message

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.

Replies

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