Merge pull request 'feat-001: add Start Menu shortcut to installer' (#3) from feat-001 into main

Reviewed-on: #3
This commit is contained in:
2026-05-17 15:30:07 +00:00
2 changed files with 20 additions and 1 deletions

View File

@@ -21,7 +21,8 @@
"Bash(git push *)",
"Bash(grep -n \"tray_icon::TrayIconEvent\\\\|tray_icon::menu::MenuEvent\\\\|set_event_handler\" ~/.cargo/registry/src/*/tray-icon-0.14*/src/lib.rs 2>/dev/null | head -20)",
"Bash(git add *)",
"Bash(git commit *)"
"Bash(git commit *)",
"Bash(git pull *)"
]
}
}

View File

@@ -85,6 +85,9 @@
<Property Id='DiskPrompt' Value='tickr Installation'/>
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramMenuFolder'>
<Directory Id='ApplicationProgramsFolder' Name='Tickr'/>
</Directory>
<Directory Id='$(var.PlatformProgramFilesFolder)' Name='PFiles'>
<Directory Id='APPLICATIONFOLDER' Name='tickr'>
<!--
@@ -120,6 +123,20 @@
Source='$(var.CargoTargetBinDir)\tickr.exe'
KeyPath='yes'/>
</Component>
<Component Id='ApplicationShortcut' Guid='*'>
<Shortcut Id='ApplicationStartMenuShortcut'
Name='Tickr'
Description='Tickr Stock Ticker'
Target='[Bin]tickr-launcher.exe'
WorkingDirectory='Bin'/>
<RemoveFolder Id='CleanUpShortcut' Directory='ApplicationProgramsFolder' On='uninstall'/>
<RegistryValue Root='HKCU'
Key='Software\Whitlocktech\Tickr'
Name='installed'
Type='integer'
Value='1'
KeyPath='yes'/>
</Component>
</Directory>
</Directory>
</Directory>
@@ -141,6 +158,7 @@
<ComponentRef Id='License'/>
<ComponentRef Id='binary0'/>
<ComponentRef Id='ApplicationShortcut'/>
<Feature
Id='Environment'