From 530e5a82842d7699d97f0d83e07fe12d90173950 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 19 Sep 2021 10:28:32 +0100 Subject: [PATCH] v1.0.0 --- imquick.iss | 120 ++++++++++++++++++++++++++-------------------------- imquick.py | 2 +- 2 files changed, 61 insertions(+), 61 deletions(-) diff --git a/imquick.iss b/imquick.iss index c500d86..6522c3f 100644 --- a/imquick.iss +++ b/imquick.iss @@ -1,60 +1,60 @@ -; Script generated by the Inno Setup Script Wizard. -; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! - -#define MyAppName "ImQuick" -#define MyAppVersion "0.5 Beta" -#define MyAppPublisher "David Stirling" -#define MyAppURL "https://github.com/DavidStirling/ImQuick" -#define MyAppExeName "ImQuick.exe" - -[Setup] -; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. -; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) -AppId={{298804AE-3FE3-4D4D-A79E-9925FE61A7CD} -AppName={#MyAppName} -AppVersion={#MyAppVersion} -;AppVerName={#MyAppName} {#MyAppVersion} -AppPublisher={#MyAppPublisher} -AppPublisherURL={#MyAppURL} -AppSupportURL={#MyAppURL} -AppUpdatesURL={#MyAppURL} -DefaultDirName={pf64}\{#MyAppName} -DisableProgramGroupPage=yes -DisableDirPage=no -OutputBaseFilename=ImQuick_setup -SetupIconFile=resources\ImQuick.ico -UninstallDisplayIcon={app}\resources\ImQuick.ico -LicenseFile=LICENSE -Compression=lzma -SolidCompression=yes -ChangesAssociations = yes -WizardStyle=modern - -[Languages] -Name: "english"; MessagesFile: "compiler:Default.isl" - -[Tasks] -Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked - -[Files] -Source: "ImQuick.dist\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion -Source: "ImQuick.dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs -; NOTE: Don't use "Flags: ignoreversion" on any shared system files - -[Registry] -Root: HKCR; Subkey: "{#MyAppName}"; ValueData: "Program {#MyAppName}"; Flags: uninsdeletekey; ValueType: string; ValueName: "" -Root: HKCR; Subkey: "{#MyAppName}\DefaultIcon"; ValueData: "{app}\{#MyAppExeName},0"; ValueType: string; ValueName: "" -Root: HKCR; Subkey: "{#MyAppName}\shell\open\command"; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; ValueType: string; ValueName: "" - -Root: HKCR; Subkey: "SystemFileAssociations\image\shell\ImQuick"; ValueType: none; ValueName: ""; ValueData: ""; Flags: uninsdeletekey -Root: HKCR; Subkey: "SystemFileAssociations\image\shell\ImQuick"; ValueType: string; ValueName: "Icon"; ValueData: "{app}\resources\ImQuick.ico"; Flags: uninsdeletekey -Root: HKCR; Subkey: "SystemFileAssociations\image\shell\ImQuick\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; Flags: uninsdeletekey - - -[Icons] -Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" -Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon - -[Run] -Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent - +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +#define MyAppName "ImQuick" +#define MyAppVersion "1.0.0" +#define MyAppPublisher "David Stirling" +#define MyAppURL "https://github.com/DavidStirling/ImQuick" +#define MyAppExeName "ImQuick.exe" + +[Setup] +; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) +AppId={{298804AE-3FE3-4D4D-A79E-9925FE61A7CD} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +;AppVerName={#MyAppName} {#MyAppVersion} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={pf64}\{#MyAppName} +DisableProgramGroupPage=yes +DisableDirPage=no +OutputBaseFilename=ImQuick_setup +SetupIconFile=ImQuick.ico +UninstallDisplayIcon={app}\resources\ImQuick.ico +LicenseFile=LICENSE +Compression=lzma +SolidCompression=yes +ChangesAssociations = yes +WizardStyle=modern + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + +[Files] +Source: "ImQuick.dist\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion +Source: "ImQuick.dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Registry] +Root: HKCR; Subkey: "{#MyAppName}"; ValueData: "Program {#MyAppName}"; Flags: uninsdeletekey; ValueType: string; ValueName: "" +Root: HKCR; Subkey: "{#MyAppName}\DefaultIcon"; ValueData: "{app}\{#MyAppExeName},0"; ValueType: string; ValueName: "" +Root: HKCR; Subkey: "{#MyAppName}\shell\open\command"; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; ValueType: string; ValueName: "" + +Root: HKCR; Subkey: "SystemFileAssociations\image\shell\ImQuick"; ValueType: none; ValueName: ""; ValueData: ""; Flags: uninsdeletekey +Root: HKCR; Subkey: "SystemFileAssociations\image\shell\ImQuick"; ValueType: string; ValueName: "Icon"; ValueData: "{app}\resources\ImQuick.ico"; Flags: uninsdeletekey +Root: HKCR; Subkey: "SystemFileAssociations\image\shell\ImQuick\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; Flags: uninsdeletekey + + +[Icons] +Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon + +[Run] +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent + diff --git a/imquick.py b/imquick.py index f363d63..235800e 100644 --- a/imquick.py +++ b/imquick.py @@ -19,7 +19,7 @@ import tkinter.filedialog as tkfiledialog import TkinterDnD2 as tkDnD -__version__ = "0.6 Beta" +__version__ = "1.0.0" SUPPORTED_EXTENSIONS = {".tif", ".tiff", ".gif", ".png", ".jpeg", ".jpg", ".bmp", ".npz", ".itk"} ICON_FILE = 'ImQuick.ico'