fix file.create: don't create an .empty folder on devices with new API support
feat docs: add Frequently Asked Questions section
This commit is contained in:
@ -84,7 +84,9 @@ export async function createDirectory(...args) {
|
||||
let parent = await root();
|
||||
|
||||
return parent.createDirectory(...args).then(() => {
|
||||
return createFile(args[0] + '/.empty');
|
||||
if (window.needsShim) {
|
||||
return createFile(args[0] + '/.empty');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user