From ac4b23b5d960c6edf959c07d52e34cecc29f73ae Mon Sep 17 00:00:00 2001 From: Flavio Lima Date: Thu, 31 Dec 2020 20:06:30 +0100 Subject: [PATCH] fix: removed winetricks and sync-saves button --- public/main.js | 4 +--- src/components/UI/GameConfig.tsx | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/public/main.js b/public/main.js index abce68516a..85124a9575 100644 --- a/public/main.js +++ b/public/main.js @@ -63,9 +63,7 @@ ipcMain.handle("legendary", async (event, args) => { const isAuth = args.includes("auth"); if (isLaunch) { - await execAsync(`${legendaryBin} ${args}`).then( - async () => await execAsync(`${legendaryBin} sync-saves ${args.split(' ')[1]}`) - ); + await execAsync(`${legendaryBin} ${args}`) } if (!isLaunch && !isAuth) { diff --git a/src/components/UI/GameConfig.tsx b/src/components/UI/GameConfig.tsx index a6f6f2267a..8f84a98577 100644 --- a/src/components/UI/GameConfig.tsx +++ b/src/components/UI/GameConfig.tsx @@ -49,7 +49,7 @@ export default function GameConfig({ location }: Card) {
Installed: {`${isInstalled ? "Yes" : "No"}`} - appName: {appName} +
appName: {appName}
Developer: {developer}
{isInstalled && ( <> @@ -75,7 +75,6 @@ export default function GameConfig({ location }: Card) { > {playing ? "Playing" : "Play"}
-
legendary(`sync-saves ${appName}`)} className="button">Sync Saves
)}
{`${isInstalled ? "Uninstall" : installing ? "Installing" : "Install"}`}
-
Winetricks
createNewWindow(formatStoreUrl(title))} className="button">Epic Store
createNewWindow(protonDBurl)} className="button">ProtonDB