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
+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)) {