fix it up
This commit is contained in:
parent
3e4953478a
commit
fe6c4be707
|
|
@ -110,13 +110,13 @@
|
||||||
<RegistryKey Root="HKCU" Key="Software\\{{{manufacturer}}}\\{{{product_name}}}">
|
<RegistryKey Root="HKCU" Key="Software\\{{{manufacturer}}}\\{{{product_name}}}">
|
||||||
<RegistryValue Name="InstallDir" Type="string" Value="[INSTALLDIR]" KeyPath="yes" />
|
<RegistryValue Name="InstallDir" Type="string" Value="[INSTALLDIR]" KeyPath="yes" />
|
||||||
</RegistryKey>
|
</RegistryKey>
|
||||||
<RegistryKey Root="HKCR" Key="meteorite-launch">
|
<RegistryKey Root="HKCR" Key="meteorite-launch">
|
||||||
<RegistryValue Type="string" Value="meteorite-launch" />
|
<RegistryValue Type="string" Value="URL:meteorite-launch" />
|
||||||
<RegistryValue Name="URL Protocol" Type="string" Value=""/>
|
<RegistryValue Name="URL Protocol" Type="string" Value=""/>
|
||||||
<RegistryKey Key="shell">
|
<RegistryKey Key="shell">
|
||||||
<RegistryKey Key="open">
|
<RegistryKey Key="Open">
|
||||||
<RegistryKey Key="command">
|
<RegistryKey Key="command">
|
||||||
<RegistryValue Type="string" Value='{{{app_exe_source}}} y "%1"'/>
|
<RegistryValue Type="string" Value='[INSTALLDIR]Meteorite.exe y %1'/>
|
||||||
</RegistryKey>
|
</RegistryKey>
|
||||||
</RegistryKey>
|
</RegistryKey>
|
||||||
</RegistryKey>
|
</RegistryKey>
|
||||||
|
|
@ -160,6 +160,7 @@
|
||||||
Value="1"
|
Value="1"
|
||||||
KeyPath="yes" />
|
KeyPath="yes" />
|
||||||
</Component>
|
</Component>
|
||||||
|
|
||||||
</DirectoryRef>
|
</DirectoryRef>
|
||||||
|
|
||||||
<DirectoryRef Id="ApplicationProgramsFolder">
|
<DirectoryRef Id="ApplicationProgramsFolder">
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,12 @@
|
||||||
import { exit } from '@tauri-apps/api/process';
|
import { exit } from '@tauri-apps/api/process';
|
||||||
import { dataDir } from '@tauri-apps/api/path';
|
import { dataDir } from '@tauri-apps/api/path';
|
||||||
import { fetch } from '@tauri-apps/api/http';
|
import { fetch } from '@tauri-apps/api/http';
|
||||||
|
const pub = `-----BEGIN PUBLIC KEY-----
|
||||||
|
MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiAKBgHggU4nE398eHvM8ZLVLkTBuScf5
|
||||||
|
rIpqeeBdvwErxEYsAdrn55tgwN9t09BMJPapngGrbq+7K0g0nxyolZuBKwsv+8OE
|
||||||
|
5ZIYC8k6t282bLYelDKmwHU+tfnMS80x5I/XIJXBkAtj2ZYgk0dCtqtsHZlyBUu2
|
||||||
|
9wASD48oCaaEnre7AgMBAAE=
|
||||||
|
-----END PUBLIC KEY-----`
|
||||||
async function main() {
|
async function main() {
|
||||||
const matches = await getMatches();
|
const matches = await getMatches();
|
||||||
if (matches.args.first.value === false){
|
if (matches.args.first.value === false){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue