Commit a418a9ac authored by nanahira's avatar nanahira

fix

parent 0c19d379
......@@ -32,7 +32,7 @@ export class WechatyBotConfig {
description: 'Wechaty 使用的 Puppet。',
hidden: os.platform() !== 'win32',
type: process.env.KOISHI_AGENT?.includes('Desktop')
? Schema.const([
? Schema.union([
'wechaty-puppet-wechat',
...(os.platform() === 'win32' ? ['wechaty-puppet-xp'] : []),
])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment