refactor: remove the ability to update tipi through the ui
This commit is contained in:
parent
e9da22f686
commit
49f025e188
1 changed files with 1 additions and 4 deletions
|
@ -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.`);
|
||||||
|
|
Loading…
Reference in a new issue