From 1b7d3d37f19035009ecc97e8c02979d5144cec81 Mon Sep 17 00:00:00 2001 From: LilDosto Date: Wed, 4 Nov 2026 04:54:58 +0300 Subject: [PATCH] chore(release): bump to v3.6.0 to bust Windows Explorer icon cache for Setup and shortcuts --- installer.iss | 27 ++++++++++++++++----------- kur.bat | 12 ++++++++++++ ui/app.py | 6 +++--- 3 files changed, 31 insertions(+), 14 deletions(-) create mode 100644 kur.bat diff --git a/installer.iss b/installer.iss index 9cb5dba..7eaaeba 100644 --- a/installer.iss +++ b/installer.iss @@ -1,8 +1,8 @@ ; Inno Setup Kurulum Senaryosu - LDownloader #define MyAppName "LDownloader" -#define MyAppVersion "3.5.0" +#define MyAppVersion "3.6.0" #define MyAppPublisher "LilDosto" -#define MyAppURL "https://github.com/LilDosto/LDownloader" +#define MyAppURL "https://ttmadethat.shop" #define MyAppExeName "LDownloader.exe" [Setup] @@ -13,18 +13,16 @@ AppVersion={#MyAppVersion} AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} -AppUpdatesURL={#MyAppURL}/releases +AppUpdatesURL={#MyAppURL} DefaultDirName={autopf}\{#MyAppName} DisableProgramGroupPage=yes LicenseFile=LICENSE -; Yonetici yetkisi zorunlulugu olmadan sorunsuz kurulum -PrivilegesRequired=lowest -UsePreviousPrivileges=no -UsePreviousAppDir=no +PrivilegesRequired=admin +PrivilegesRequiredOverridesAllowed=dialog OutputDir=dist OutputBaseFilename=LDownloader-v{#MyAppVersion}-Setup SetupIconFile=assets\logo.ico -UninstallDisplayIcon={app}\assets\ld_v35_icon.ico +UninstallDisplayIcon={app}\assets\ld_v36_icon.ico ChangesAssociations=yes CloseApplications=force Compression=lzma2/ultra64 @@ -38,15 +36,22 @@ Name: "english"; MessagesFile: "compiler:Default.isl" [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}" +[InstallDelete] +Type: files; Name: "{autodesktop}\{#MyAppName}.lnk" +Type: files; Name: "{userdesktop}\{#MyAppName}.lnk" +Type: files; Name: "{commondesktop}\{#MyAppName}.lnk" +Type: files; Name: "{autoprograms}\{#MyAppName}.lnk" + [Files] Source: "dist\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion Source: "assets\logo.ico"; DestDir: "{app}\assets"; Flags: ignoreversion -Source: "assets\logo.ico"; DestDir: "{app}\assets"; DestName: "ld_v35_icon.ico"; Flags: ignoreversion +Source: "assets\logo.ico"; DestDir: "{app}\assets"; DestName: "ld_v36_icon.ico"; Flags: ignoreversion Source: "LICENSE"; DestDir: "{app}"; Flags: ignoreversion [Icons] -Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\assets\ld_v35_icon.ico"; AppUserModelID: "LilDosto.LDownloader.App.v35" -Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\assets\ld_v35_icon.ico"; AppUserModelID: "LilDosto.LDownloader.App.v35"; Tasks: desktopicon +Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\assets\ld_v36_icon.ico"; AppUserModelID: "LilDosto.LDownloader.App.v36" +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\assets\ld_v36_icon.ico"; AppUserModelID: "LilDosto.LDownloader.App.v36"; Tasks: desktopicon [Run] +Filename: "ie4uinit.exe"; Parameters: "-show"; Flags: runhidden nowait Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent diff --git a/kur.bat b/kur.bat new file mode 100644 index 0000000..5560ebf --- /dev/null +++ b/kur.bat @@ -0,0 +1,12 @@ +@echo off +chcp 65001 >nul +echo [LDownloader v3.6.0] Kurulum ve İkon Önbelleği Yenileme Başlatılıyor... +taskkill /f /im LDownloader.exe >nul 2>&1 +"%~dp0dist\LDownloader-v3.6.0-Setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /MERGETASKS="desktopicon" +ie4uinit.exe -show +echo Tamamlandı! Uygulama başlatılıyor... +if exist "C:\Program Files (x86)\LDownloader\LDownloader.exe" ( + start "" "C:\Program Files (x86)\LDownloader\LDownloader.exe" +) else if exist "%LOCALAPPDATA%\Programs\LDownloader\LDownloader.exe" ( + start "" "%LOCALAPPDATA%\Programs\LDownloader\LDownloader.exe" +) diff --git a/ui/app.py b/ui/app.py index a1f5c3c..889a89d 100644 --- a/ui/app.py +++ b/ui/app.py @@ -34,12 +34,12 @@ class LDownloaderApp(tk.Tk): except Exception: pass try: - ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID("LilDosto.LDownloader.App.v35") + ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID("LilDosto.LDownloader.App.v36") except Exception: pass super().__init__() - self.title("LDownloader v3.5.0") + self.title("LDownloader v3.6.0") self.geometry("980x660") self.minsize(880, 580) self.configure(bg=BG) @@ -186,7 +186,7 @@ class LDownloaderApp(tk.Tk): tk.Label(brand_frame, text="LDownloader", font=FONT_TITLE, bg=TAB_BG, fg=TEXT).pack(side="left") tk.Label( brand_frame, - text="v3.5", + text="v3.6", font=FONT_SMALL_BOLD, bg=ACCENT_MUTED, fg=ACCENT_LIGHT,