A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Alternate behaviour for openUrlOnNewPage in Tauri

+12 -3
+2 -1
src-tauri/Cargo.lock
··· 2762 2762 [[package]] 2763 2763 name = "tauri-plugin-localhost" 2764 2764 version = "0.1.0" 2765 - source = "git+https://github.com/icidasset/tauri-plugin-localhost?branch=127.0.0.1#e12353ad5343066470b8d1cd5296f7a1974e9909" 2765 + source = "registry+https://github.com/rust-lang/crates.io-index" 2766 + checksum = "f20786ccff879045f6bafec445fb5c6740c0c057372d2f992ae1281e4658c681" 2766 2767 dependencies = [ 2767 2768 "serde_json", 2768 2769 "tauri",
+1 -1
src-tauri/tauri.conf.json
··· 7 7 "devPath": "../build", 8 8 "beforeDevCommand": "", 9 9 "beforeBuildCommand": "", 10 - "withGlobalTauri": false 10 + "withGlobalTauri": true 11 11 }, 12 12 "tauri": { 13 13 "bundle": {
+9 -1
src/Javascript/index.js
··· 116 116 117 117 // Other ports 118 118 app.ports.openUrlOnNewPage.subscribe(url => { 119 - window.open(url, "_blank") 119 + if (__TAURI__) { 120 + __TAURI__.shell.open( 121 + url.includes("://") ? url : `${location.origin}/${url.replace(/^\.\//, "")}` 122 + ) 123 + 124 + } else { 125 + window.open(url, "_blank") 126 + 127 + } 120 128 }) 121 129 122 130 app.ports.reloadApp.subscribe(_ => {