vscode-portable
vscode-portable copied to clipboard
Applying updates
I can't apply updates, neither through auto-updates nor by manually overwriting files. The process is pretty unclear to me.
@Enamex You can download the newest release of the portable app and unzip the contents. All you have to do is go to the older folder and copy the "Data" folder and paste it into the new version.
I assume you could also setup a standard folder that you always unzip the new version to and overwrite the files, but I have not tried this out to verify. @garethflowers can you shed any light on that?
As @davidtaylorjr suggests the easiest way to upgrade is to grab an updated zip file and unzip over the top of an existing version.
If manually unzipping is the way forward, what benefits does this Portable version offer, versus just going over to https://code.visualstudio.com/ and grabbing the official .zip file?
@cardin By default, the archives you download from Visual Studio Code's website aren't truly portable: they save the user's data, settings and extensions in the current Windows user's AppData directory, instead of saving them in the directory you extracted Visual Studio Code to. Basically, the official 'portable' archives leave traces on the system.
What @garethflowers does in this repository is adapting the official archives to the PortableApps.com format (and adding some rules about handling data), so Visual Studio Code and all its settings (e.g.) are contained in one folder and no traces are left on whichever system VSCode is running on.
Ninja edit: To further clarify the difference, the official portable archives can't be used to work with the same VSCode profile on multiple computers; you have to start anew every time you use VSCode on a new computer. This version does allow you to take your configuration with you.
If anything in my comment is still unclear, feel free to ask any more questions you have.
Disclaimer: I'm not the maintainer/owner of this repository, but a mere contributor.
TL ;DR; what is the best way to upgrade existing Visual Studio Code Portable installation behind corporate proxy? The menu item "Update" is invisible, not active, not disabled.