fix: fixing tsc errors

This commit is contained in:
Hydra
2024-05-12 13:29:12 +01:00
parent 13743cd7a5
commit c29f28dbdd
22 changed files with 79 additions and 100 deletions

View File

@@ -28,8 +28,8 @@ export const generateYML = (game: Game) => {
{
task: {
executable: path.join(
game.downloadPath,
game.folderName,
game.downloadPath!,
game.folderName!,
"setup.exe"
),
name: "wineexec",

View File

@@ -21,7 +21,7 @@ const openGameInstaller = async (
const gamePath = path.join(
game.downloadPath ?? (await getDownloadsPath()),
game.folderName
game.folderName!
);
if (!fs.existsSync(gamePath)) {