Skip to content

v3.0.2#4

Merged
pQu4k3r merged 3 commits into
OwnerPlugins:mainfrom
pQu4k3r:develop
Jul 21, 2026
Merged

v3.0.2#4
pQu4k3r merged 3 commits into
OwnerPlugins:mainfrom
pQu4k3r:develop

Conversation

@pQu4k3r

@pQu4k3r pQu4k3r commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

No description provided.

pQu4k3r added 3 commits July 21, 2026 22:21
The dynamic-scripts refactor routed commands with
url.startswith("http"), but remote entries are complete command lines
starting with "wget ..." or "opkg ...", so every one of them fell into
the sh "<whole command>" branch and sh tried to open the command line
as a file ("cannot open wget -q ..."). Route on what actually
distinguishes the two kinds: local scripts are absolute paths.

Also sort the dynamic sh/ listing (listdir order is filesystem
dependent, so the tiles appeared in random order) and drop the unused
'icon' assignment that was failing the ruff workflow (F841).
translate_utils.py expects DEBUG, HEADERS and SYSTEM_DIR from the
package but they were never defined, so the module could not be
imported at all. Define them in __init__.py (HEADERS reuses the
plugin's User-Agent, SYSTEM_DIR is the plugin directory where
translation_cache.json already lives).

File_Commander: use the plugin's gettext catalog so the button labels
are translated again, and remove the dead title ternary that compared
a constant against a different constant.
Hotfix release: 3.0.1's Script Installer refactor broke every remote
entry (wget/opkg command lines were handed to sh as a filename).
Version bumped in __init__.py, CONTROL/control, installer.sh and the
README badge (which was still at 3.0.0); installer.sh changelog
updated for the in-plugin update prompt.
@pQu4k3r pQu4k3r self-assigned this Jul 21, 2026
@pQu4k3r
pQu4k3r merged commit d3c807f into OwnerPlugins:main Jul 21, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant