Updated path to electron-builder hashFile utility

This commit is contained in:
Tony 2021-03-05 08:07:09 -08:00
Родитель c9413ffa8e
Коммит f22610bd94
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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 `<SplitButton />` 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)

Просмотреть файл

@ -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,
};