Skip to content

Add Start Menu entry and desktop shortcut for Windows MSI installer#129

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/add-start-menu-shortcut-windows
Draft

Add Start Menu entry and desktop shortcut for Windows MSI installer#129
Copilot wants to merge 2 commits intomasterfrom
copilot/add-start-menu-shortcut-windows

Conversation

Copy link
Contributor

Copilot AI commented Mar 11, 2026

Windows users installing via MSI had no Start Menu entry or desktop shortcut created — the app was only accessible from the installation directory.

Changes

  • composeApp/build.gradle.kts: Added menuGroup and shortcut to the windows {} packaging block:
windows {
    iconFile.set(project.file("src/jvmMain/resources/icon.ico"))
    menuGroup = appDisplayName  // Creates "PRs Visualizer for GitHub" folder in Start Menu
    shortcut = true             // Creates desktop shortcut
}

These are standard jpackage properties forwarded by Compose Desktop's nativeDistributions DSL — no runtime code changes required.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • dl.google.com
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -Xmx3072M -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -cp /home/REDACTED/.gradle/wrapper/dists/gradle-8.14.3-bin/cv11ve7ro1n3o1j4so8xd9n66/gradle-8.14.3/lib/gradle-daemon-main-8.14.3.jar (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Windowsインストール時にスタートメニューに追加する</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: HayatoYagi <26685974+HayatoYagi@users.noreply.github.com>
Copilot AI changed the title [WIP] Add shortcut to Start Menu during Windows installation Add Start Menu entry and desktop shortcut for Windows MSI installer Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windowsインストール時にスタートメニューに追加する

2 participants