Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

chore(release): bump version to v0.16.9, fix windows omniget uninstaller path

IGECTf3affa93d10b
diff --git a/docs/changelog/index.html b/docs/changelog/index.html
index fdc3d71e..92538b76 100644
--- a/docs/changelog/index.html
+++ b/docs/changelog/index.html
@@ -1415,7 +1415,7 @@
<li>
<a href="../courses/" class="sidebar-link">
<span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.8</span>
+ <span class="sidebar-tag">v0.16.9</span>
</a>
</li>
</ul>
@@ -1502,12 +1502,52 @@
Release notes, feature changes, and system patches for LibreGet. All desktop releases are signed, reproducible, and published with SHA-256 binary validation.
</p>
+ <!-- v0.16.9 Release -->
+ <article class="release-box" id="v0-16-9">
+ <div class="release-header">
+ <div>
+ <div style="display: flex; align-items: center; gap: 8px;">
+ <span class="release-tag-pill">v0.16.9 Latest Stable</span>
+ <span class="release-date">Released November 2026</span>
+ </div>
+ <h2 class="release-title">Windows Legacy Uninstaller Path Correction &amp; Secondary Safety Sweep</h2>
+ </div>
+ <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.9" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
+ <span>GitHub Tag</span>
+ <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
+ </a>
+ </div>
+
+ <div class="release-section">
+ <h3 class="release-section-title">
+ <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
+ What's New
+ </h3>
+ <ul class="release-list">
+ <li><strong>Correct Windows Uninstaller Target Path</strong>: Fixed the NSIS pre-install hook to target <code>$LOCALAPPDATA\OmniGet\uninstall.exe</code> (Tauri's actual default install directory) and registry <code>UninstallString</code>, successfully triggering silent uninstallation.</li>
+ <li><strong>Forced Artifact Wipe</strong>: Added explicit post-uninstall cleanup for leftover <code>%LOCALAPPDATA%\OmniGet</code> files, Desktop shortcuts, and Start Menu entries across both current user and machine profiles.</li>
+ <li><strong>Desktop Runtime Safety Net</strong>: Integrated a Windows secondary cleanup pass into the Rust application bootstrap to silently purge legacy OmniGet directories and shortcuts if the installer hook was bypassed.</li>
+ </ul>
+ </div>
+
+ <div class="release-section">
+ <h3 class="release-section-title">
+ <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
+ Fixes &amp; Tooling
+ </h3>
+ <ul class="release-list">
+ <li><strong>Registry Uninstallation Sweep</strong>: Automatically removes obsolete <code>OmniGet</code> and <code>com.openselena.omniget</code> entries from the Windows Add/Remove Programs registry hives.</li>
+ <li><strong>NSIS LogicLib Modernization</strong>: Migrated jump-based NSIS control flow to structured <code>LogicLib.nsh</code> blocks for rock-solid conditional verification.</li>
+ </ul>
+ </div>
+ </article>
+
<!-- v0.16.8 Release -->
<article class="release-box" id="v0-16-8">
<div class="release-header">
<div>
<div style="display: flex; align-items: center; gap: 8px;">
- <span class="release-tag-pill">v0.16.8 Latest Stable</span>
+ <span class="sidebar-tag">v0.16.8</span>
<span class="release-date">Released November 2026</span>
</div>
<h2 class="release-title">Multi-Platform Legacy App Migration &amp; Packaging Contracts</h2>
@@ -2626,7 +2666,8 @@
<span>On this page</span>
</div>
<ul class="toc-list" id="tocList">
- <li><a href="#v0-16-8" class="toc-link">v0.16.8 (Latest Stable)</a></li>
+ <li><a href="#v0-16-9" class="toc-link">v0.16.9 (Latest Stable)</a></li>
+ <li><a href="#v0-16-8" class="toc-link">v0.16.8</a></li>
<li><a href="#v0-16-7" class="toc-link">v0.16.7</a></li>
<li><a href="#v0-16-6" class="toc-link">v0.16.6</a></li>
<li><a href="#v0-16-5" class="toc-link">v0.16.5</a></li>
diff --git a/docs/courses/index.html b/docs/courses/index.html
index 8739dac2..2b0de402 100644
--- a/docs/courses/index.html
+++ b/docs/courses/index.html
@@ -1415,7 +1415,7 @@
<li>
<a href="../courses/" class="sidebar-link active">
<span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.8</span>
+ <span class="sidebar-tag">v0.16.9</span>
</a>
</li>
</ul>
diff --git a/docs/index.html b/docs/index.html
index 40c1fd7e..9ac7ec74 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1415,7 +1415,7 @@
<li>
<a href="./courses/" class="sidebar-link">
<span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.8</span>
+ <span class="sidebar-tag">v0.16.9</span>
</a>
</li>
</ul>
@@ -1950,12 +1950,54 @@
Track every update and bugfix shipped in LibreGet. LibreGet follows Semantic Versioning and publishes signed artifacts with SHA-256 checksums for every desktop release.
</p>
+ <!-- v0.16.9 Release -->
+ <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
+ <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
+ <div>
+ <div style="display: flex; align-items: center; gap: 10px;">
+ <span class="sidebar-tag" style="background: var(--primary); color: var(--text-inverse); font-weight: 600; padding: 3px 8px; border-radius: 6px;">v0.16.9 Latest Release</span>
+ <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
+ </div>
+ <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Windows Legacy Uninstaller Path Correction &amp; Secondary Safety Sweep</h3>
+ </div>
+ <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.9" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
+ <span>View Release on GitHub</span>
+ <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
+ </a>
+ </div>
+
+ <div style="display: grid; gap: 18px;">
+ <div>
+ <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
+ <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
+ What's New
+ </h4>
+ <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
+ <li><strong>Correct Windows Uninstaller Target Path</strong>: Fixed the NSIS pre-install hook to target <code>$LOCALAPPDATA\OmniGet\uninstall.exe</code> (Tauri's actual default install directory) and registry <code>UninstallString</code>, successfully triggering silent uninstallation.</li>
+ <li><strong>Forced Artifact Wipe</strong>: Added explicit post-uninstall cleanup for leftover <code>%LOCALAPPDATA%\OmniGet</code> files, Desktop shortcuts, and Start Menu entries across both current user and machine profiles.</li>
+ <li><strong>Desktop Runtime Safety Net</strong>: Integrated a Windows secondary cleanup pass into the Rust application bootstrap to silently purge legacy OmniGet directories and shortcuts if the installer hook was bypassed.</li>
+ </ul>
+ </div>
+
+ <div>
+ <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
+ <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
+ Fixes &amp; Tooling
+ </h4>
+ <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
+ <li><strong>Registry Uninstallation Sweep</strong>: Automatically removes obsolete <code>OmniGet</code> and <code>com.openselena.omniget</code> entries from the Windows Add/Remove Programs registry hives.</li>
+ <li><strong>NSIS LogicLib Modernization</strong>: Migrated jump-based NSIS control flow to structured <code>LogicLib.nsh</code> blocks for rock-solid conditional verification.</li>
+ </ul>
+ </div>
+ </div>
+ </div>
+
<!-- v0.16.8 Release -->
<div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
<div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
<div>
<div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag" style="background: var(--primary); color: var(--text-inverse); font-weight: 600; padding: 3px 8px; border-radius: 6px;">v0.16.8 Latest Release</span>
+ <span class="sidebar-tag">v0.16.8</span>
<span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
</div>
<h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Multi-Platform Legacy App Migration &amp; Packaging Contracts</h3>
diff --git a/docs/installation/index.html b/docs/installation/index.html
index 95c70423..1c004b38 100644
--- a/docs/installation/index.html
+++ b/docs/installation/index.html
@@ -1415,7 +1415,7 @@
<li>
<a href="../courses/" class="sidebar-link">
<span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.8</span>
+ <span class="sidebar-tag">v0.16.9</span>
</a>
</li>
</ul>
diff --git a/docs/mcp/index.html b/docs/mcp/index.html
index 11443482..8862951b 100644
--- a/docs/mcp/index.html
+++ b/docs/mcp/index.html
@@ -1415,7 +1415,7 @@
<li>
<a href="../courses/" class="sidebar-link">
<span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.8</span>
+ <span class="sidebar-tag">v0.16.9</span>
</a>
</li>
</ul>
diff --git a/docs/nami/index.html b/docs/nami/index.html
index 9c21e1af..cbad6832 100644
--- a/docs/nami/index.html
+++ b/docs/nami/index.html
@@ -1415,7 +1415,7 @@
<li>
<a href="../courses/" class="sidebar-link">
<span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.8</span>
+ <span class="sidebar-tag">v0.16.9</span>
</a>
</li>
</ul>
diff --git a/docs/troubleshooting/index.html b/docs/troubleshooting/index.html
index 04e92653..1173c7c5 100644
--- a/docs/troubleshooting/index.html
+++ b/docs/troubleshooting/index.html
@@ -1415,7 +1415,7 @@
<li>
<a href="../courses/" class="sidebar-link">
<span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.8</span>
+ <span class="sidebar-tag">v0.16.9</span>
</a>
</li>
</ul>
diff --git a/package.json b/package.json
index 93d929e6..49970f0c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "libreget",
- "version": "0.16.8",
+ "version": "0.16.9",
"private": true,
"description": "",
"type": "module",
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index 875dcfba..fc014d96 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -3897,7 +3897,7 @@ dependencies = [
[[package]]
name = "libreget"
-version = "0.16.8"
+version = "0.16.9"
dependencies = [
"aes 0.8.4",
"anyhow",
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 1835d7bd..4ea547ac 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -13,7 +13,7 @@ resolver = "2"
[package]
name = "libreget"
-version = "0.16.8"
+version = "0.16.9"
description = "LibreGet — Universal Downloader & Media Player"
authors = ["OpenSelena"]
edition = "2021"
diff --git a/src-tauri/nsis/installer-hooks.nsh b/src-tauri/nsis/installer-hooks.nsh
index f6137427..41eac6f4 100644
--- a/src-tauri/nsis/installer-hooks.nsh
+++ b/src-tauri/nsis/installer-hooks.nsh
@@ -1,17 +1,83 @@
+!include "LogicLib.nsh"
+
!macro NSIS_HOOK_PREINSTALL
- ; Terminate running OmniGet process so uninstaller can remove files without locks
+ ; Terminate running OmniGet processes so uninstaller can remove files without locks
DetailPrint "Stopping running instances of OmniGet..."
nsExec::Exec 'taskkill /F /IM "omniget.exe"'
nsExec::Exec 'taskkill /F /IM "OmniGet.exe"'
Sleep 1000
- ; Remove previous per-user OmniGet installation if present
- IfFileExists "$LOCALAPPDATA\Programs\OmniGet\uninstall.exe" 0 +3
- DetailPrint "Removing previous OmniGet installation..."
+ ; 1. Check registry UninstallString (catches custom install locations)
+ StrCpy $R0 ""
+ ReadRegStr $R0 HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\OmniGet" "UninstallString"
+ ${If} $R0 == ""
+ ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OmniGet" "UninstallString"
+ ${EndIf}
+ ${If} $R0 == ""
+ ReadRegStr $R0 HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\com.openselena.omniget" "UninstallString"
+ ${EndIf}
+ ${If} $R0 == ""
+ ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\com.openselena.omniget" "UninstallString"
+ ${EndIf}
+
+ ${If} $R0 != ""
+ DetailPrint "Executing OmniGet uninstaller from registry..."
+ ExecWait '$R0 /S'
+ Sleep 1000
+ ${EndIf}
+
+ ; 2. Check standard Tauri per-user install directory ($LOCALAPPDATA\OmniGet)
+ ${If} ${FileExists} "$LOCALAPPDATA\OmniGet\uninstall.exe"
+ DetailPrint "Uninstalling OmniGet ($LOCALAPPDATA\OmniGet)..."
+ ExecWait '"$LOCALAPPDATA\OmniGet\uninstall.exe" /S _?=$LOCALAPPDATA\OmniGet'
+ Sleep 1000
+ ${EndIf}
+
+ ; 3. Check Programs per-user install directory ($LOCALAPPDATA\Programs\OmniGet)
+ ${If} ${FileExists} "$LOCALAPPDATA\Programs\OmniGet\uninstall.exe"
+ DetailPrint "Uninstalling OmniGet ($LOCALAPPDATA\Programs\OmniGet)..."
ExecWait '"$LOCALAPPDATA\Programs\OmniGet\uninstall.exe" /S _?=$LOCALAPPDATA\Programs\OmniGet'
+ Sleep 1000
+ ${EndIf}
- ; Remove previous machine-wide OmniGet installation if present
- IfFileExists "$PROGRAMFILES\OmniGet\uninstall.exe" 0 +3
- DetailPrint "Removing previous machine-wide OmniGet installation..."
+ ; 4. Check machine-wide install directory ($PROGRAMFILES\OmniGet)
+ ${If} ${FileExists} "$PROGRAMFILES\OmniGet\uninstall.exe"
+ DetailPrint "Uninstalling OmniGet ($PROGRAMFILES\OmniGet)..."
ExecWait '"$PROGRAMFILES\OmniGet\uninstall.exe" /S _?=$PROGRAMFILES\OmniGet'
+ Sleep 1000
+ ${EndIf}
+
+ ; 5. Check 64-bit machine-wide install directory ($PROGRAMFILES64\OmniGet)
+ ${If} ${FileExists} "$PROGRAMFILES64\OmniGet\uninstall.exe"
+ DetailPrint "Uninstalling OmniGet ($PROGRAMFILES64\OmniGet)..."
+ ExecWait '"$PROGRAMFILES64\OmniGet\uninstall.exe" /S _?=$PROGRAMFILES64\OmniGet'
+ Sleep 1000
+ ${EndIf}
+
+ ; 6. Hard-clean leftover directories in case uninstaller left any lingering files
+ DetailPrint "Cleaning any leftover OmniGet artifacts..."
+ RMDir /r "$LOCALAPPDATA\OmniGet"
+ RMDir /r "$LOCALAPPDATA\Programs\OmniGet"
+ RMDir /r "$PROGRAMFILES\OmniGet"
+ RMDir /r "$PROGRAMFILES64\OmniGet"
+
+ ; 7. Remove shortcuts (current user and all users)
+ SetShellVarContext current
+ Delete "$DESKTOP\OmniGet.lnk"
+ Delete "$SMPROGRAMS\OmniGet.lnk"
+ Delete "$SMPROGRAMS\OmniGet\*.lnk"
+ RMDir /r "$SMPROGRAMS\OmniGet"
+
+ SetShellVarContext all
+ Delete "$DESKTOP\OmniGet.lnk"
+ Delete "$SMPROGRAMS\OmniGet.lnk"
+ Delete "$SMPROGRAMS\OmniGet\*.lnk"
+ RMDir /r "$SMPROGRAMS\OmniGet"
+ SetShellVarContext current
+
+ ; 8. Clean obsolete registry uninstall keys
+ DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\OmniGet"
+ DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OmniGet"
+ DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\com.openselena.omniget"
+ DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\com.openselena.omniget"
!macroend
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index 0ad84a1e..e36a588c 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -1445,4 +1445,37 @@ fn cleanup_legacy_omniget_artifacts() {
}
}
}
+
+ #[cfg(target_os = "windows")]
+ {
+ if let Some(desktop) = dirs::desktop_dir() {
+ let lnk = desktop.join("OmniGet.lnk");
+ if lnk.exists() {
+ let _ = std::fs::remove_file(&lnk);
+ }
+ }
+
+ if let Some(roaming) = dirs::data_dir() {
+ let start_menu = roaming.join(r"Microsoft\Windows\Start Menu\Programs");
+ let lnk = start_menu.join("OmniGet.lnk");
+ if lnk.exists() {
+ let _ = std::fs::remove_file(&lnk);
+ }
+ let dir = start_menu.join("OmniGet");
+ if dir.exists() {
+ let _ = std::fs::remove_dir_all(&dir);
+ }
+ }
+
+ if let Some(local_appdata) = dirs::data_local_dir() {
+ let legacy_install = local_appdata.join("OmniGet");
+ if legacy_install.exists() {
+ let uninst = legacy_install.join("uninstall.exe");
+ if uninst.exists() {
+ let _ = std::process::Command::new(&uninst).arg("/S").output();
+ }
+ let _ = std::fs::remove_dir_all(&legacy_install);
+ }
+ }
+ }
}
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 3fa413a3..22191245 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "LibreGet",
- "version": "0.16.8",
+ "version": "0.16.9",
"identifier": "com.openselena.libreget",
"build": {
"beforeDevCommand": "pnpm dev",
diff --git a/src/lib/stores/changelog-store.svelte.ts b/src/lib/stores/changelog-store.svelte.ts
index 48079ae3..9b9aa154 100644
--- a/src/lib/stores/changelog-store.svelte.ts
+++ b/src/lib/stores/changelog-store.svelte.ts
@@ -39,7 +39,7 @@ export async function initChangelog(): Promise<void> {
try {
currentVersion = await getVersion();
} catch {
- currentVersion = "0.16.8";
+ currentVersion = "0.16.9";
}
const lastSeen = localStorage.getItem(STORAGE_KEY);