I’ve had several requests for a portable (i.e., setup-less) version of Sublime Text, and while there is currently the --data command line parameter that is enough to enable it, it’s still more work to setup than it needs to be. My current plan for this is:
-
If there’s a directory called ‘Data’ in the same directory as sublimetext.exe, then use that as the data directory, and not %APPDATA%/Sublime Text.
-
Provide a downloadable .zip in addition to the setup exe, that would be otherwise identical, but contain a Data subdirectory to trigger the above behaviour.
Are there any scenarios for a portable version that the above wouldn’t cover?
Also, I’m vaguely considering moving to an automatic update system in the future, is there some sort of consensus about whether a portable version should participate in this or not?