Browse Source

feat: 更新 README 和构建配置,添加 V1.1.0 更新日志

master
cles 3 weeks ago
parent
commit
32b2bae539
  1. 9
      CHANGELOGS/V1.1.0.md
  2. 24
      README.md
  3. 59
      electron-builder.yml

9
CHANGELOGS/V1.1.0.md

@ -0,0 +1,9 @@
# V1.1.0更新日志
- **更新日期**: 2025年10月17日
- **版本号**: 1.1.0
## 新增功能
1. **曝光参数修改**: 集成adb sdk,提供调整曝光参数功能
2. **测点列表配置导出与导入**: 支持测点列表的导出与导入,方便配置管理
3. **测点列表编辑**: 允许用户直接在应用内编辑测点列表
4. **部分参数持久化存储**: 关键参数如镜头焦距、测点距离等实现持久化存储,重启后自动加载

24
README.md

@ -1,24 +1,26 @@
# FlexometerSetup # 光电挠度仪上位机程序
> 基于 Electron + React + Vite 开发的传感器监测应用程序 > 基于 Electron + React + Vite 开发的光电挠度仪上位机应用程序
![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg) ![Platform](https://img.shields.io/badge/platform-Windows-lightgrey.svg)
![Version](https://img.shields.io/badge/version-1.0.8-green.svg) ![Version](https://img.shields.io/badge/version-1.1.0-green.svg)
--- ---
## 最新版本下载
- [Latest Releases](https://iotfileres.anxinyun.cn/FlexometerSetup/FlexometerSetup-1.1.0-setup.exe) 下载最新安装包
## 📖 目录 ## 目录
- [用户指南](#用户指南) - [用户指南](#用户指南)
- [开发者文档](#开发者文档) - [开发者文档](#开发者文档)
--- ---
## 👥 用户指南 ## 用户指南
### 系统要求 ### 系统要求
- **操作系统**: Windows 10/11, macOS 10.15+, Ubuntu 18.04+ - **操作系统**: Windows 10/11
- **内存**: 4GB RAM 以上 - **内存**: 4GB RAM 以上
- **存储空间**: 200MB 可用空间 - **存储空间**: 200MB 可用空间
@ -36,13 +38,13 @@
- **设备连接**: 支持 TCP 连接,实时监控设备状态 - **设备连接**: 支持 TCP 连接,实时监控设备状态
- **设备断开**: 安全断开设备连接 - **设备断开**: 安全断开设备连接
#### 📊 数据监控 #### 数据监控
- **实时数据显示**: 支持多传感器同时监控 - **实时数据显示**: 支持多传感器同时监控
- **数据可视化**: Chart.js 图表展示传感器数据趋势 - **数据可视化**: Chart.js 图表展示传感器数据趋势
- **历史数据**: 保存最近 10 个数据点的历史记录 - **历史数据**: 保存最近 10 个数据点的历史记录
#### ⚙️ 系统设置 #### 系统设置
- **基本参数配置**: - **基本参数配置**:
- 图像发送时间间隔 - 图像发送时间间隔
@ -68,7 +70,7 @@
- 自定义存储路径 - 自定义存储路径
- 按日期和设备IP分类存储 - 按日期和设备IP分类存储
#### 🔧点管理 #### 测点管理
- **传感器配置**: 实时加载和设置传感器参数 - **传感器配置**: 实时加载和设置传感器参数
- **数据覆盖更新**: 每次加载时更新传感器列表 - **数据覆盖更新**: 每次加载时更新传感器列表
@ -146,7 +148,7 @@
--- ---
## 🛠️ 开发者文档 ## 开发者文档
### 技术栈 ### 技术栈

59
electron-builder.yml

@ -2,41 +2,12 @@ appId: com.freesun.app
productName: FlexometerSetup productName: FlexometerSetup
directories: directories:
buildResources: build buildResources: build
output: dist
files: files:
- '!**/.vscode/*' - '!**/.vscode/*'
- '!src/*' - '!src/*'
- '!electron.vite.config.{js,ts,mjs,cjs}' - '!electron.vite.config.{js,ts,mjs,cjs}'
- '!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}' - '!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}' - '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
# 更全面的文件排除优化
- '!**/*.{md,txt,map,ts,tsx}'
- '!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,LICENSE,LICENCE}'
- '!**/node_modules/*/{test,__tests__,tests,spec,specs,example,examples,demo,demos}'
- '!**/node_modules/*/{docs,doc,documentation}'
- '!**/node_modules/*/{coverage,nyc_output}'
- '!**/node_modules/*.d.ts'
- '!**/node_modules/.bin'
- '!**/node_modules/*/{tsconfig.json,tslint.json,eslint*}'
- '!**/node_modules/*/test/**'
- '!**/node_modules/*/tests/**'
- '!**/node_modules/*/spec/**'
- '!**/node_modules/*/examples/**'
- '!**/node_modules/*/example/**'
- '!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes,.gitmodules}'
- '!**/{thumbs.db,.flowconfig,.idea,.vs,.nyc_output,.coverage}'
- '!**/{appveyor.yml,.travis.yml,circle.yml,azure-pipelines.yml,.github}'
- '!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json,yarn-error.log}'
- '!**/{*.orig,*.rej,*.bak,*.tmp,*.swp,*~}'
- '!**/webpack.config.js'
- '!**/rollup.config.js'
- '!**/jest.config.js'
- '!**/babel.config.js'
# 启用最大压缩
compression: maximum
# 启用 asar 打包
asar: true
# 只在 Windows 平台构建时包含 extraResources
extraResources: extraResources:
- from: resources/adbSDK - from: resources/adbSDK
to: adbSDK to: adbSDK
@ -44,10 +15,6 @@ extraResources:
- '**/*' - '**/*'
win: win:
executableName: FlexometerSetup executableName: FlexometerSetup
target:
- target: nsis
arch:
- x64 # 只构建64位版本
nsis: nsis:
oneClick: false oneClick: false
allowToChangeInstallationDirectory: true allowToChangeInstallationDirectory: true
@ -55,14 +22,28 @@ nsis:
shortcutName: ${productName} shortcutName: ${productName}
uninstallDisplayName: ${productName} uninstallDisplayName: ${productName}
createDesktopShortcut: always createDesktopShortcut: always
# 使用 zip 压缩而不是默认的 7z(更快的安装) mac:
useZip: true entitlementsInherit: build/entitlements.mac.plist
# 移除了无效的 removeDefaultUninstallProgramMenu 属性 extendInfo:
# 使用有效的属性 - NSCameraUsageDescription: Application requests access to the device's camera.
removeDefaultUninstallWelcomePage: true - 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}.${ext}
linux:
target:
- AppImage
- snap
- deb
maintainer: electronjs.org
category: Utility
appImage:
artifactName: ${name}-${version}.${ext}
npmRebuild: false npmRebuild: false
publish: publish:
provider: generic provider: generic
url: https://gitee.com/bocinpity/flexometer-setup/releases/download/latest url: https://iotfileres.anxinyun.cn/FlexometerSetup
electronDownload: electronDownload:
mirror: https://npmmirror.com/mirrors/electron/ mirror: https://npmmirror.com/mirrors/electron/

Loading…
Cancel
Save