Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rebase] Implement localized store #680

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
92bad1e
Implement localized store on main
Aug 10, 2024
df18d08
Merge branch 'SteamDeckHomebrew:main' into localized_store_main
RodoMa92 Sep 14, 2024
067e99d
Translations update from Weblate (#704)
WerWolvTranslationBot Sep 15, 2024
3711454
wait for SteamApp init stage 1 to finish before loading decky's front…
AAGaming00 Sep 16, 2024
2486bc5
shut ts up
AAGaming00 Sep 16, 2024
cfa4965
bump @decky/ui to include findSP fix
AAGaming00 Sep 16, 2024
d332f5e
Rebase semver parsing on main (#677)
RodoMa92 Sep 17, 2024
336211f
Fix missing components on Oct 2 2024 Steam Beta (#709)
AAGaming00 Oct 3, 2024
28be326
Translations update from Weblate (#707)
WerWolvTranslationBot Oct 3, 2024
35e694e
fix(http_request): remove conflicting CORS headers (#708)
FrogTheFrog Oct 4, 2024
5e7cb5b
Fix broken checkboxes on Beta Steam client (#710)
AAGaming00 Oct 4, 2024
89e9982
prevent future issues where toString may not be a function (what)
AAGaming00 Oct 11, 2024
b2b0a08
fix another toString
AAGaming00 Oct 11, 2024
46d4418
fix dropdownmultiselect on beta
AAGaming00 Oct 11, 2024
d97f66b
bump @decky/ui to fix issues on beta
AAGaming00 Oct 11, 2024
ef7a670
lint
AAGaming00 Oct 11, 2024
95d115a
Fixed plugin manual zip installation getting stuck indefinitely (#706)
SilentException Oct 13, 2024
f924cac
move check for if plugin was installed to the start of the function (…
PartyWumpus Oct 13, 2024
04e28ce
Update aiohttp (#716)
suchmememanyskill Oct 13, 2024
b7e9f34
Bump rollup from 4.18.0 to 4.22.4 in /frontend (#711)
dependabot[bot] Oct 13, 2024
67a0b25
Bump micromatch from 4.0.7 to 4.0.8 in /frontend (#714)
dependabot[bot] Oct 13, 2024
fec1700
Fix up json call
TrainDoctor Oct 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed plugin manual zip installation getting stuck indefinitely (#706)
SilentException authored and TrainDoctor committed Oct 13, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
phi-gamma Philipp Gesang
commit 95d115adfc6a3e7e197b3942883270bc4a61f868
14 changes: 13 additions & 1 deletion backend/decky_loader/browser.py
Original file line number Diff line number Diff line change
@@ -213,7 +213,19 @@ async def _install(self, artifact: str, name: str, version: str, hash: str):
return

else:
name = sub(r"/.+$", "", plugin_json_list[0])
plugin_json_file = plugin_json_list[0]
name = sub(r"/.+$", "", plugin_json_file)
try:
with plugin_zip.open(plugin_json_file) as f:
plugin_json_data = json.loads(f.read().decode('utf-8'))
plugin_name_from_plugin_json = plugin_json_data.get('name')
if plugin_name_from_plugin_json and plugin_name_from_plugin_json.strip():
logger.info(f"Extracted plugin name from {plugin_json_file}: {plugin_name_from_plugin_json}")
name = plugin_name_from_plugin_json
else:
logger.warning(f"Nonexistent or invalid 'name' key value in {plugin_json_file}. Falling back to extracting from path.")
except Exception as e:
logger.error(f"Failed to read or parse {plugin_json_file}: {str(e)}. Falling back to extracting from path.")

try:
pluginFolderPath = self.find_plugin_folder(name)