feat: v0.2.0 — real branding, desktop shortcut, WiX installer images
Some checks failed
Release / build-windows (push) Has been cancelled
Some checks failed
Release / build-windows (push) Has been cancelled
This commit is contained in:
37
src-tauri/wix/desktop-shortcut.wxs
Normal file
37
src-tauri/wix/desktop-shortcut.wxs
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
WiX fragment: desktop shortcut for PSG Launcher.
|
||||
|
||||
Tauri's generated main.wxs already declares DesktopFolder at line 94,
|
||||
so we reference it directly — no need to redeclare it here.
|
||||
|
||||
Referenced from tauri.conf.json:
|
||||
bundle.windows.wix.fragmentPaths → ["wix/desktop-shortcut.wxs"]
|
||||
bundle.windows.wix.componentRefs → ["DesktopShortcutComponent"]
|
||||
-->
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Fragment>
|
||||
<DirectoryRef Id="DesktopFolder">
|
||||
<Component Id="DesktopShortcutComponent"
|
||||
Guid="E3A7F2B1-4C8D-4E9A-B3F6-1D2E5A7C9B0F">
|
||||
|
||||
<Shortcut Id="PSGLauncherDesktopShortcut"
|
||||
Name="PSG Launcher"
|
||||
Description="PSG Launcher — all-in-one app launcher"
|
||||
Target="[APPLICATIONFOLDER]psg-launcher.exe"
|
||||
WorkingDirectory="APPLICATIONFOLDER" />
|
||||
|
||||
<RemoveFolder Id="RemoveDesktopFolder"
|
||||
Directory="DesktopFolder"
|
||||
On="uninstall" />
|
||||
|
||||
<RegistryValue Root="HKCU"
|
||||
Key="Software\PSG\Launcher"
|
||||
Name="DesktopShortcut"
|
||||
Type="integer"
|
||||
Value="1"
|
||||
KeyPath="yes" />
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
</Fragment>
|
||||
</Wix>
|
||||
Reference in New Issue
Block a user