Skip to content

Commit

Permalink
[56_1] make texmacs cache version-sensitive part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Sep 24, 2023
1 parent 303024a commit 08c8269
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/System/Misc/sys_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,15 @@ get_texmacs_home_path () {
url
get_tm_cache_path () {
#if defined(OS_WIN) || defined(OS_MINGW)
return url ("$LOCALAPPDATA/Xmacs/system/cache/" * XMACS_VERSION);
return url (string ("$LOCALAPPDATA/Xmacs/system/cache/") * XMACS_VERSION);
#endif
#if defined(OS_MACOS)
return url ("$HOME/Library/Caches/Xmacs/" * XMACS_VERSION);
return url (string ("$HOME/Library/Caches/Xmacs/") * XMACS_VERSION);
#endif
#if defined(OS_LINUX)
return url ("$XDG_CACHE_HOME/Xmacs/" * XMACS_VERSION);
return url (string ("$XDG_CACHE_HOME/Xmacs/") * XMACS_VERSION);
#endif
return url ("$TEXMACS_HOME_PATH/system/cache/" * XMACS_VERSION);
return url (string ("$TEXMACS_HOME_PATH/system/cache/") * XMACS_VERSION);
}

array<string>
Expand Down

0 comments on commit 08c8269

Please sign in to comment.