Print warnings for deprecated APIs
This commit is contained in:
parent
f0bd28ca8d
commit
91c4ed26fc
6 changed files with 55 additions and 51 deletions
|
@ -55,7 +55,7 @@ app.once 'ready', ->
|
|||
BrowserWindow = require 'browser-window'
|
||||
|
||||
# Load persistented extensions.
|
||||
loadedExtensionsPath = path.join app.getDataPath(), 'DevTools Extensions'
|
||||
loadedExtensionsPath = path.join app.getPath('userData'), 'DevTools Extensions'
|
||||
|
||||
try
|
||||
loadedExtensions = JSON.parse fs.readFileSync(loadedExtensionsPath)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue