From e027bab524e64e26c3c453e809d74e66587415d4 Mon Sep 17 00:00:00 2001
From: SushiDesigner <54828677+SushiDesigner@users.noreply.github.com>
Date: Sun, 28 Aug 2022 11:08:23 -0600
Subject: [PATCH] launch instead of new
---
src-tauri/template.wxs | 4 ++--
src/App.svelte | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src-tauri/template.wxs b/src-tauri/template.wxs
index 6077d44..f75480d 100644
--- a/src-tauri/template.wxs
+++ b/src-tauri/template.wxs
@@ -110,8 +110,8 @@
-
-
+
+
diff --git a/src/App.svelte b/src/App.svelte
index 8cce343..9be3da9 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -25,7 +25,7 @@
exit(1);
}
var url_to_open = matches.args.first.value[1]
- url_to_open = url_to_open.replace("meteorite-new://","")
+ url_to_open = url_to_open.replace("meteorite-launch://","")
url_to_open = url_to_open.replace('/',"")
url_to_open = url_to_open.split('[') // this will turn it into a array so we can have auth and placeid different
let dataDirPath = await dataDir();