Update to v0.1.4

Add `is_function_in_file` and if the key is "<ORIGINAL>", the `TranslationManager.translate()` will return it directly. (For some strings that don't need to translate in specific language)

Launcher
Update to 0.1.0a0

Add plugin system support and add some useful apis for plugin.
Add "Refresh avatar cache" to account page.
This commit is contained in:
wei committed 2026-10-30 00:16:04 +08:00
1 parent deb06f0190
commit c3662d4cc6
34 files changed
+2192 -57

No files matched your search

@@ -1,7 +1,10 @@
from TapLauncher import Plugin
from TapLauncher import Plugin, PluginContext
class ExperimentalFarm(Plugin):
pass
def entry(context: dict) -> None:
pass
def entry(context: PluginContext) -> None:
context.data_dir.mkdir(parents=True, exist_ok=True)
context.logger.info("Experimental Farm initialized")
list_apis = context.get_api("launcher.apis.list")
context.logger.debug("Available launcher APIs: %s", list_apis())
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

@@ -1,5 +1,8 @@
group = "net.wei"
id = "experimentalfarm"
name = "Experimental Farm"
version = ">=1"
entrypoint = "__init__.py:entry"
name = "實驗田"
version = "1.0.0"
api_version = ">=0.0.1"
entrypoint = "__init__.py:entry" # Python file name:endpoint
icon = "nugget.gif" # Relative to this plugin directory; GIF, PNG, JPG or BMP
description = "A experimental plugin!"