possibility to import version + cpu usage optimization

This commit is contained in:
MathieuG-P
2023-01-23 00:56:49 +01:00
parent 2d60acce51
commit 0ff8e865aa
23 changed files with 307 additions and 72 deletions
@@ -156,4 +156,9 @@ export class BsDownloaderService{
return this.ipcService.send<string>("bs-download.set-installation-folder", {args: path});
}
public async importVersion(pathToImport: string): Promise<boolean>{
const res = await this.ipcService.send<void>("bs-download.import-version", {args: pathToImport});
return res.success;
}
}