Fixed some other minor things
This commit is contained in:
parent
58077b7d28
commit
78d9c68b22
@ -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<string[]>((resolve, reject) => packager(options, (err, appPaths) => err ? reject(err) : resolve(appPaths))).then(async app_paths => {
|
||||
new Promise<string[] | string>((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"));
|
||||
|
@ -3,6 +3,7 @@
|
||||
//
|
||||
|
||||
#include <cassert>
|
||||
#include <thread>
|
||||
#include "./AudioLevelMeter.h"
|
||||
#include "./processing/AudioVolume.h"
|
||||
#include "../logger.h"
|
||||
|
Loading…
Reference in New Issue
Block a user