You are here    Supported software    Notepad Plus Plus nl sv ru pl es de fr

Notepad Plus Plus

Informations

Creator Message
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 155611
Wine: System

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

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

Contributions

Filters:

Contribute
Member Message
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

Information

This update has been approved by the team.

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