desktop: do not use tsc for building desktop app

This commit is contained in:
Abdullah Atta
2024-11-06 16:00:44 +05:00
parent ce98cea4e7
commit 52c8d0b86c
2 changed files with 2 additions and 2 deletions

View File

@@ -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`);

View File

@@ -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.");