Giter Site home page Giter Site logo

electron-demo's Introduction

基于umi的electron demo

提供基于@umijs/max@^4的electron的开发及打包的demo

Electron 版本降级

  • 你可以手动将 package.json 中的 electron 修改至低版本,支持electron最低版本22.0.0

开发

$ pnpm electron:dev

打包

  • 打包路径不能有中文,electron-builder不能跨平台打包,请在对应系统上打包
//windows
$ electron:build:win
//mac
$ electron:build:mac
//linux
$ electron:build:linux
//按平台打包
$ electron:build:win --ia32    //32位
$ electron:build:win --x64     //64位
$ electron:build:win --armv7l  //arm32位
$ electron:build:win --arm64   //arm64位

electron-demo's People

Contributors

liangskyli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.