Skip to content

Commit

Permalink
chore: upgrade rcedit to ^2.0.0 (#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Jun 20, 2019
1 parent c3a499a commit 14625fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -28,7 +28,7 @@
"get-package-info": "^1.0.0",
"parse-author": "^2.0.0",
"plist": "^3.0.0",
"rcedit": "^1.0.0",
"rcedit": "^2.0.0",
"resolve": "^1.1.6",
"sanitize-filename": "^1.6.0",
"semver": "^6.0.0",
Expand Down
3 changes: 1 addition & 2 deletions src/win32.js
Expand Up @@ -2,7 +2,6 @@

const debug = require('debug')('electron-packager')
const path = require('path')
const { promisify } = require('util')

const App = require('./platform')
const common = require('./common')
Expand Down Expand Up @@ -92,7 +91,7 @@ class WindowsApp extends App {
}

debug(`Running rcedit with the options ${JSON.stringify(rcOpts)}`)
return promisify(require('rcedit'))(this.electronBinaryPath, rcOpts)
return require('rcedit')(this.electronBinaryPath, rcOpts)
} catch (err) {
// Icon might be omitted or only exist in one OS's format, so skip it if normalizeExt reports an error
/* istanbul ignore next */
Expand Down

0 comments on commit 14625fb

Please sign in to comment.