Skip to content

Commit

Permalink
fix: update rcedit.exe for better error messages (#41)
Browse files Browse the repository at this point in the history
* chore: point the rcedit update script at the updated CI artifacts
  • Loading branch information
malept authored May 2, 2019
1 parent 1a80dbb commit 6524795
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified bin/rcedit.exe
Binary file not shown.
6 changes: 3 additions & 3 deletions script/download-latest-rcedit.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ const fs = require('fs')
const got = require('got')
const path = require('path')

const downloadURL = 'https://ci.appveyor.com/api/projects/electron-bot/rcedit/artifacts/Default/rcedit.exe?job=Image:%20Visual%20Studio%202015&branch=master'
const filePath = path.join(__dirname, '..', 'bin', 'rcedit.exe')
const downloadURL = 'https://ci.appveyor.com/api/projects/zcbenz/rcedit/artifacts/Default/rcedit-x86.exe?job=Platform:%20Win32'
const filePath = path.resolve(__dirname, '..', 'bin', 'rcedit.exe')

process.on('uncaughtException', (error) => {
process.on('uncaughtException', error => {
console.log('Downloading rcedit.exe failed:', error.message)
})

Expand Down

0 comments on commit 6524795

Please sign in to comment.