feat-001: add Start Menu shortcut to installer #3

Merged
whitlocktech merged 1 commits from feat-001 into main 2026-05-17 15:30:10 +00:00
2 changed files with 20 additions and 1 deletions
Showing only changes of commit df6dc2f28c - Show all commits

View File

@@ -21,7 +21,8 @@
"Bash(git push *)", "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(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 add *)",
"Bash(git commit *)" "Bash(git commit *)",
"Bash(git pull *)"
] ]
} }
} }

View File

@@ -85,6 +85,9 @@
<Property Id='DiskPrompt' Value='tickr Installation'/> <Property Id='DiskPrompt' Value='tickr Installation'/>
<Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramMenuFolder'>
<Directory Id='ApplicationProgramsFolder' Name='Tickr'/>
</Directory>
<Directory Id='$(var.PlatformProgramFilesFolder)' Name='PFiles'> <Directory Id='$(var.PlatformProgramFilesFolder)' Name='PFiles'>
<Directory Id='APPLICATIONFOLDER' Name='tickr'> <Directory Id='APPLICATIONFOLDER' Name='tickr'>
<!-- <!--
@@ -120,6 +123,20 @@
Source='$(var.CargoTargetBinDir)\tickr.exe' Source='$(var.CargoTargetBinDir)\tickr.exe'
KeyPath='yes'/> KeyPath='yes'/>
</Component> </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> </Directory>
</Directory> </Directory>
@@ -141,6 +158,7 @@
<ComponentRef Id='License'/> <ComponentRef Id='License'/>
<ComponentRef Id='binary0'/> <ComponentRef Id='binary0'/>
<ComponentRef Id='ApplicationShortcut'/>
<Feature <Feature
Id='Environment' Id='Environment'