mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-12-05 12:49:43 +01:00
parent
8149f72717
commit
e6739c0ab7
@ -3648,6 +3648,9 @@ void Notepad_plus::command(int id)
|
|||||||
{
|
{
|
||||||
param += L" -parm64";
|
param += L" -parm64";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
param += L" -i";
|
||||||
|
param += INFO_URL;
|
||||||
}
|
}
|
||||||
Process updater(updaterFullPath.c_str(), param.c_str(), updaterDir.c_str());
|
Process updater(updaterFullPath.c_str(), param.c_str(), updaterDir.c_str());
|
||||||
|
|
||||||
|
|||||||
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
//**********************************************************
|
//**********************************************************
|
||||||
|
|
||||||
|
#define INFO_URL L"https://notepad-plus-plus.org/update/getDownloadUrl.php"
|
||||||
|
|
||||||
|
|
||||||
#ifndef IDC_STATIC
|
#ifndef IDC_STATIC
|
||||||
|
|||||||
@ -399,6 +399,9 @@ bool launchUpdater(const std::wstring& updaterFullPath, const std::wstring& upda
|
|||||||
updaterParams += L" -parm64";
|
updaterParams += L" -parm64";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
updaterParams += L" -i";
|
||||||
|
updaterParams += INFO_URL;
|
||||||
|
|
||||||
Process updater(updaterFullPath.c_str(), updaterParams.c_str(), updaterDir.c_str());
|
Process updater(updaterFullPath.c_str(), updaterParams.c_str(), updaterDir.c_str());
|
||||||
updater.run();
|
updater.run();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user