Skip to content

Commit

Permalink
Remove asar patch
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzhao committed Jun 22, 2015
1 parent a7ab7f9 commit a5933d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a5933d2

Please sign in to comment.