fix: use mirror for binary downloads, imgur for images while GitHub org is flagged

This commit is contained in:
CloakHQ
2026-02-26 06:20:33 +01:00
parent 8cecebf118
commit cc501d8ef6
9 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://raw.githubusercontent.com/CloakHQ/CloakBrowser/main/images/logo.png" width="500" alt="CloakBrowser">
<img src="https://i.imgur.com/cqkp6fG.png" width="500" alt="CloakBrowser">
</p>
# CloakBrowser
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "cloakbrowser",
"version": "0.1.5",
"version": "0.1.9",
"description": "Stealth Chromium that passes every bot detection test. Drop-in Playwright/Puppeteer replacement with source-level fingerprint patches.",
"type": "module",
"main": "dist/index.js",
+1 -1
View File
@@ -87,7 +87,7 @@ export function checkPlatformAvailable(): void {
// ---------------------------------------------------------------------------
export const DOWNLOAD_BASE_URL =
process.env.CLOAKBROWSER_DOWNLOAD_URL ||
"https://github.com/CloakHQ/cloakbrowser/releases/download";
"https://cloakbrowser.dev";
export const GITHUB_API_URL =
"https://api.github.com/repos/CloakHQ/cloakbrowser/releases";
+3
View File
@@ -150,6 +150,9 @@ async function downloadAndExtract(version?: string): Promise<void> {
try {
await downloadFile(url, tmpPath);
await extractArchive(tmpPath, binaryDir, binaryPath);
console.log(
`[cloakbrowser] Visit https://cloakbrowser.dev for updates and release notifications.`
);
} finally {
// Clean up temp file
if (fs.existsSync(tmpPath)) {