Skip to content

Conversation

@zh3305
Copy link

@zh3305 zh3305 commented Feb 27, 2025

Overview

This PR introduces desktop application support for Plasio using Electron and improves the build system for better development experience.

Changes

Desktop Application Support (feat: desktop)

  • Added main.js as the main entry point for Electron application
  • Implemented desktop build configuration and scripts
  • Updated README with desktop application usage instructions
  • Integrated local fonts and icons for offline usage
  • Modified index.html to support offline font loading

Build System Improvements (build)

  • Reorganized gulp tasks for better structure and maintainability
  • Added CSS and LESS compilation tasks
  • Implemented error handling functions for improved build stability
  • Updated resource copying and HTML processing tasks
  • Enhanced test build and LiveReload functionality
  • Optimized production build and deployment tasks

Testing

The following has been tested:

  • Desktop application functionality on Windows 10
  • Offline font loading and rendering
  • Build system tasks and outputs
  • Installer and portable versions

Documentation Updates

  • Added desktop application section in README including:
    • Build instructions
    • System requirements
    • Installation guide for both installer and portable versions
    • Usage instructions

Build Outputs

  • Plasio Viewer Setup 0.0.1.exe - Windows installer
  • Plasio Viewer 0.0.1.exe - Portable version

System Requirements

  • Windows 10 or later (64-bit)
  • 4GB RAM minimum
  • Graphics card with WebGL support

- 重新组织 gulp 任务,优化构建结构
- 添加 CSS 和 LESS 编译任务
- 实现错误处理函数,提高构建稳定性
- 更新资源复制和 HTML 处理任务
- 优化测试构建和 LiveReload 功能
- 调整生产构建和发布任务
- 新增主程序入口 main.js
- 添加桌面应用构建配置和脚本
- 更新 README 文档,增加桌面应用使用说明
- 下载并集成必要字体和图标
- 修改 index.html 以支持离线字体
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants