chore(release): bump to v3.6.0 to bust Windows Explorer icon cache for Setup and shortcuts
This commit is contained in:
parent
e7b1c08cae
commit
1b7d3d37f1
3 changed files with 31 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
12
kur.bat
Normal file
12
kur.bat
Normal file
|
|
@ -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"
|
||||
)
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue