feat: make it possible to select shortcuts (.lnk)

This commit is contained in:
Zamitto
2024-06-27 18:05:07 -03:00
parent 82f72071f9
commit 7be626b3dd
5 changed files with 27 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
import { gameRepository } from "@main/repository";
import { registerEvent } from "../register-event";
import { parseExecutablePath } from "../helpers/parse-executable-path";
const updateExecutablePath = async (
_event: Electron.IpcMainInvokeEvent,
@@ -12,7 +13,7 @@ const updateExecutablePath = async (
id,
},
{
executablePath,
executablePath: parseExecutablePath(executablePath),
}
);
};