I understand exactly how to do it on the command line:
Windows:. setx course "D: Programs;% COURSE%". Linux:. export course=$ COURSE:/ Home/Programming.
However exactly how do I do it from a Go program? The adjustments have to be relentless.
Typically any type of adjustments to the setting just influence the procedure itself as well as it’s youngsters.
As quickly as the procedure departures, all adjustments to the setting are failed to remember.
I suggested long-term, that the adjustments are preserved also after the program finishes.
I have actually done some examinations yet however the course constantly winds up unclean with folders that must not exist, I understand why that takes place yet I do not understand exactly how to prevent it.
My objective is to make them deal with Linux as well as Windows, comparable to exactly how Go changes the course variable when it is initial set up, Go does it without harming any one of the initial course material as well as simply includes its brand-new course.
Completely relies on exactly how you mount go, though most likely whatever you made use of, simply transformed your coverings RC data.
Some typical practices amongst installers …
It’s gross to do so without asking …