Closed deathaxe closed 4 years ago
Thanks for reporting this! I don’t use sublime.cache_path()
most due to historical reasons of paths being used before the plugin is loaded. Based on your bug report I’ll work on refactoring it.
67ef2e02fef941c01694a52c5dfc3a08f86fbe49 should hopefully fix this.
As of commit f305a338a71e5574f2bd41fab5f0c0065a7126ac Package Control raises an exception with expected cache paths not to exist.
The reason are the following lines:
https://github.com/wbond/package_control/blob/3cd5839c20b24efe8bf1bc50bb5e4af5f837ba38/package_control/sys_path.py#L90-L98
Please rely on
sublime.cache_path()
if available.ST portable should propably not use
%LOCALAPPDATA%
or any other path outside of<install_dir>/data/
.I don't use
%APPDATA%
to store ST / SM data at all, so it seems weird to have the new cache paths anywhere there.