summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2026-10-17 21:15:47 -0400
committerAAGaming <aagaming@riseup.net>2026-10-17 21:15:47 -0400
commit3d319c1a3364739da8efa8ab24690d897e6b5b06 (patch)
tree362b8b71a0f95cd07dd0330f5dc0ac19ecfe9c72
parentf94d6e5225c7cd636a5c958b8d504be39b45a9b6 (diff)
downloaddecky-loader-3d319c1a3364739da8efa8ab24690d897e6b5b06.tar.gz
decky-loader-3d319c1a3364739da8efa8ab24690d897e6b5b06.zip
-rw-r--r--backend/decky_loader/locales/en-US.json3
-rw-r--r--frontend/src/components/settings/pages/developer/index.tsx14
2 files changed, 14 insertions, 3 deletions
diff --git a/backend/decky_loader/locales/en-US.json b/backend/decky_loader/locales/en-US.json
index b0700cce..297cab05 100644
--- a/backend/decky_loader/locales/en-US.json
+++ b/backend/decky_loader/locales/en-US.json
@@ -328,8 +328,7 @@
},
"WarnThirdParty": {
"button_idle": "Continue",
- "button_processing_many": "Please wait {{timer}} seconds",
- "button_processing_one": "Please wait {{timer}} second",
+ "button_processing": "Please wait {{timer}} seconds",
"desc_repo": "The Decky Loader team does not maintain this plugin store. It and its plugins may contain malware, such as software to steal your Steam account or harm your device. By adding this store, you agree you have assumed all risks to your device.",
"desc_zip": "The Decky Loader team has not reviewed this plugin. It may contain malware, such as software to steal your Steam account or harm your device. By installing this plugin, you agree you have assumed all risks to your device.",
"title_repo": "Third-Party Store Selection",
diff --git a/frontend/src/components/settings/pages/developer/index.tsx b/frontend/src/components/settings/pages/developer/index.tsx
index 8691ff7b..8303b13e 100644
--- a/frontend/src/components/settings/pages/developer/index.tsx
+++ b/frontend/src/components/settings/pages/developer/index.tsx
@@ -62,7 +62,19 @@ export default function DeveloperSettings() {
label={t('SettingsDeveloperIndex.third_party_plugins.label_zip')}
icon={<FaFileArchive style={{ display: 'block' }} />}
>
- <DialogButton onClick={installFromZip}>
+ <DialogButton onClick={() => {
+ showModal(
+ <WarnThirdParty
+ type={WarnThirdPartyType.ZIP}
+ onOK={() => {
+ setAcceptedWarning(true);
+ installFromZip();
+ }}
+ onCancel={() => {}}
+ seconds={waitTime}
+ />,
+ )
+ }}>
{t('SettingsDeveloperIndex.third_party_plugins.button_zip')}
</DialogButton>
</Field>