diff --git a/PowerEditor/src/NppCommands.cpp b/PowerEditor/src/NppCommands.cpp index ef7e19b1a..7fa3c5d68 100644 --- a/PowerEditor/src/NppCommands.cpp +++ b/PowerEditor/src/NppCommands.cpp @@ -3648,6 +3648,9 @@ void Notepad_plus::command(int id) { param += L" -parm64"; } + + param += L" -i"; + param += INFO_URL; } Process updater(updaterFullPath.c_str(), param.c_str(), updaterDir.c_str()); diff --git a/PowerEditor/src/resource.h b/PowerEditor/src/resource.h index 1fce671c1..b452416a3 100644 --- a/PowerEditor/src/resource.h +++ b/PowerEditor/src/resource.h @@ -30,6 +30,7 @@ //********************************************************** +#define INFO_URL L"https://notepad-plus-plus.org/update/getDownloadUrl.php" #ifndef IDC_STATIC diff --git a/PowerEditor/src/winmain.cpp b/PowerEditor/src/winmain.cpp index 3df26cb1e..97fc3eaaa 100644 --- a/PowerEditor/src/winmain.cpp +++ b/PowerEditor/src/winmain.cpp @@ -399,6 +399,9 @@ bool launchUpdater(const std::wstring& updaterFullPath, const std::wstring& upda updaterParams += L" -parm64"; } + updaterParams += L" -i"; + updaterParams += INFO_URL; + Process updater(updaterFullPath.c_str(), updaterParams.c_str(), updaterDir.c_str()); updater.run();