git-project-manager icon indicating copy to clipboard operation
git-project-manager copied to clipboard

Support for VS Code portable mode

Open jrehwaldt opened this issue 6 years ago • 4 comments

VS Code added support for portable mode when the directory data is available alongside the binary on zip-versions.

This behavior is not yet supported by this project manager and manifests as follows:

Error: ENOENT: no such file or directory, open 'C:\Users\jrehwaldt\AppData\Roaming\Code - Insiders\User\gpm-recentItems.json'
	at Object.fs.openSync (fs.js:646:18)
	at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:172:20)
	at Object.fs.writeFileSync (fs.js:1303:33)
	at RecentItems.saveToFile (...\felipecaputo.git-project-manager-1.6.1\src\recentItems.js:34:12)
        at ...

This open PR fixes the exact same problem in another comparable plugin.

jrehwaldt avatar Aug 07 '18 11:08 jrehwaldt

Sorry for taking too long, I'm just fixing some errors with my latests PR and will take a look at this really soon

felipecaputo avatar Sep 19 '18 13:09 felipecaputo

Hi @jrehwaldt can you please validate if the MR #79 that was release on 1.7.0 fix this issue?

felipecaputo avatar Sep 19 '18 18:09 felipecaputo

The issue still persists, because MR #79 fixes an unrelated issue related to the name of the product. This issue is about the location of the config.

jrehwaldt avatar Sep 19 '18 18:09 jrehwaldt

Thanks for the quick reply, I'll look into this today

And release it on 1.7.1

felipecaputo avatar Sep 19 '18 19:09 felipecaputo