spotter icon indicating copy to clipboard operation
spotter copied to clipboard

Applications path hardcoded

Open exiva opened this issue 3 years ago • 1 comments
trafficstars

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

This seems to cause #93 https://github.com/spotter-application/spotter/blob/231c092e3b8467e7eb0ddb53866ff815512b8998/src/plugins/plugins-manager.plugin.ts#L96

Another spot it's hardcoded to /Applications as well

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

exiva avatar May 14 '22 16:05 exiva

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)

Zaitam avatar May 14 '22 16:05 Zaitam