launch instead of new

This commit is contained in:
SushiDesigner 2022-08-28 11:08:23 -06:00
parent 4432723c25
commit e027bab524
2 changed files with 3 additions and 3 deletions

View File

@ -110,8 +110,8 @@
<RegistryKey Root="HKCU" Key="Software\\{{{manufacturer}}}\\{{{product_name}}}">
<RegistryValue Name="InstallDir" Type="string" Value="[INSTALLDIR]" KeyPath="yes" />
</RegistryKey>
<RegistryKey Root="HKCR" Key="meteorite-new">
<RegistryValue Type="string" Value="meteorite-new" />
<RegistryKey Root="HKCR" Key="meteorite-launch">
<RegistryValue Type="string" Value="meteorite-launch" />
<RegistryValue Name="URL Protocol" Type="string" Value=""/>
<RegistryKey Key="shell">
<RegistryKey Key="open">

View File

@ -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();