diff --git a/CHANGELOG.md b/CHANGELOG.md index ad18052c..5bacf67a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.14.5] + +### Fixed + +- Linking your Pulsoid account through the Pulsoid integration no longer functioning. + ## [1.14.4] ### Fixed diff --git a/package.json b/package.json index 1b9cfeb5..1b88d915 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oyasumi", - "version": "1.14.4", + "version": "1.14.5", "author": "Raphiiko", "license": "MIT", "type": "module", diff --git a/src-core/Cargo.lock b/src-core/Cargo.lock index 42ff72c7..7a78c78c 100644 --- a/src-core/Cargo.lock +++ b/src-core/Cargo.lock @@ -4197,7 +4197,7 @@ dependencies = [ [[package]] name = "oyasumivr" -version = "1.14.4" +version = "1.14.5" dependencies = [ "async-recursion", "bluest", @@ -4270,7 +4270,7 @@ dependencies = [ [[package]] name = "oyasumivr-shared" -version = "1.14.4" +version = "1.14.5" dependencies = [ "winapi", ] diff --git a/src-core/Cargo.toml b/src-core/Cargo.toml index 7a2a069e..10bdc485 100644 --- a/src-core/Cargo.toml +++ b/src-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oyasumivr" -version = "1.14.4" +version = "1.14.5" description = "" authors = ["Raphiiko"] license = "MIT" diff --git a/src-core/tauri.conf.json b/src-core/tauri.conf.json index d7f88051..570a6ea7 100644 --- a/src-core/tauri.conf.json +++ b/src-core/tauri.conf.json @@ -9,7 +9,7 @@ }, "package": { "productName": "OyasumiVR", - "version": "1.14.4" + "version": "1.14.5" }, "tauri": { "allowlist": { @@ -201,7 +201,7 @@ "center": true, "theme": "Dark", "transparent": true, - "userAgent": "OyasumiVR/1.14.4 (https://github.com/Raphiiko/OyasumiVR)" + "userAgent": "OyasumiVR/1.14.5 (https://github.com/Raphiiko/OyasumiVR)" }, { "width": 700, @@ -216,7 +216,7 @@ "skipTaskbar": true, "minimizable": false, "alwaysOnTop": true, - "userAgent": "OyasumiVR/1.14.4 (https://github.com/Raphiiko/OyasumiVR)" + "userAgent": "OyasumiVR/1.14.5 (https://github.com/Raphiiko/OyasumiVR)" } ] } diff --git a/src-elevated-sidecar/Cargo.toml b/src-elevated-sidecar/Cargo.toml index a10df238..b1245a4f 100644 --- a/src-elevated-sidecar/Cargo.toml +++ b/src-elevated-sidecar/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oyasumivr-elevated-sidecar" -version = "1.14.4" +version = "1.14.5" authors = ["Raphiiko"] license = "MIT" edition = "2021" diff --git a/src-overlay-ui/package.json b/src-overlay-ui/package.json index d819bacc..0e9a48bb 100644 --- a/src-overlay-ui/package.json +++ b/src-overlay-ui/package.json @@ -1,6 +1,6 @@ { "name": "oyasumivr-overlay-ui", - "version": "1.14.4", + "version": "1.14.5", "private": true, "scripts": { "dev": "vite dev", diff --git a/src-shared-rust/Cargo.toml b/src-shared-rust/Cargo.toml index a7ec5c90..f2a0c264 100644 --- a/src-shared-rust/Cargo.toml +++ b/src-shared-rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oyasumivr-shared" -version = "1.14.4" +version = "1.14.5" authors = ["Raphiiko"] edition = "2021" license = "MIT" diff --git a/src-shared-ts/package.json b/src-shared-ts/package.json index 1eac64f1..3909622d 100644 --- a/src-shared-ts/package.json +++ b/src-shared-ts/package.json @@ -2,7 +2,7 @@ "name": "src-shared-ts", "description": "Shared typescript code for Oyasumi modules", "scripts": {}, - "version": "1.14.4", + "version": "1.14.5", "author": "Raphiiko", "license": "MIT", "type": "module", diff --git a/src-ui/app/services/deep-link.service.ts b/src-ui/app/services/deep-link.service.ts index 21f03d4b..43fefb9d 100644 --- a/src-ui/app/services/deep-link.service.ts +++ b/src-ui/app/services/deep-link.service.ts @@ -1,6 +1,6 @@ import { Injectable } from '@angular/core'; import { listen } from '@tauri-apps/api/event'; -import { warn } from 'tauri-plugin-log-api'; +import { info, warn } from 'tauri-plugin-log-api'; import { PulsoidService } from './integrations/pulsoid.service'; @Injectable({ @@ -12,13 +12,18 @@ export class DeepLinkService { async init() { await listen('onDeepLinkCall', async (event) => { let url: URL | null = null; + info(`[DeepLinkService] Received deep link call: ${event.payload}`); try { url = new URL(event.payload); } catch (e) { await warn(`[DeepLinkService] Failed to parse deep link URL: ${event.payload}`); return; } - await this.handleDeepLinkCall(url); + try { + await this.handleDeepLinkCall(url); + } catch (e) { + await warn(`[DeepLinkService] Failed to handle deep link call for URL: ${event.payload}`); + } }); } @@ -26,7 +31,7 @@ export class DeepLinkService { let pathname = url.pathname; // Remove any leading slashes while (pathname.startsWith('/')) pathname = pathname.substring(1); - const route = pathname.split('/'); + const route = [url.hostname, ...pathname.split('/')]; switch (route[0]) { case 'integration': if (route.length < 2) break; @@ -41,6 +46,8 @@ export class DeepLinkService { url.hash.substring(1) ); break; + default: + await warn(`[DeepLinkService] Couldn't handle deep link type: ${route[0]}`); } } @@ -63,6 +70,8 @@ export class DeepLinkService { case 'pulsoid': await this.pulsoid.handleDeepLink(path, params, fragmentParams); break; + default: + await warn(`[DeepLinkService] Couldn't handle deep link for integration: ${integration}`); } } }