Add portable Windows desktop downloads and release uploads

This commit is contained in:
2026-10-11 11:44:27 +05:00
parent fc6da6756d
commit a54a3e7705
24 changed files with 4159 additions and 5 deletions

17
desktop/navigation.cjs Normal file
View File

@@ -0,0 +1,17 @@
const SITE_URL = "https://minegeo.vercel.app";
function isInternal(value) {
try {
return new URL(value).origin === SITE_URL;
} catch {
return false;
}
}
function isExternal(value) {
try {
const url = new URL(value);
return url.protocol === "https:" && !url.username && !url.password;
} catch {
return false;
}
}
module.exports = { SITE_URL, isInternal, isExternal };