plasio icon indicating copy to clipboard operation
plasio copied to clipboard

Add Electron Desktop Support and Build System Improvements

Open zh3305 opened this issue 11 months ago • 0 comments

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

zh3305 avatar Feb 27 '25 06:02 zh3305