fix: change the deep link domain

This commit is contained in:
2025-05-01 16:48:24 +00:00
parent 9b86af282e
commit c4d023ed43
3 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
## 0.19.1
- Fixed the update button enabling the package
- Fixed deep URLs with rainycolor.org
## 0.19.0

View File

@ -270,7 +270,7 @@ fn deep_link(app: AppHandle, args: Vec<String>) {
log::info!("deep link: {}", url);
let regex = regex::Regex::new(
r"rainycolor://v1/install/rainy\.patafour\.zip/([^/]+)/([^/]+)/[0-9]+\.[0-9]+\.[0-9]+/"
r"rainycolor://v1/install/www\.rainycolor\.org/([^/]+)/([^/]+)/[0-9]+\.[0-9]+\.[0-9]+/"
).expect("Invalid regex");
if let Some(caps) = regex.captures(url) {
@ -287,6 +287,8 @@ fn deep_link(app: AppHandle, args: Vec<String>) {
}
});
}
} else {
log::error!("No caps");
}
}
}

View File

@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "STARTLINER",
"version": "0.19.0",
"version": "0.19.1",
"identifier": "zip.patafour.startliner",
"build": {
"beforeDevCommand": "bun run dev",