refactor: remove the ability to update tipi through the ui

This commit is contained in:
Nicolas Meienberger 2023-09-02 19:21:18 +02:00
parent e9da22f686
commit 49f025e188

View file

@ -407,18 +407,15 @@ export class SystemExecutors {
bar.stop(); bar.stop();
this.logger.error(`Failed to download Tipi: ${err}`); this.logger.error(`Failed to download Tipi: ${err}`);
spinner.fail(`\nFailed to download Tipi ${targetVersion}`); spinner.fail(`\nFailed to download Tipi ${targetVersion}`);
writer.close();
reject(err); reject(err);
}); });
writer.on('finish', () => { writer.on('finish', () => {
this.logger.info('Download complete'); this.logger.info('Download complete');
bar.stop(); bar.stop();
writer.close(() => {
resolve(''); resolve('');
}); });
}); });
});
}).catch((e) => { }).catch((e) => {
this.logger.error(`Failed to download Tipi: ${e}`); this.logger.error(`Failed to download Tipi: ${e}`);
spinner.fail(`\nFailed to download Tipi ${targetVersion}. Please make sure this version exists on GitHub.`); spinner.fail(`\nFailed to download Tipi ${targetVersion}. Please make sure this version exists on GitHub.`);