diff --git a/CHANGELOG.md b/CHANGELOG.md index 56a4126..c513563 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.11.1 — 2026-10-27 + +- Fixed: the program did not start ("Failed to determine default extraction location") when TEMP pointed to a folder + that no longer exists - the Temp\ folder of a remote desktop session after a clean-up - e.g. from the Start menu + or cmd (PowerShell creates that folder again, so it worked there). The SQLite library (e_sqlite3.dll) is now next + to adolens.exe instead of being extracted to TEMP at start, and the installer renames it to *.old like a running + adolens.exe when an open Claude session holds it. Images of attachments saved by the CLI create the TEMP folder + when it is missing. + ## 0.11.0 — 2026-10-26 Settings in a window. diff --git a/pack.ps1 b/pack.ps1 index 34a3069..061341f 100644 --- a/pack.ps1 +++ b/pack.ps1 @@ -33,7 +33,9 @@ New-Item -ItemType Directory -Force -Path $stage | Out-Null $publishArgs = @( 'publish', $proj, '-c', 'Release', '-r', 'win-x64', '-o', (Join-Path $stage 'bin'), '--nologo', - '--self-contained', 'true', '-p:PublishSingleFile=true', '-p:IncludeNativeLibrariesForSelfExtract=true', + # Native libraries (SQLite: e_sqlite3.dll) stay next to the exe instead of being extracted to TEMP at start: the TEMP + # of a remote desktop session (Temp\) may no longer exist, and the exe would not start at all (Start menu, cmd). + '--self-contained', 'true', '-p:PublishSingleFile=true', '-p:IncludeNativeLibrariesForSelfExtract=false', '-p:EnableCompressionInSingleFile=true', '-p:PublishReadyToRun=true', # No debug information: a release build would otherwise carry the local path of its .pdb file. '-p:DebugType=None', '-p:DebugSymbols=false' diff --git a/packaging/inno/ado-lens.iss b/packaging/inno/ado-lens.iss index 42cfd91..7506b7c 100644 --- a/packaging/inno/ado-lens.iss +++ b/packaging/inno/ado-lens.iss @@ -589,16 +589,40 @@ begin end; end; -{ A running adolens.exe (an open Claude session) cannot be overwritten but can be renamed; the server removes *.old - files when it starts. } -function PrepareToInstall(var NeedsRestart: Boolean): String; +{ Files of the program's bin folder matching Pattern get the suffix .