diff --git a/app.coffee b/app.coffee index 38e9734ca..10edd4079 100644 --- a/app.coffee +++ b/app.coffee @@ -5,10 +5,10 @@ path = require 'path-extra' fs = require 'fs-extra' # Patch fs for current Electron -fs.accessSync = (filePath, mode) -> - if fs.existsSync(filePath) - return true - throw new Error("ENOENT: no such file or directory, access '#{filePath}'") +#fs.accessSync = (filePath, mode) -> +# if fs.existsSync(filePath) +# return true +# throw new Error("ENOENT: no such file or directory, access '#{filePath}'") # Environment global.POI_VERSION = app.getVersion()