mirror of
https://github.com/CloakHQ/CloakBrowser.git
synced 2026-06-23 11:41:46 +02:00
fix: use mirror for binary downloads, imgur for images while GitHub org is flagged
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user