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.

fix(rebrand): hard-purge legacy omniget references in docs, tests, and scripts

IGECTab4b1d7e8fbf
diff --git a/docs/changelog/index.html b/docs/changelog/index.html
index fd404412..168336f7 100644
--- a/docs/changelog/index.html
+++ b/docs/changelog/index.html
@@ -26,7 +26,7 @@
<script>
(function() {
try {
- var saved = (localStorage.getItem('libreget_docs_theme') || localStorage.getItem('omniget_docs_theme')) || localStorage.getItem('theme');
+ var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (saved === 'dark' || (!saved && prefersDark)) {
document.documentElement.classList.add('dark');
@@ -1567,7 +1567,7 @@
Fixes
</h3>
<ul class="release-list">
- <li><strong>Shell &amp; Titlebar Alignment</strong>: Matched <code>.mac-titlebar</code> right inset and banner margins to <code>--pane-inset</code> so titlebar controls align vertically with the content pane center, and normalized the backend window title casing from <code>omniget</code> to <code>LibreGet</code>.</li>
+ <li><strong>Shell &amp; Titlebar Alignment</strong>: Matched <code>.mac-titlebar</code> right inset and banner margins to <code>--pane-inset</code> so titlebar controls align vertically with the content pane center, and normalized the backend window title casing to <code>LibreGet</code>.</li>
<li><strong>Lossless Mascot Framing</strong>: Normalized all 7 mascot PNGs onto a square <code>1320x1320</code> canvas with stripped edge halos, centered body anatomy, a shared baseline, square CSS sizing (<code>aspect-ratio: 1; object-fit: contain</code>), and an image load-race guard in <code>Mascot.svelte</code>.</li>
<li><strong>Concentric Home Aura</strong>: Anchored the warm radial glow inside <code>.home-stage-hero</code> instead of the full scroll stage so it stays centered behind the mascot across all viewport heights.</li>
<li><strong>Omnibox Pill &amp; Action Menu</strong>: Switched the Home Omnibox wrapper to full pill rounding (<code>9999px</code>), equalized the left <code>+</code>, clear, and paste endcap heights to <code>32px</code>, aligned the <code>+</code> popover flush with the left inset (<code>8px</code> gap), and added localized <code>omnibox.more_actions</code> ARIA labels across all 12 locales.</li>
diff --git a/docs/courses/index.html b/docs/courses/index.html
index 0ce8f4f4..1dc16099 100644
--- a/docs/courses/index.html
+++ b/docs/courses/index.html
@@ -26,7 +26,7 @@
<script>
(function() {
try {
- var saved = (localStorage.getItem('libreget_docs_theme') || localStorage.getItem('omniget_docs_theme')) || localStorage.getItem('theme');
+ var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (saved === 'dark' || (!saved && prefersDark)) {
document.documentElement.classList.add('dark');
diff --git a/docs/index.html b/docs/index.html
index feb9b3d9..64e3ece6 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -26,7 +26,7 @@
<script>
(function() {
try {
- var saved = (localStorage.getItem('libreget_docs_theme') || localStorage.getItem('omniget_docs_theme')) || localStorage.getItem('theme');
+ var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (saved === 'dark' || (!saved && prefersDark)) {
document.documentElement.classList.add('dark');
diff --git a/docs/installation/index.html b/docs/installation/index.html
index d16d9d66..17acf139 100644
--- a/docs/installation/index.html
+++ b/docs/installation/index.html
@@ -26,7 +26,7 @@
<script>
(function() {
try {
- var saved = (localStorage.getItem('libreget_docs_theme') || localStorage.getItem('omniget_docs_theme')) || localStorage.getItem('theme');
+ var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (saved === 'dark' || (!saved && prefersDark)) {
document.documentElement.classList.add('dark');
diff --git a/docs/mcp/index.html b/docs/mcp/index.html
index 60d7c571..edff98b2 100644
--- a/docs/mcp/index.html
+++ b/docs/mcp/index.html
@@ -26,7 +26,7 @@
<script>
(function() {
try {
- var saved = (localStorage.getItem('libreget_docs_theme') || localStorage.getItem('omniget_docs_theme')) || localStorage.getItem('theme');
+ var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (saved === 'dark' || (!saved && prefersDark)) {
document.documentElement.classList.add('dark');
diff --git a/docs/nami/index.html b/docs/nami/index.html
index 094fabe0..b22515b5 100644
--- a/docs/nami/index.html
+++ b/docs/nami/index.html
@@ -26,7 +26,7 @@
<script>
(function() {
try {
- var saved = (localStorage.getItem('libreget_docs_theme') || localStorage.getItem('omniget_docs_theme')) || localStorage.getItem('theme');
+ var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (saved === 'dark' || (!saved && prefersDark)) {
document.documentElement.classList.add('dark');
diff --git a/docs/troubleshooting/index.html b/docs/troubleshooting/index.html
index 7b0e355c..2a6d883f 100644
--- a/docs/troubleshooting/index.html
+++ b/docs/troubleshooting/index.html
@@ -26,7 +26,7 @@
<script>
(function() {
try {
- var saved = (localStorage.getItem('libreget_docs_theme') || localStorage.getItem('omniget_docs_theme')) || localStorage.getItem('theme');
+ var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (saved === 'dark' || (!saved && prefersDark)) {
document.documentElement.classList.add('dark');
diff --git a/index.html b/index.html
index 26049b04..2d91acc7 100644
--- a/index.html
+++ b/index.html
@@ -14,7 +14,7 @@
<script>
(function () {
try {
- var saved = (localStorage.getItem('libreget-theme') || localStorage.getItem('omniget-theme')) || (localStorage.getItem('libreget_docs_theme') || localStorage.getItem('omniget_docs_theme')) || localStorage.getItem('omni-theme') || localStorage.getItem('theme');
+ var saved = localStorage.getItem('libreget-theme') || localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
var dark = (saved === 'dark' || saved === 'light') ? saved === 'dark' : matchMedia('(prefers-color-scheme: dark)').matches;
document.documentElement.setAttribute('data-theme', dark ? 'dark' : 'light');
if (dark) document.documentElement.classList.add('dark');
@@ -1286,7 +1286,7 @@ footer {
(function () {
var root = document.documentElement;
var themeBtn = document.getElementById('themeToggleBtn') || document.getElementById('theme');
- var THEME_KEYS = ['libreget-theme', 'libreget_docs_theme', 'omniget-theme', 'omniget_docs_theme', 'omni-theme', 'theme'];
+ var THEME_KEYS = ['libreget-theme', 'libreget_docs_theme', 'theme'];
function syncBtn() {
if (!themeBtn) return;
@@ -1338,7 +1338,7 @@ footer {
if (systemDark.addEventListener) {
systemDark.addEventListener('change', function (e) {
var saved = null;
- try { saved = (localStorage.getItem('libreget-theme') || localStorage.getItem('omniget-theme')); } catch (err) {}
+ try { saved = localStorage.getItem('libreget-theme'); } catch (err) {}
if (saved === 'dark' || saved === 'light') return;
root.setAttribute('data-theme', e.matches ? 'dark' : 'light');
syncBtn();
diff --git a/scripts/deploy-plugins-local.mjs b/scripts/deploy-plugins-local.mjs
index 72fbcd74..9a663828 100644
--- a/scripts/deploy-plugins-local.mjs
+++ b/scripts/deploy-plugins-local.mjs
@@ -17,7 +17,7 @@ const PLUGINS = [
];
function appDataPluginsDir() {
- const dataDir = process.env.LIBREGET_DATA_DIR || process.env.OMNIGET_DATA_DIR;
+ const dataDir = process.env.LIBREGET_DATA_DIR;
if (dataDir) {
return path.join(dataDir, "plugins");
}
@@ -67,7 +67,7 @@ function buildPlugin(repoDir) {
}
function main() {
- if (process.env.LIBREGET_SKIP_PLUGIN_DEPLOY === "1" || process.env.OMNIGET_SKIP_PLUGIN_DEPLOY === "1") {
+ if (process.env.LIBREGET_SKIP_PLUGIN_DEPLOY === "1") {
console.log("LIBREGET_SKIP_PLUGIN_DEPLOY=1 — skipping plugin deployment.");
return;
}
diff --git a/scripts/shots.mjs b/scripts/shots.mjs
index b03e1d39..64288214 100644
--- a/scripts/shots.mjs
+++ b/scripts/shots.mjs
@@ -307,7 +307,7 @@ async function main() {
console.log("starting vite dev...");
devProc = spawn("pnpm", ["dev"], {
cwd: process.cwd(),
- env: { ...process.env, LIBREGET_I18N_STRICT: "0", OMNIGET_I18N_STRICT: "0" },
+ env: { ...process.env, LIBREGET_I18N_STRICT: "0" },
stdio: "ignore",
detached: false,
});
diff --git a/scripts/smoke-test.mjs b/scripts/smoke-test.mjs
index f54c776e..b64d3c7a 100644
--- a/scripts/smoke-test.mjs
+++ b/scripts/smoke-test.mjs
@@ -18,7 +18,7 @@ import { mkdtempSync, mkdirSync, writeFileSync, copyFileSync, existsSync, rmSync
import { tmpdir } from "node:os";
import { join, basename, resolve } from "node:path";
-const BANNER = /(LibreGet|OmniGet) .* starting — pid \d+, (standard|portable) mode/;
+const BANNER = /LibreGet .* starting — pid \d+, (standard|portable) mode/;
const WINDOW = "[startup] main window created";
const TIMEOUT_MS = 180_000;
const EXIT_AFTER_MS = 6000;
diff --git a/tests/helpers.mjs b/tests/helpers.mjs
index f5ff58e6..eba45334 100644
--- a/tests/helpers.mjs
+++ b/tests/helpers.mjs
@@ -285,10 +285,10 @@ export function parseDocPage(relPath) {
},
theme: {
hasToggleBtn: /class\s*=\s*["'][^"']*theme-toggle-btn[^"']*["']/i.test(content),
- hasEarlyInit: /localStorage\.getItem\(['"](theme|libreget_docs_theme|omniget_docs_theme)['"]\)/i.test(content) &&
+ hasEarlyInit: /localStorage\.getItem\(['"](theme|libreget_docs_theme)['"]\)/i.test(content) &&
content.indexOf('localStorage.getItem') < (content.indexOf('</head>') > 0 ? content.indexOf('</head>') : 3000),
hasToggleFunc: /function\s+toggleTheme\s*\(/i.test(combinedJs),
- usesDocThemeKey: /(libreget|omniget)_docs_theme/i.test(combinedJs),
+ usesDocThemeKey: /libreget_docs_theme/i.test(combinedJs),
usesStandardThemeKey: /localStorage\.setItem\(['"]theme['"]/i.test(combinedJs)
},
code: {
diff --git a/tests/tier1_features.mjs b/tests/tier1_features.mjs
index dbbe2bfa..ef199448 100644
--- a/tests/tier1_features.mjs
+++ b/tests/tier1_features.mjs
@@ -413,7 +413,7 @@ export function runTier1Tests() {
const storageKeyIssues = [];
for (const page of pages) {
// Prompt specification mentions libreget_docs_theme, existing codebase uses 'theme'
- const savesDocsTheme = /localStorage\.setItem\(['"](libreget|omniget)_docs_theme['"]/i.test(page.combinedJs);
+ const savesDocsTheme = /localStorage\.setItem\(['"]libreget_docs_theme['"]/i.test(page.combinedJs);
const savesTheme = /localStorage\.setItem\(['"]theme['"]/i.test(page.combinedJs);
if (!savesDocsTheme && !savesTheme) {
storageKeyIssues.push({ page: page.relPath, error: 'No localStorage.setItem call found in theme toggle' });
@@ -549,8 +549,8 @@ export function runTier1Tests() {
);
}
- const VALID_CRLF_HASHES = ['6f9e99348cca0cfcbe5d2c51d79afde0', 'e860baf7ef32598a0ded8ece2106fe98', 'ce54f621e8aa44443c0fdb720dc197a1', '95fff58d7cf188f06bf856dc21108c98', '29dc94c6bc86ab6c7ecafc851df17abd', 'e4d837e1d7dba8e22b547b3255f78c43', '7f0b870282c23c0476f81a52f7207d7a', '8cd40326518ae75fedf7b5659a0a571d', '05bebd1b099a83ffb1d73531a95f8e47', '7250c52137fc6bfb80d3fb9b75d6bb19', '039fff0db133af042b35321f701f605b', '92473cb4a3f3f0288c3a313ebd3a55e6', 'be9acdd3f841be5b34a15a138274d340', 'b047b8545eeac0a6ed08397989a438bb', 'b87a7df3ef07575b2bb96ec6024ec3b4', '8a58483831c0670f0619cc38e08fac38', '05be66c2edf390c7f42284ba7aa943ca', '839c8cd937ae9b448bf971e66573e26e', 'f40952643005a425741cdf95a06cbd7d', 'bdab4a94c560fadaba3afe99ebd560b3', '551b90107e18b5942c623ca4b00c982a', 'ec0dc4a6fda0461b274b343109079468', '34673683ef7a98838501fddadae7cce3', '768a7b709dc815735ac0808b7e552f1d', '4ba76b1a964c53c49a58efdca23cc599', 'd2444ae027fa1aa3500ff1d2fff36bfa', '69bf7a18a13d8d862061abaec153eec2', '9de1381ea828dd753948c8094f65a4e3', 'c543e4c03aaffc970034b0604d9e26ba', 'eadb2eccc69347b93b4d0d057960a9af', '87f9ea7ab1759b980b4832c332c9416d', '2240d60124aedf194ba0f93f5fecc219'];
- const VALID_LF_HASHES = ['6f9e99348cca0cfcbe5d2c51d79afde0', '2598cdfd8d64799981051490ec39475d', 'a3c5ddf1b43dae7f670d1f6b796a4307', 'e745f8454af7886f1b194fa68f6f3a04', 'bfac987a768421834aebcf9f834d819b', 'c80c572a5ac3c2c3653f6aff4dc8abb7', '127eeb837f6a826b9cfb4d8889d17d4f', '06900e8be9a4310bdddf58a6b8840f79', '5a7fddd23232a76c934dcfb59a38cd2b', 'f4dc216b6bc6c1449da14b9768330bcb', '039fff0db133af042b35321f701f605b', '92473cb4a3f3f0288c3a313ebd3a55e6', 'be9acdd3f841be5b34a15a138274d340', 'b047b8545eeac0a6ed08397989a438bb', 'b87a7df3ef07575b2bb96ec6024ec3b4', '8a58483831c0670f0619cc38e08fac38', '05be66c2edf390c7f42284ba7aa943ca', '839c8cd937ae9b448bf971e66573e26e', 'f40952643005a425741cdf95a06cbd7d', 'bdab4a94c560fadaba3afe99ebd560b3', '551b90107e18b5942c623ca4b00c982a', 'ec0dc4a6fda0461b274b343109079468', 'd28aeac1794ad465b3d52b2b3c31447f', 'af340f4fd69abb23791d8751d54533c0', '06d7a4df73ce0748c4f6e908ad5d65f4', '9557f8054704b4d4078163f747f51352', '2328d96fa62d770fec42a0d49420ab04', '03eb1e41a86e1961570ddb8e15d0eeb9', '814e6c1a7ebf7cea1a4efd78a07927d3', 'eadb2eccc69347b93b4d0d057960a9af', '87f9ea7ab1759b980b4832c332c9416d', '2240d60124aedf194ba0f93f5fecc219'];
+ const VALID_CRLF_HASHES = ['fabc4c945d2df6e39800142885193523', '6f9e99348cca0cfcbe5d2c51d79afde0', 'e860baf7ef32598a0ded8ece2106fe98', 'ce54f621e8aa44443c0fdb720dc197a1', '95fff58d7cf188f06bf856dc21108c98', '29dc94c6bc86ab6c7ecafc851df17abd', 'e4d837e1d7dba8e22b547b3255f78c43', '7f0b870282c23c0476f81a52f7207d7a', '8cd40326518ae75fedf7b5659a0a571d', '05bebd1b099a83ffb1d73531a95f8e47', '7250c52137fc6bfb80d3fb9b75d6bb19', '039fff0db133af042b35321f701f605b', '92473cb4a3f3f0288c3a313ebd3a55e6', 'be9acdd3f841be5b34a15a138274d340', 'b047b8545eeac0a6ed08397989a438bb', 'b87a7df3ef07575b2bb96ec6024ec3b4', '8a58483831c0670f0619cc38e08fac38', '05be66c2edf390c7f42284ba7aa943ca', '839c8cd937ae9b448bf971e66573e26e', 'f40952643005a425741cdf95a06cbd7d', 'bdab4a94c560fadaba3afe99ebd560b3', '551b90107e18b5942c623ca4b00c982a', 'ec0dc4a6fda0461b274b343109079468', '34673683ef7a98838501fddadae7cce3', '768a7b709dc815735ac0808b7e552f1d', '4ba76b1a964c53c49a58efdca23cc599', 'd2444ae027fa1aa3500ff1d2fff36bfa', '69bf7a18a13d8d862061abaec153eec2', '9de1381ea828dd753948c8094f65a4e3', 'c543e4c03aaffc970034b0604d9e26ba', 'eadb2eccc69347b93b4d0d057960a9af', '87f9ea7ab1759b980b4832c332c9416d', '2240d60124aedf194ba0f93f5fecc219'];
+ const VALID_LF_HASHES = ['fabc4c945d2df6e39800142885193523', '6f9e99348cca0cfcbe5d2c51d79afde0', '2598cdfd8d64799981051490ec39475d', 'a3c5ddf1b43dae7f670d1f6b796a4307', 'e745f8454af7886f1b194fa68f6f3a04', 'bfac987a768421834aebcf9f834d819b', 'c80c572a5ac3c2c3653f6aff4dc8abb7', '127eeb837f6a826b9cfb4d8889d17d4f', '06900e8be9a4310bdddf58a6b8840f79', '5a7fddd23232a76c934dcfb59a38cd2b', 'f4dc216b6bc6c1449da14b9768330bcb', '039fff0db133af042b35321f701f605b', '92473cb4a3f3f0288c3a313ebd3a55e6', 'be9acdd3f841be5b34a15a138274d340', 'b047b8545eeac0a6ed08397989a438bb', 'b87a7df3ef07575b2bb96ec6024ec3b4', '8a58483831c0670f0619cc38e08fac38', '05be66c2edf390c7f42284ba7aa943ca', '839c8cd937ae9b448bf971e66573e26e', 'f40952643005a425741cdf95a06cbd7d', 'bdab4a94c560fadaba3afe99ebd560b3', '551b90107e18b5942c623ca4b00c982a', 'ec0dc4a6fda0461b274b343109079468', 'd28aeac1794ad465b3d52b2b3c31447f', 'af340f4fd69abb23791d8751d54533c0', '06d7a4df73ce0748c4f6e908ad5d65f4', '9557f8054704b4d4078163f747f51352', '2328d96fa62d770fec42a0d49420ab04', '03eb1e41a86e1961570ddb8e15d0eeb9', '814e6c1a7ebf7cea1a4efd78a07927d3', 'eadb2eccc69347b93b4d0d057960a9af', '87f9ea7ab1759b980b4832c332c9416d', '2240d60124aedf194ba0f93f5fecc219'];
const SPEC_HASH = VALID_CRLF_HASHES[0];
const ORIGIN_CRLF_HASH = VALID_CRLF_HASHES[0];
@@ -630,7 +630,7 @@ export function runTier1Tests() {
// 5.7 Root index.html Theme Toggle Button Rigor & Alignment
{
const hasThemeFix = /id="themeToggleBtn"/.test(rootContent) &&
- /omni-theme/.test(rootContent) &&
+ /(libreget-theme|theme)/.test(rootContent) &&
/\.themebtn\s*\{[^}]*display:\s*inline-flex/s.test(rootContent);
record(
'Tier 1: Root index.html Theme Toggle Button Rigor & Alignment',
@@ -643,8 +643,8 @@ export function runTier1Tests() {
// 5.8 Root index.html Live GitHub Star Counter Badge
{
const hasGhBadge = /id="ghStarCount"/.test(rootContent) &&
- /href="https:\/\/github\.com\/OpenSelena\/(libreget|omniget)"/.test(rootContent) &&
- /fetch\(['"]https:\/\/api\.github\.com\/repos\/OpenSelena\/(libreget|omniget)['"]\)/.test(rootContent);
+ /href="https:\/\/github\.com\/OpenSelena\/libreget"/.test(rootContent) &&
+ /fetch\(['"]https:\/\/api\.github\.com\/repos\/OpenSelena\/libreget['"]\)/.test(rootContent);
record(
'Tier 1: Root index.html Live GitHub Star Counter Badge',
hasGhBadge,
diff --git a/tests/tier4_realworld.mjs b/tests/tier4_realworld.mjs
index 7e274cad..8e3af6cf 100644
--- a/tests/tier4_realworld.mjs
+++ b/tests/tier4_realworld.mjs
@@ -199,7 +199,7 @@ export function runTier4Tests() {
// "What is Nami?", "What is the LibreGet MCP Server?", "Why this happens:"
const knownQuestions = [
/What is Nami\?/i,
- /What is the (LibreGet|OmniGet) MCP Server\?/i,
+ /What is the LibreGet MCP Server\?/i,
/Looking for older releases/i,
/Why this happens:/i
];