From 3c6ae0125b42dc399f693e4d76b3e9546ae899d2 Mon Sep 17 00:00:00 2001 From: alwaysmesmerizingyou Date: Fri, 4 Sep 2026 22:27:24 -0700 Subject: [PATCH] use location.replace for WKWebView navigation --- build-pipeline.js | 4 ++-- ui/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build-pipeline.js b/build-pipeline.js index 154bab5..fe09a19 100644 --- a/build-pipeline.js +++ b/build-pipeline.js @@ -22,8 +22,8 @@ const clonedRepos = new Set(); function clonePrivateRepo(repoConfig, targetDir) { if (fs.existsSync(targetDir)) { - console.log(`[DEV] ${repoConfig.name} already exists locally. Skipping clone to use local changes.`); - return; + console.log(`Removing stale ${repoConfig.name} before fresh clone...`); + fs.rmSync(targetDir, { recursive: true, force: true }); } const token = process.env.GITLAB_TOKEN || process.env.VYLA_GITLAB_TOKEN; diff --git a/ui/index.html b/ui/index.html index e9d5c9f..44c7f90 100644 --- a/ui/index.html +++ b/ui/index.html @@ -587,7 +587,7 @@ void main() { const data = e.payload || e; if (data && data.url) { setStatus("Launching..."); - window.location.href = data.url; + window.location.replace(data.url); } });