fix it up

This commit is contained in:
SushiDesigner 2022-08-30 22:46:23 -06:00
parent 3e4953478a
commit fe6c4be707
2 changed files with 11 additions and 4 deletions

View File

@ -110,13 +110,13 @@
<RegistryKey Root="HKCU" Key="Software\\{{{manufacturer}}}\\{{{product_name}}}">
<RegistryValue Name="InstallDir" Type="string" Value="[INSTALLDIR]" KeyPath="yes" />
</RegistryKey>
<RegistryKey Root="HKCR" Key="meteorite-launch">
<RegistryValue Type="string" Value="meteorite-launch" />
<RegistryKey Root="HKCR" Key="meteorite-launch">
<RegistryValue Type="string" Value="URL:meteorite-launch" />
<RegistryValue Name="URL Protocol" Type="string" Value=""/>
<RegistryKey Key="shell">
<RegistryKey Key="open">
<RegistryKey Key="Open">
<RegistryKey Key="command">
<RegistryValue Type="string" Value='{{{app_exe_source}}} y "%1"'/>
<RegistryValue Type="string" Value='[INSTALLDIR]Meteorite.exe y %1'/>
</RegistryKey>
</RegistryKey>
</RegistryKey>
@ -160,6 +160,7 @@
Value="1"
KeyPath="yes" />
</Component>
</DirectoryRef>
<DirectoryRef Id="ApplicationProgramsFolder">

View File

@ -17,6 +17,12 @@
import { exit } from '@tauri-apps/api/process';
import { dataDir } from '@tauri-apps/api/path';
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() {
const matches = await getMatches();
if (matches.args.first.value === false){