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?