mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-08-17 03:27:00 +08:00
- 将用户可见品牌升级为 TraceMemo(迹忆) - 增加最早期 userData/sessionData 兼容路径选择 - 保留 WechatExplorer runtime identity 以兼容 safeStorage - 继续使用旧 Knowledge、Settings、API Token 和 Provider 配置 - 新日志写入 TraceMemo 目录并保留历史日志 - 保留旧 API、Skill、环境变量和导出目录兼容标识 - 更新相关文档、界面文案与自动化测试
78 lines
2.5 KiB
YAML
78 lines
2.5 KiB
YAML
# Keep the legacy appId so existing userData directories and upgrades remain readable.
|
|
appId: com.wechatexplorer.app
|
|
productName: TraceMemo
|
|
afterPack: scripts/after-pack.cjs
|
|
directories:
|
|
buildResources: build
|
|
files:
|
|
- out
|
|
- '!**/.vscode/*'
|
|
- '!src/*'
|
|
- '!electron.vite.config.{js,ts,mjs,cjs}'
|
|
- '!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
|
|
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
|
|
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
|
|
extraMetadata:
|
|
main: out/main/index.js
|
|
asarUnpack:
|
|
- resources/**
|
|
- node_modules/ffmpeg-static/**
|
|
- node_modules/silk-wasm/**
|
|
- node_modules/sherpa-onnx-node/**
|
|
- node_modules/sherpa-onnx-*/**
|
|
extraResources:
|
|
# Includes the optional WeChat connector binary for the target platform.
|
|
- from: resources
|
|
to: resources
|
|
filter:
|
|
- '**/*'
|
|
- from: docs/skill/wechatexplorer-reader
|
|
to: skill/wechatexplorer-reader
|
|
filter:
|
|
- '**/*'
|
|
win:
|
|
icon: icon.ico
|
|
# WCDB's Windows runtime checks the host executable name. The dev runtime is
|
|
# electron.exe, so keep the packaged executable compatible while using
|
|
# TraceMemo as the product/shortcut name.
|
|
executableName: electron
|
|
nsis:
|
|
oneClick: false
|
|
allowToChangeInstallationDirectory: true
|
|
artifactName: ${name}-${version}-setup.${ext}
|
|
shortcutName: ${productName}
|
|
uninstallDisplayName: ${productName}
|
|
createDesktopShortcut: always
|
|
mac:
|
|
icon: icon.icns
|
|
entitlementsInherit: build/entitlements.mac.plist
|
|
extendInfo:
|
|
# The bundled WCDB bridge accepts Electron as its internal host name. The
|
|
# legacy bundle identifier remains unchanged for upgrade compatibility;
|
|
# the public display name is migrated to TraceMemo.
|
|
CFBundleName: Electron
|
|
CFBundleDisplayName: TraceMemo
|
|
NSCameraUsageDescription: Application requests access to the device's camera.
|
|
NSMicrophoneUsageDescription: Application requests access to the device's microphone.
|
|
NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
|
|
NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
|
|
notarize: false
|
|
dmg:
|
|
artifactName: ${name}-${version}-${arch}.${ext}
|
|
linux:
|
|
icon: icon.png
|
|
target:
|
|
- AppImage
|
|
- snap
|
|
- deb
|
|
maintainer: electronjs.org
|
|
category: Utility
|
|
appImage:
|
|
artifactName: ${name}-${version}.${ext}
|
|
npmRebuild: false
|
|
publish:
|
|
provider: github
|
|
owner: Wxw-Gu
|
|
repo: WechatExplorer
|
|
releaseType: release
|