mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-14 16:51:18 +10:00
fix(deep links): Re-enabled deep links
Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
@ -271,7 +271,6 @@ pub fn run() {
|
|||||||
info!("handling drop:// url");
|
info!("handling drop:// url");
|
||||||
let binding = event.urls();
|
let binding = event.urls();
|
||||||
let url = binding.first().unwrap();
|
let url = binding.first().unwrap();
|
||||||
return; // We're macOS
|
|
||||||
if url.host_str().unwrap() == "handshake" {
|
if url.host_str().unwrap() == "handshake" {
|
||||||
recieve_handshake(handle.clone(), url.path().to_string())
|
recieve_handshake(handle.clone(), url.path().to_string())
|
||||||
}
|
}
|
||||||
|
|||||||
@ -123,8 +123,6 @@ impl ProcessManager<'_> {
|
|||||||
let status = GameStatusManager::fetch_state(&game_id);
|
let status = GameStatusManager::fetch_state(&game_id);
|
||||||
|
|
||||||
push_game_update(&self.app_handle, game_id.clone(), status);
|
push_game_update(&self.app_handle, game_id.clone(), status);
|
||||||
|
|
||||||
// TODO better management
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn valid_platform(&self, platform: &Platform) -> Result<bool, String> {
|
pub fn valid_platform(&self, platform: &Platform) -> Result<bool, String> {
|
||||||
|
|||||||
Reference in New Issue
Block a user