22import sublime
33
44PACKAGE_NAME , * _ = __package__ .split ("." , 1 )
5- OVERLAY_ROOT = "{0} {1} {0} " .format ("zzz" , PACKAGE_NAME )
5+ OVERLAY_ROOT = "{0} {1}" .format ("zzz" , PACKAGE_NAME )
66
77
88def makedirs (* args ):
@@ -22,28 +22,24 @@ 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 ():
2925 return os .path .join (sublime .cache_path (), OVERLAY_ROOT )
3026
3127
3228def overlay_aliases_path (file_name = "" ):
33- return os .path .join (sublime .packages_path (), OVERLAY_ROOT , "aliases" , file_name )
29+ return os .path .join (sublime .cache_path (), OVERLAY_ROOT , "aliases" , file_name )
3430
3531
3632def overlay_patches_path ():
37- return os .path .join (sublime .packages_path (), OVERLAY_ROOT , "patches" )
33+ return os .path .join (sublime .cache_path (), OVERLAY_ROOT , "patches" )
3834
3935
4036def overlay_patches_general_path ():
41- return os .path .join (sublime .packages_path (), OVERLAY_ROOT , "patches" , "general" )
37+ return os .path .join (sublime .cache_path (), OVERLAY_ROOT , "patches" , "general" )
4238
4339
4440def overlay_patches_specific_path ():
45- return os .path .join (sublime .packages_path (), OVERLAY_ROOT , "patches" , "specific" )
41+ return os .path .join (sublime .cache_path (), OVERLAY_ROOT , "patches" , "specific" )
4642
4743
4844def overlay_aliases_resource_path (file_name = "" ):
49- return "Packages /{}/aliases/{}" .format (OVERLAY_ROOT , file_name )
45+ return "Cache /{}/aliases/{}" .format (OVERLAY_ROOT , file_name )
0 commit comments