From f22610bd9480a223c1d6199ee34a2fe2f614ccff Mon Sep 17 00:00:00 2001 From: Tony Date: Fri, 5 Mar 2021 08:07:09 -0800 Subject: [PATCH] Updated path to electron-builder hashFile utility --- CHANGELOG.md | 1 + packages/app/main/scripts/common.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa6080cea..660f0d76b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [main] Fixed a bug where we were expecting the incorrect shape from Electron's updated `dialog.showOpenDialog()` API in PR [2237](https://github.com/microsoft/BotFramework-Emulator/pull/2237) - [main] Fixed a bug that was causing Electron's native context menu to silently fail when selecting an option in PR [2238](https://github.com/microsoft/BotFramework-Emulator/pull/2238) - [client] Fixed an aligment issue with the caret button of the `` widget in PR [2239](https://github.com/microsoft/BotFramework-Emulator/pull/2239) +- [main] Fixed an outdated path to an `electron-builder` utility function used to generate the auto update yaml files in PR [2240](https://github.com/microsoft/BotFramework-Emulator/pull/2240) ## v4.11.0 - 2020 - 11 - 05 - [client] Moved from master to main as the default branch. [2194](https://github.com/microsoft/BotFramework-Emulator/pull/2194) diff --git a/packages/app/main/scripts/common.js b/packages/app/main/scripts/common.js index a596e34da..88b4f3763 100644 --- a/packages/app/main/scripts/common.js +++ b/packages/app/main/scripts/common.js @@ -33,10 +33,10 @@ /** Hashes a file asynchronously */ function hashFileAsync(filename, algo = 'sha512', encoding = 'base64') { - var builderUtil = require('builder-util'); + var builderUtil = require('app-builder-lib/out/util/hash'); return builderUtil.hashFile(filename, algo, encoding); } module.exports = { - hashFileAsync + hashFileAsync, };