From fc764af05f7a4d785f80053508f97deffa3410c9 Mon Sep 17 00:00:00 2001 From: Moyasee Date: Fri, 12 Dec 2025 17:45:18 +0200 Subject: [PATCH] refactor(download-group): improve button structure and maintain translations for download actions --- src/main/services/decky-plugin.ts | 8 ++-- .../src/pages/downloads/download-group.tsx | 48 +++++++++---------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/main/services/decky-plugin.ts b/src/main/services/decky-plugin.ts index cb8999c3..cedc3b51 100644 --- a/src/main/services/decky-plugin.ts +++ b/src/main/services/decky-plugin.ts @@ -76,14 +76,14 @@ export class DeckyPlugin { try { await SevenZip.extractFile({ - filePath: zipPath, - outputPath: extractPath, + filePath: zipPath, + outputPath: extractPath, }); - logger.log(`Plugin extracted to: ${extractPath}`); + logger.log(`Plugin extracted to: ${extractPath}`); return extractPath; } catch { throw new Error("Failed to extract plugin"); - } + } } private static needsSudo(): boolean { diff --git a/src/renderer/src/pages/downloads/download-group.tsx b/src/renderer/src/pages/downloads/download-group.tsx index 52fbcdfd..66855bcf 100644 --- a/src/renderer/src/pages/downloads/download-group.tsx +++ b/src/renderer/src/pages/downloads/download-group.tsx @@ -331,35 +331,35 @@ function HeroDownloadView({ {!isGameExtracting && ( -
- {isGameDownloading ? ( - - ) : ( - - )} +
+ {isGameDownloading ? ( -
+ ) : ( + + )} + +
)}