mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
Fix a passing argument to wingup bug for Plugin Admin.
This commit is contained in:
parent
da49749438
commit
6fb78db414
@ -491,8 +491,6 @@ bool PluginsAdminDlg::installPlugins()
|
|||||||
vector<size_t> indexes = _availableList.getCheckedIndexes();
|
vector<size_t> indexes = _availableList.getCheckedIndexes();
|
||||||
vector<PluginUpdateInfo*> puis = _availableList.fromUiIndexesToPluginInfos(indexes);
|
vector<PluginUpdateInfo*> puis = _availableList.fromUiIndexesToPluginInfos(indexes);
|
||||||
|
|
||||||
generic_string updaterParams = TEXT("-unzipTo ");
|
|
||||||
|
|
||||||
generic_string nppPluginsDir = getPluginsPath();
|
generic_string nppPluginsDir = getPluginsPath();
|
||||||
|
|
||||||
generic_string quoted_nppPluginsDir = TEXT("\"");
|
generic_string quoted_nppPluginsDir = TEXT("\"");
|
||||||
@ -501,6 +499,7 @@ bool PluginsAdminDlg::installPlugins()
|
|||||||
|
|
||||||
for (auto i : puis)
|
for (auto i : puis)
|
||||||
{
|
{
|
||||||
|
generic_string updaterParams = TEXT("-unzipTo ");
|
||||||
updaterParams += quoted_nppPluginsDir;
|
updaterParams += quoted_nppPluginsDir;
|
||||||
|
|
||||||
// add zipFile's url
|
// add zipFile's url
|
||||||
|
Loading…
x
Reference in New Issue
Block a user