mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-10-05 12:34:35 +08:00
feat: 完全支持 mac Intel 环境
抽离 Intel 专用包、connector 与跨架构语音库 修改 publish 脚本,发布先落草稿 修复重装依赖后 Electron 二进制缺失
This commit is contained in:
@@ -390,9 +390,11 @@ export class PersonalWechatRuntimeManager {
|
||||
return this.buildStatus(
|
||||
'unsupported',
|
||||
0,
|
||||
process.platform === 'win32'
|
||||
? 'Windows 暂不支持个人微信发送组件'
|
||||
: `当前系统暂不支持个人微信发送组件:${process.platform} ${process.arch}`
|
||||
process.platform === 'darwin'
|
||||
? 'Intel Mac 不支持个人微信发送组件'
|
||||
: process.platform === 'win32'
|
||||
? 'Windows 暂不支持个人微信发送组件'
|
||||
: '当前系统不支持个人微信发送组件'
|
||||
)
|
||||
}
|
||||
if (this.downloadPromise) return this.buildStatus('downloading', this.downloadedBytes)
|
||||
|
||||
@@ -1630,7 +1630,10 @@ export class PersonalWechatSendService {
|
||||
status: {
|
||||
...base,
|
||||
state: 'unsupported_platform',
|
||||
message: '个人微信发送当前仅支持 Apple Silicon Mac'
|
||||
message:
|
||||
process.platform === 'darwin'
|
||||
? 'Intel Mac 不支持个人微信发送'
|
||||
: '当前系统不支持个人微信发送'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -414,11 +414,13 @@ export function PersonalWechatSendPage({
|
||||
<span className="settings-card-kicker">个人微信</span>
|
||||
<strong className="mt-1 block text-base">{pageMessage}</strong>
|
||||
<p className="mt-2 text-sm text-muted-foreground">
|
||||
{pageStatus === 'unsupported' && !isWindows
|
||||
? '微信消息发送目前仅支持 macOS 和 Windows。'
|
||||
: isWindows
|
||||
? 'Windows 通过本机微信发送接口工作,请先配置并检测接口端口。'
|
||||
: '档案中的文字、图片和语音发送,以及定时日报发送,都会使用这项能力。'}
|
||||
{pageStatus === 'unsupported' && isMac
|
||||
? 'Intel Mac 不支持个人微信发送。'
|
||||
: pageStatus === 'unsupported' && !isWindows
|
||||
? '微信消息发送目前仅支持 macOS 和 Windows。'
|
||||
: isWindows
|
||||
? 'Windows 通过本机微信发送接口工作,请先配置并检测接口端口。'
|
||||
: '档案中的文字、图片和语音发送,以及定时日报发送,都会使用这项能力。'}
|
||||
</p>
|
||||
</div>
|
||||
<Button variant="outline" size="sm" onClick={() => void detectCapability()}>
|
||||
|
||||
Reference in New Issue
Block a user