What's the easiest way to add the path for one PA app to another? I have the following PA apps:
* VSCode Portable
* Git Portable
* NodeJS Portable
Right now, I'm getting around the PATH issue by essentially stuffing all the paths into my GitPortable Environment section in the launcher ini and launching apps from there, but that gets reset each time I rebuild Git Portable.
I see that there is an AppNamePortable.ini in the Other/Source folder, but that doesn't seem to be able to override environment variables.
Thanks in advance.
If the
[Environment]
section gets reset on each update why don't you include it ([Environment]
section onGitPortable.ini
) to PAF installer? Moreover, you can just replace every files inGit
app folder with newer Git version without using PAF installer to update it.And why add VSCode and NodeJS
PATH
to Git Portable? Doesn't VSCode has built-in Git integration?I have built a custom VSCode Portable which may do the trick for you (auto-detect Git but no NodeJS support yet since I'm unfamiliar with it), take a look especially on
VSCodePortable.ini
andCustom.nsh
, you can modify it to suit your own need.VSCode has built-in git support, but it doesn't come with git, which is why I'm trying to get the portable versions to see each other. Same goes for nodeJS. Like I mentioned in my original post, I'm getting around the missing paths by adding them to the Git Portable environment section, but I lose that section each time I rebuild the git portable as it is custom added.
I think that PortableApps just aren't meant to do things like this, unfortunately. I wish that there could be a file restructuring that would include a central HOME and bin-like folders to ease inter-app communication, but I'm not willing to fork every app I have just to have this restructure.
Well.. I mean why add VSCode and NodeJS to Git environment? Isn't it the opposite (add Git and NodeJS to VSCode environment)? Based on my personal experience, if you use VSCode integrated build task then almost everything can be done inside VSCode (without switching between programs).
And have you checked my VSCode Portable build yet? I made custom section called
CustomPath
where it will autodetect Git as long as it's located onPARENT-DIRECTORY\CommonFiles\Git
folder. For NodeJS, you can place it onPARENT-DIRECTORY\CommonFiles\Custom
since I haven't added NodeJS support yet. It's still not perfect but I'm trying to improve it from time to time. Will probably add NodeJS support and move INI location to launcher directory on next update if you need something like that.