6.7.0 - Alpha23 - AutoJs6 应用快捷方式菜单增加 "插件" 菜单项

This commit is contained in:
SuperMonster003
2026-03-07 13:15:52 +08:00
parent 2e2a6c33be
commit 1693be6308
3 changed files with 26 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -47,4 +47,17 @@
android:targetClass="org.autojs.autojs.ui.log.LogActivity" />
<categories android:name="android.shortcut.conversation" />
</shortcut>
<shortcut
android:shortcutId="id_launcher_shortcut_plugins"
android:enabled="true"
android:icon="@mipmap/ic_app_shortcut_plugin_center_adaptive"
android:shortcutShortLabel="@string/text_app_shortcut_plugin_center_short_label"
android:shortcutLongLabel="@string/text_app_shortcut_plugin_center_long_label"
android:shortcutDisabledMessage="@string/text_app_shortcut_disabled">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="org.autojs.autojs6"
android:targetClass="org.autojs.autojs.core.plugin.center.PluginCenterActivity" />
<categories android:name="android.shortcut.conversation" />
</shortcut>
</shortcuts>

View File

@@ -47,4 +47,17 @@
android:targetClass="org.autojs.autojs.ui.log.LogActivity" />
<categories android:name="android.shortcut.conversation" />
</shortcut>
<shortcut
android:shortcutId="id_launcher_shortcut_plugins"
android:enabled="true"
android:icon="@drawable/ic_app_shortcut_plugin_center_green"
android:shortcutShortLabel="@string/text_app_shortcut_plugin_center_short_label"
android:shortcutLongLabel="@string/text_app_shortcut_plugin_center_long_label"
android:shortcutDisabledMessage="@string/text_app_shortcut_disabled">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="org.autojs.autojs6"
android:targetClass="org.autojs.autojs.core.plugin.center.PluginCenterActivity" />
<categories android:name="android.shortcut.conversation" />
</shortcut>
</shortcuts>