This commit is contained in:
Samuel Tulach 2023-02-18 22:28:12 +01:00
parent 77861119ea
commit 0d34bacdc6
8 changed files with 11 additions and 58 deletions

3
.gitignore vendored
View File

@ -361,3 +361,6 @@ FodyWeavers.xsd
# Custom build folder
build/
# Contains saved cert password in the project files
installer/

View File

@ -27,3 +27,6 @@ If you have any idea how to make this app better, please [create a pull request]
#### License
This project is licensed under GPLv3 and it's libraries under their license. Please check both [LICENSE.txt](LICENSE.txt) and [LICENSE_3rd.txt](LICENSE_3rd.txt).
#### Special thanks
Thanks to [AdvancedInstaller](https://www.advancedinstaller.com) for providing a professional license for free for this project.

View File

@ -1,51 +0,0 @@
#define VtuAppName "VirusTotal Uploader"
#define VtuAppVersion "0.1.8"
#define VtuAppPublisher "Samuel Tulach"
#define VtuAppURL "https://github.com/SamuelTulach/VirusTotalUploader"
#define VtuAppExeName "uploader.exe"
[Setup]
AppId={{51FB250B-1C78-4B32-86E8-7710231434B0}
AppName={#VtuAppName}
AppVersion={#VtuAppVersion}
;AppVerName={#VtuAppName} {#VtuAppVersion}
AppPublisher={#VtuAppPublisher}
AppPublisherURL={#VtuAppURL}
AppSupportURL={#VtuAppURL}
AppUpdatesURL={#VtuAppURL}
DefaultDirName={autopf}\{#VtuAppName}
DisableProgramGroupPage=yes
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
OutputDir=output
OutputBaseFilename=uploader
SetupIconFile=uploader\uploader\icon.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Dirs]
Name: "{app}"; Permissions: users-full
[Files]
Source: "uploader\uploader\build\rel\*"; DestDir: "{app}"; Flags: ignoreversion
Source: "localization\*"; DestDir: "{app}\local"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{autoprograms}\{#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

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>

View File

@ -8,9 +8,6 @@ namespace uploader
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{

View File

@ -19,7 +19,7 @@ namespace uploader.Properties {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {

View File

@ -12,7 +12,7 @@ namespace uploader.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.6.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.4.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));

View File

@ -8,7 +8,7 @@
<OutputType>WinExe</OutputType>
<RootNamespace>uploader</RootNamespace>
<AssemblyName>uploader</AssemblyName>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
@ -37,6 +37,7 @@
<ApplicationIcon>icon.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup />
<PropertyGroup />
<ItemGroup>
<Reference Include="DarkUI, Version=2.0.1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>