Skip to content

Commit

Permalink
Update plugin-share-profile-to-phone
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayideyia committed Jan 6, 2025
1 parent b41021a commit e33f978
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion plugins/GFS/plugin-share-profile-to-phone.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit e33f978

Please sign in to comment.