diff --git a/Cargo.lock b/Cargo.lock index 93c31e9..85d2cff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3848,7 +3848,7 @@ dependencies = [ [[package]] name = "wootili-view" -version = "0.4.3" +version = "0.5.0" dependencies = [ "eframe", "egui-notify", diff --git a/Cargo.toml b/Cargo.toml index 14c8bff..6de6332 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wootili-view" -version = "0.4.3" +version = "0.5.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/Wootili-View.iss b/Wootili-View.iss index 421b58c..a6f4099 100644 --- a/Wootili-View.iss +++ b/Wootili-View.iss @@ -2,7 +2,7 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "Wootili-View" -#define MyAppVersion "0.4.3" +#define MyAppVersion "0.5.0" #define MyAppPublisher "Mr.Ender" #define MyAppURL "https://github.com/MrEnder0/wootili-view" #define MyAppExeName "Wootili-View.exe" @@ -32,6 +32,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl" [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked +Name: "startonstartup"; Description: "Create a start on system startup shortcut"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] Source: "target\release\wootili-view.exe"; DestDir: "{app}"; Flags: ignoreversion @@ -40,6 +41,7 @@ Source: "target\release\wootili-view.exe"; DestDir: "{app}"; Flags: ignoreversio [Icons] Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon +Name: "{commonstartup}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: startonstartup; [Run] Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent diff --git a/src/main.rs b/src/main.rs index c5dda8d..e55cd40 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] + mod capture; mod config; mod paths;