1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

move some files to more reasonable locations

This commit is contained in:
dkanada 2020-04-24 23:37:27 +09:00
parent 3bcadd7605
commit 1843927576
16 changed files with 13 additions and 12 deletions

13
src/scripts/filesystem.js Normal file
View file

@ -0,0 +1,13 @@
export function fileExists(path) {
if (window.NativeShell && window.NativeShell.FileSystem) {
return window.NativeShell.FileSystem.fileExists(path);
}
return Promise.reject();
}
export function directoryExists(path) {
if (window.NativeShell && window.NativeShell.FileSystem) {
return window.NativeShell.FileSystem.directoryExists(path);
}
return Promise.reject();
}