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();
this.logger.error(`Failed to download Tipi: ${err}`);
spinner.fail(`\nFailed to download Tipi ${targetVersion}`);
writer.close();
reject(err);
});
writer.on('finish', () => {
this.logger.info('Download complete');
bar.stop();
writer.close(() => {
resolve('');
});
});
});
}).catch((e) => {
this.logger.error(`Failed to download Tipi: ${e}`);
spinner.fail(`\nFailed to download Tipi ${targetVersion}. Please make sure this version exists on GitHub.`);