mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
desktop: do not use tsc for building desktop app
This commit is contained in:
@@ -63,7 +63,7 @@ if (args.variant === "mas") {
|
|||||||
await exec(`yarn run bundle`);
|
await exec(`yarn run bundle`);
|
||||||
}
|
}
|
||||||
|
|
||||||
await exec(`yarn tsc`);
|
await exec(`yarn run build`);
|
||||||
|
|
||||||
if (args.run) {
|
if (args.run) {
|
||||||
await exec(`yarn electron-builder --dir --x64`);
|
await exec(`yarn electron-builder --dir --x64`);
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ async function onChange(first) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
await exec(`yarn run bundle`);
|
await exec(`yarn run bundle`);
|
||||||
execAsync(`yarn`, [`tsc`]);
|
await exec(`yarn run build`);
|
||||||
|
|
||||||
if (await isBundleSame()) {
|
if (await isBundleSame()) {
|
||||||
console.log("Bundle is same. Doing nothing.");
|
console.log("Bundle is same. Doing nothing.");
|
||||||
|
|||||||
Reference in New Issue
Block a user