cs-magic / codebase-ts

CS Magic Codebase (TS)
3 stars 0 forks source link

[electron-vite] 个人签名问题 #47

Closed MarkShawn2020 closed 2 months ago

MarkShawn2020 commented 2 months ago

尽管编译成功,并且在本地安装后可跑:

✓ built in 19.46s
  • electron-builder  version=24.13.3 os=23.3.0
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=dist/builder-effective-config.yaml
  • rebuilding native dependencies  dependencies=leveldown@6.1.1 platform=darwin arch=x64
  • rebuilding native dependency  name=leveldown version=6.1.1
  • packaging       platform=darwin arch=x64 electron=31.2.0 appOutDir=dist/mac
  • signing         file=dist/mac/swot-wechat-helper.app platform=darwin type=distribution identity=AF78EB29E3F63189A891A2D4F12FD2A6B84FBC78 provisioningProfile=none
  • notarization successful 【<-- 注意看这里】
  • building        target=macOS zip arch=x64 file=dist/swot-wechat-helper-0.4.3-mac.zip
  • building        target=DMG arch=x64 file=dist/swot-wechat-helper-0.4.3.dmg
  • building block map  blockMapFile=dist/swot-wechat-helper-0.4.3.dmg.blockmap
  • building block map  blockMapFile=dist/swot-wechat-helper-0.4.3-mac.zip.blockmap

但是在用户的电脑上还是出现了问题:

image

image

MarkShawn2020 commented 2 months ago

已解决,原因是,要勾选app配置里的 Disable Library Validation

image

image