Remove old method of opening instance folder

This commit is contained in:
Pierce Thompson
2023-06-28 15:31:14 -04:00
parent be0f9d3305
commit 896a68f215
-1
View File
@@ -38,7 +38,6 @@ ipcMain.on('bs-version.installed-versions', async (event, req: IpcRequest<void>)
ipcMain.on("bs-version.open-folder", async (event, req: IpcRequest<BSVersion>) => {
const localVersionService = BSLocalVersionService.getInstance();
const versionFolder = await localVersionService.getVersionPath(req.args);
(await pathExist(versionFolder)) && exec(`start "" "${versionFolder}"`);
if (!(await pathExist(versionFolder)))
return;
shell.openPath(versionFolder);