Files
Launcher/resources/builtin_plugins/experimental_farm/__init__.py
T
wei c3662d4cc6 CoreLib
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.
2026-10-30 00:16:04 +08:00

10 lines
367 B
Python

from TapLauncher import Plugin, PluginContext
class ExperimentalFarm(Plugin):
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())