From a0347b990342f3644edc161d42f54056a5ac58ac Mon Sep 17 00:00:00 2001 From: Samuel Tulach Date: Sat, 13 Nov 2021 12:35:32 +0100 Subject: [PATCH] Move the context menu entry because people are blind --- inno_setup.iss | 7 +++++-- uploader/uploader/packages.config | 4 ++-- uploader/uploader/uploader.csproj | 8 ++++---- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/inno_setup.iss b/inno_setup.iss index 63a8d2b..407aa8a 100644 --- a/inno_setup.iss +++ b/inno_setup.iss @@ -1,6 +1,6 @@ #define VtuAppName "VirusTotal Uploader" -#define VtuAppVersion "0.0.9" +#define VtuAppVersion "installer" #define VtuAppPublisher "Samuel Tulach" #define VtuAppURL "https://github.com/SamuelTulach/VirusTotalUploader" #define VtuAppExeName "uploader.exe" @@ -41,7 +41,10 @@ Source: "localization\*"; DestDir: "{app}\local"; Flags: ignoreversion [Icons] Name: "{autoprograms}\{#VtuAppName}"; Filename: "{app}\{#VtuAppExeName}" -Name: "{usersendto}\{#VtuAppName}"; Filename: "{app}\{#VtuAppExeName}" + +[Registry] +Root: "HKCR"; Subkey: "*\shell\Upload to VirusTotal"; ValueType: none; ValueName: ""; ValueData: ""; Flags: uninsdeletekey +Root: "HKCR"; Subkey: "*\shell\Upload to VirusTotal\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#VtuAppExeName}"" ""%1"""; Flags: uninsdeletekey [Run] Filename: "{app}\{#VtuAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(VtuAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent diff --git a/uploader/uploader/packages.config b/uploader/uploader/packages.config index fbf0ee6..af70462 100644 --- a/uploader/uploader/packages.config +++ b/uploader/uploader/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file diff --git a/uploader/uploader/uploader.csproj b/uploader/uploader/uploader.csproj index 090682e..9cf640a 100644 --- a/uploader/uploader/uploader.csproj +++ b/uploader/uploader/uploader.csproj @@ -42,11 +42,11 @@ False ..\..\darkui\DarkUI.dll - - ..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll + + ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll - - ..\packages\RestSharp.106.11.4\lib\net452\RestSharp.dll + + ..\packages\RestSharp.106.13.0\lib\net452\RestSharp.dll