@@ -22,24 +22,28 @@ def package_icons_path():
2222
2323
2424def overlay_path ():
25+ return os .path .join (sublime .packages_path (), OVERLAY_ROOT )
26+
27+
28+ def overlay_cache_path ():
2529 return os .path .join (sublime .cache_path (), OVERLAY_ROOT )
2630
2731
2832def overlay_aliases_path (file_name = "" ):
29- return os .path .join (sublime .cache_path (), OVERLAY_ROOT , "aliases" , file_name )
33+ return os .path .join (sublime .packages_path (), OVERLAY_ROOT , "aliases" , file_name )
3034
3135
3236def overlay_patches_path ():
33- return os .path .join (sublime .cache_path (), OVERLAY_ROOT , "patches" )
37+ return os .path .join (sublime .packages_path (), OVERLAY_ROOT , "patches" )
3438
3539
3640def overlay_patches_general_path ():
37- return os .path .join (sublime .cache_path (), OVERLAY_ROOT , "patches" , "general" )
41+ return os .path .join (sublime .packages_path (), OVERLAY_ROOT , "patches" , "general" )
3842
3943
4044def overlay_patches_specific_path ():
41- return os .path .join (sublime .cache_path (), OVERLAY_ROOT , "patches" , "specific" )
45+ return os .path .join (sublime .packages_path (), OVERLAY_ROOT , "patches" , "specific" )
4246
4347
4448def overlay_aliases_resource_path (file_name = "" ):
45- return "Cache /{}/aliases/{}" .format (OVERLAY_ROOT , file_name )
49+ return "Packages /{}/aliases/{}" .format (OVERLAY_ROOT , file_name )
0 commit comments