feat: copy the latest plugin release URL from the panel; release 0.1.2
ysj7705/mudfish-decky/pipeline/head This commit looks good
ysj7705/mudfish-decky/pipeline/head This commit looks good
Advanced shows the installed plugin version and the latest Gitea release. '최신 플러그인 주소 복사' puts the release zip URL on the clipboard for Decky's Install Plugin from URL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
371f5a3814
commit
d9015d43b9
6 files changed
+99
-2
No files matched your search
@@ -8,7 +8,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), "py_modules"))
|
||||
|
||||
import decky # noqa: E402
|
||||
|
||||
from mudfish_decky import installer, system # noqa: E402
|
||||
from mudfish_decky import installer, selfupdate, system # noqa: E402
|
||||
from mudfish_decky.client import MudfishClient # noqa: E402
|
||||
from mudfish_decky.controller import Controller # noqa: E402
|
||||
from mudfish_decky.relay import LoginRelay # noqa: E402
|
||||
@@ -41,6 +41,10 @@ class Plugin:
|
||||
async def stop_login(self) -> dict:
|
||||
return await asyncio.to_thread(self._get_controller().stop_login)
|
||||
|
||||
async def plugin_release(self) -> dict:
|
||||
latest = await asyncio.to_thread(selfupdate.latest_plugin_release)
|
||||
return {"current": decky.DECKY_PLUGIN_VERSION, "latest": latest}
|
||||
|
||||
async def install_mudfish(self) -> dict:
|
||||
return await asyncio.to_thread(self._get_controller().install)
|
||||
|
||||
|
||||
Reference in new issue
Block a user