diff --git a/installer/build.ts b/installer/build.ts index 05657f2..23491f5 100644 --- a/installer/build.ts +++ b/installer/build.ts @@ -1,5 +1,5 @@ import {Options} from "electron-packager"; -import packager from "electron-packager" +import * as packager from "electron-packager" const pkg = require('../package.json'); if(pkg.name !== "TeaClient") { @@ -344,7 +344,7 @@ async function downloadBundledUiPack(channel: string, targetDirectory: string) { } let path; -new Promise((resolve, reject) => packager(options, (err, appPaths) => err ? reject(err) : resolve(appPaths))).then(async app_paths => { +new Promise((resolve, reject) => packager(options, (err, appPaths) => err ? reject(err) : resolve(appPaths))).then(async app_paths => { console.log("Copying changelog file!"); /* We dont have promisify in our build system */ await fs.copy(path_helper.join(options.dir, "github", "ChangeLog.txt"), path_helper.join(app_paths[0], "ChangeLog.txt")); diff --git a/native/serverconnection/src/audio/AudioLevelMeter.cpp b/native/serverconnection/src/audio/AudioLevelMeter.cpp index ade5a72..70b15b7 100644 --- a/native/serverconnection/src/audio/AudioLevelMeter.cpp +++ b/native/serverconnection/src/audio/AudioLevelMeter.cpp @@ -3,6 +3,7 @@ // #include +#include #include "./AudioLevelMeter.h" #include "./processing/AudioVolume.h" #include "../logger.h"