Merge pull request #214 from tbraeutigam/NativeShell-Filesystem-Fallback

Fix Issue #213 - Direct Playback broken in Chrome 73
This commit is contained in:
Bond-009
2019-03-27 15:46:43 +01:00
committed by GitHub
+2
View File
@@ -6,11 +6,13 @@ define([], function () {
if (window.NativeShell && window.NativeShell.FileSystem) {
return window.NativeShell.FileSystem.fileExists(path);
}
return Promise.reject();
},
directoryExists: function (path) {
if (window.NativeShell && window.NativeShell.FileSystem) {
return window.NativeShell.FileSystem.directoryExists(path);
}
return Promise.reject();
}
};
});