Skip to content

Commit

Permalink
Update requestFileSystem.js
Browse files Browse the repository at this point in the history
Fixes for apache#334
  • Loading branch information
regnete authored Aug 23, 2023
1 parent faba1bf commit 89ee2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/requestFileSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
(function () {
// For browser platform: not all browsers use this file.
function checkBrowser () {
if (cordova.platformId === 'browser' && require('./isChrome')()) {
if ((cordova.platformId === 'browser' || cordova.platformId === 'electron') && require('./isChrome')()) {
module.exports = window.requestFileSystem || window.webkitRequestFileSystem;
return true;
}
Expand Down

0 comments on commit 89ee2c6

Please sign in to comment.