Skip to content

Commit

Permalink
Merge pull request 'iss: add disableplugins parameter' (#55) from fea…
Browse files Browse the repository at this point in the history
…ture/disable-plugins into develop

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/desktop-apps/pulls/55
  • Loading branch information
Oleg Kozhukharenko committed Oct 24, 2024
2 parents 91e56ae + 7382b25 commit 4cecedb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions win-linux/package/windows/common.iss
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,12 @@ begin
if (Length(paramStore) > 0) and (paramStore = 'full') then begin
RegWriteStringValue(HKEY_LOCAL_MACHINE, ExpandConstant('{#APP_REG_PATH}'), 'uninstall', paramStore);
end;

if CheckCommandlineParam('/disableplugins') then begin
if DirExists(ExpandConstant('{app}\editors\sdkjs-plugins\') + '{AA2EA9B6-9EC2-415F-9762-634EE8D9A95E}') then
DelTree(ExpandConstant('{app}\editors\sdkjs-plugins\') + '{AA2EA9B6-9EC2-415F-9762-634EE8D9A95E}', True, True, True);
end;

end else
if CurStep = ssDone then begin
// if not (gHWND = 0) then begin
Expand Down

0 comments on commit 4cecedb

Please sign in to comment.