Separate bundle identifier and app icon for debug builds #79
groundwater
started this conversation in
Roadmap
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Debug and release builds of GhostVM use the same bundle identifier (
org.ghostvm.ghostvm), so macOS treats them as the same app. You can't run both side by side during development.Proposed Solution
Use a separate bundle identifier and app icon for debug builds so they can coexist with a release install:
org.ghostvm.ghostvm.debug(Debug) vsorg.ghostvm.ghostvm(Release)org.ghostvm.ghostvm.helper.debug(Debug) vsorg.ghostvm.ghostvm.helper(Release)Implementation Notes
project.yml(configs: Debug:block) for bundle ID and display nameVMApp-Info.plistandGhostVMHelper/Info.plistuse$(GHOSTVM_DISPLAY_NAME)variable instead of hardcoded "GhostVM"Makefiledebug:target copies debug-specific icon filesAppIconAdapter.swiftneeds no changes — icon files are named the same, just swapped at build time~/Library/Application Support/GhostVM/is shared (same VMs visible in both builds)Beta Was this translation helpful? Give feedback.
All reactions