Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Commit 67a8b51

Browse files
committed
feat: redirect to store in website
1 parent 1fd76a5 commit 67a8b51

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/pages/IndexRoot.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ if (store.state.settings.address) {
3939
const isConnecting = ref(false);
4040
4141
const connect = async (force = true) => {
42+
if (!chrome?.runtime?.id) {
43+
window.location.href = 'https://chrome.google.com/webstore/detail/crosssync/cilehfhekljoecdbbimgebbncpjagmon';
44+
}
45+
4246
isConnecting.value = true;
4347
4448
try {

0 commit comments

Comments
 (0)