feat: adding commonredist

This commit is contained in:
Chubby Granny Chaser
2025-04-02 15:35:40 +01:00
parent 56da86d63d
commit 01d440590b
15 changed files with 70 additions and 0 deletions

View File

@@ -234,6 +234,7 @@ declare global {
showItemInFolder: (path: string) => Promise<void>;
getFeatures: () => Promise<string[]>;
getBadges: () => Promise<Badge[]>;
installCommonRedist: () => Promise<void>;
platform: NodeJS.Platform;
/* Auto update */

View File

@@ -185,6 +185,10 @@ export function SettingsGeneral() {
})
}
/>
<Button onClick={() => window.electron.installCommonRedist()}>
{t("install_common_redist")}
</Button>
</div>
);
}