vlc | branch: master | Steve Lhomme <[email protected]> | Tue Oct 17 16:41:09 2017 +0200| [ae8e41be9f5f1f92db5350d703953b25e44ab48b] | committer: Jean-Baptiste Kempf
win32:dirs: the cache folder should not be backed up in the cloud on winstore See LocalCacheFolder https://docs.microsoft.com/en-us/uwp/api/windows.storage.applicationdata#Windows_Storage_ApplicationData_LocalCacheFolder > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ae8e41be9f5f1f92db5350d703953b25e44ab48b --- src/win32/dirs.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/win32/dirs.c b/src/win32/dirs.c index 23fef44baa..73f296fbc6 100644 --- a/src/win32/dirs.c +++ b/src/win32/dirs.c @@ -256,8 +256,13 @@ char *config_GetUserDir (vlc_userdir_t type) return config_GetShellDir (CSIDL_PERSONAL); case VLC_CONFIG_DIR: case VLC_DATA_DIR: + return config_GetAppDir (); case VLC_CACHE_DIR: +#if !VLC_WINSTORE_APP return config_GetAppDir (); +#else + return config_GetShellDir (CSIDL_LOCAL_APPDATA); +#if case VLC_DESKTOP_DIR: case VLC_DOWNLOAD_DIR: _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
