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
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();
}