spotter-application/spotter

Applications path hardcoded

Opened this issue · 1 comments

exiva commented

Applications path is hardcoded to /Applications again. Should be dynamic. References back to #86

This seems to cause #93

const appPath = '/Applications/spotter.app';

Another spot it's hardcoded to /Applications as well

https://github.com/spotter-application/visual-studio-code-plugin/blob/260fd47f9bd42ed63a7d70fbacc4ccfd1c2b2b2b/src/index.ts#L51

To find an app path by bundle id: 'mdfind kMDItemCFBundleIdentifier = BundleId'. This can be done with VSCode bundle id (com.microsoft.VSCode) but don't know how to self get spotter app without bundle id (Due to different signing depending on user signing)