From 9fd5eed882f9f999fcc17e725a4963c543d5c773 Mon Sep 17 00:00:00 2001 From: nshcr <104677079+nshcr@users.noreply.github.com> Date: Mon, 1 Apr 2024 19:57:44 +0800 Subject: [PATCH] installer: delete context menu entries created for library folder on uninstall Signed-off-by: nshcr <104677079+nshcr@users.noreply.github.com> --- installer/install.iss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installer/install.iss b/installer/install.iss index b15e24d793..f3c8b1616e 100644 --- a/installer/install.iss +++ b/installer/install.iss @@ -566,11 +566,13 @@ begin RootKey:=HKEY_CURRENT_USER; end; - SetArrayLength(Keys,4); + SetArrayLength(Keys,6); Keys[0]:='SOFTWARE\Classes\Directory\shell\git_shell'; Keys[1]:='SOFTWARE\Classes\Directory\Background\shell\git_shell'; Keys[2]:='SOFTWARE\Classes\Directory\shell\git_gui'; Keys[3]:='SOFTWARE\Classes\Directory\Background\shell\git_gui'; + Keys[4]:='SOFTWARE\Classes\LibraryFolder\background\shell\git_shell'; + Keys[5]:='SOFTWARE\Classes\LibraryFolder\background\shell\git_gui'; for i:=0 to Length(Keys)-1 do begin Command:='';