Repository navigation
Add NppNodeJS to the plugin list - #1215
Merged
Merged
Conversation
Add the 64-bit NppNodeJS v1.0.1 package to the Notepad++ Plugin List.
Contributor
|
The build failure message was:
You need to add a resource file containing version information about your plugin; a numeric file version at the very mininmm.
#include <winres.h>
#define NPP_NODEJS_FILE_VERSION "1.0.1.0\0"
#define NPP_NODEJS_FILE_VERSION_WORDS 1, 0, 1, 0
VS_VERSION_INFO VERSIONINFO
FILEVERSION NPP_NODEJS_FILE_VERSION_WORDS
PRODUCTVERSION NPP_NODEJS_FILE_VERSION_WORDS
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "<add your name>\0"
VALUE "FileDescription", "<add a dscription>\0"
VALUE "FileVersion", NPP_NODEJS_FILE_VERSION
VALUE "InternalName", "NppNodeJS\0"
VALUE "LegalCopyright", "Copyright (c) 2026 <your name>\0"
VALUE "OriginalFilename", "NppNodeJS.dll\0"
VALUE "ProductName", "NppNodeJS\0"
VALUE "ProductVersion", NPP_NODEJS_FILE_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 1200
END
END
Note Remember to change the version number before a new release!
diff --git a/build-x64.bat b/build-x64.bat
index cfd6f9d..2ee3a8e 100644
--- a/build-x64.bat
+++ b/build-x64.bat
@@ -26,6 +26,7 @@ g++ -m64 -std=c++17 -O2 -shared -static -static-libgcc -static-libstdc++ ^
-DNPPNODEJS_DEBUG_DEFAULT=%DEBUG% ^
-Isrc -Ithird_party ^
src/main.cpp third_party/cJSON.c ^
+ src/resource.rc ^
-o build/NppNodeJS.dll ^
-luser32 -lgdi32 -lkernel32 -lcomdlg32 -lshell32
|
Update the NppNodeJS package hash to match the v1.0.1 release ZIP containing DLL version information required by the Plugin List validator.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the 64-bit NppNodeJS v1.0.1 package to the Notepad++ Plugin List.

It lets you customize script menus and run Node.js scripts from those menus.