From 8d34c3bc29b77532034001b0c005c9bdbce08f98 Mon Sep 17 00:00:00 2001 From: Cecilia Sanare Date: Tue, 26 Mar 2024 12:42:48 -0500 Subject: [PATCH] fix: wrap environment variables values in quotes --- src/service/protontweaks.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/service/protontweaks.ts b/src/service/protontweaks.ts index a5bd57a..f06bda6 100644 --- a/src/service/protontweaks.ts +++ b/src/service/protontweaks.ts @@ -40,11 +40,9 @@ export function toLaunchOptions(app: App) { const launchOptions = []; - launchOptions.push(...environmentVariables.map(([key, value]) => `${key}=${value}`)); + launchOptions.push(...environmentVariables.map(([key, value]) => `${key}="${value}"`)); launchOptions.push('%command%'); launchOptions.push(...app.tweaks.args); - console.log(launchOptions); - return launchOptions.join(' '); }