forked from akanyan/STARTLINER
fix: change the deep link domain
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
## 0.19.1
|
## 0.19.1
|
||||||
|
|
||||||
- Fixed the update button enabling the package
|
- Fixed the update button enabling the package
|
||||||
|
- Fixed deep URLs with rainycolor.org
|
||||||
|
|
||||||
## 0.19.0
|
## 0.19.0
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ fn deep_link(app: AppHandle, args: Vec<String>) {
|
|||||||
log::info!("deep link: {}", url);
|
log::info!("deep link: {}", url);
|
||||||
|
|
||||||
let regex = regex::Regex::new(
|
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");
|
).expect("Invalid regex");
|
||||||
|
|
||||||
if let Some(caps) = regex.captures(url) {
|
if let Some(caps) = regex.captures(url) {
|
||||||
@ -287,6 +287,8 @@ fn deep_link(app: AppHandle, args: Vec<String>) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
log::error!("No caps");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.tauri.app/config/2",
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
"productName": "STARTLINER",
|
"productName": "STARTLINER",
|
||||||
"version": "0.19.0",
|
"version": "0.19.1",
|
||||||
"identifier": "zip.patafour.startliner",
|
"identifier": "zip.patafour.startliner",
|
||||||
"build": {
|
"build": {
|
||||||
"beforeDevCommand": "bun run dev",
|
"beforeDevCommand": "bun run dev",
|
||||||
|
Reference in New Issue
Block a user