From e33f97812acee18568cf4863a172478a4a4a0fbe Mon Sep 17 00:00:00 2001 From: Ayideyia <150233177+Ayideyia@users.noreply.github.com> Date: Mon, 6 Jan 2025 22:16:40 +0800 Subject: [PATCH] Update plugin-share-profile-to-phone --- plugins/GFS/plugin-share-profile-to-phone.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/plugins/GFS/plugin-share-profile-to-phone.js b/plugins/GFS/plugin-share-profile-to-phone.js index f9b2f03..8c84cbb 100644 --- a/plugins/GFS/plugin-share-profile-to-phone.js +++ b/plugins/GFS/plugin-share-profile-to-phone.js @@ -107,7 +107,15 @@ const onRun = async () => { } } - const config = await Plugins.generateConfig(_profile) + const type = await Plugins.picker.single( + '生成的配置类型', + [ + { label: '稳定版', value: 'stable' }, + { label: '内测版', value: 'alpha' } + ], + ['stable'] + ) + const config = await Plugins.generateConfig(_profile, type === 'stable') const ips = await getIPAddress() const urls = await Promise.all( ips.map((ip) => {