From 0d08711398383cd0a57ded1764a2b67096067715 Mon Sep 17 00:00:00 2001 From: Timo <6156589+Shik3i@users.noreply.github.com> Date: Thu, 23 Apr 2026 20:09:30 +0200 Subject: [PATCH] fix: restore CONNECT handler else branch, sync APP_VERSION, clean dead return-true --- extension/background.js | 3 +-- shared/constants.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/extension/background.js b/extension/background.js index dc21082..0ff570a 100644 --- a/extension/background.js +++ b/extension/background.js @@ -687,6 +687,7 @@ async function handleAsyncMessage(message, sender, sendResponse) { protocolVersion: PROTOCOL_VERSION }); } + } else { connect(); } sendResponse({ status: 'ok' }); @@ -832,7 +833,6 @@ async function handleAsyncMessage(message, sender, sendResponse) { updateBadgeStatus(); processEvent(); }); - return true; } else { routeToContent(message.action, message.payload); processEvent(); @@ -890,7 +890,6 @@ async function handleAsyncMessage(message, sender, sendResponse) { } sendResponse({ status: 'ok' }); }); - return true; } else if (message.type === 'LOG') { addLog(`[Content] ${message.message}`, message.level || 'info'); sendResponse({ status: 'ok' }); diff --git a/shared/constants.js b/shared/constants.js index 38634e4..75454ec 100644 --- a/shared/constants.js +++ b/shared/constants.js @@ -3,7 +3,7 @@ */ export const PROTOCOL_VERSION = "1.0.0"; -export const APP_VERSION = "1.0.3"; +export const APP_VERSION = "1.1.1"; export const OFFICIAL_SERVER_URL = 'wss://sync.shik3i.net'; export const OFFICIAL_LANDING_PAGE_URL = 'https://koalasync.shik3i.net';