launch instead of new
This commit is contained in:
parent
4432723c25
commit
e027bab524
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue