Update tsc.ts

This commit is contained in:
Izuco 2022-01-29 20:33:47 +01:00
parent df764a8620
commit 1546300832
No known key found for this signature in database
GPG key ID: E9CBE9E4EF3A1BFA

4
tsc.ts
View file

@ -60,7 +60,9 @@ export { ignore };
}
process.stdout.write('✓\nCopying files... ');
copyDir(path.join(__dirname, 'gui', 'react', 'build'), path.join(__dirname, 'lib', 'gui', 'electron', 'build'));
if (!isTest) {
copyDir(path.join(__dirname, 'gui', 'react', 'build'), path.join(__dirname, 'lib', 'gui', 'electron', 'build'));
}
const files = readDir(__dirname);
files.forEach(item => {