Giter Club home page Giter Club logo

yun-share's Introduction

云享 yun-share

开发环境

开发脚本

# 1. 启动web服务
npm run start

# 2. 启动 electron 服务
npm run electron

win 下打包

遇到的问题以及参考:

打包脚本

npm run build:electron:win

打包最终输出

  • electron-builder  version=21.2.0 os=10.0.14393
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=build\releases\builder-effective-config.yaml
  • packaging       platform=win32 arch=x64 electron=7.1.1 appOutDir=build\releases\win-unpacked
  • building        target=zip arch=x64 file=build\releases\yun-share-0.1.1-win.zip
  • building        target=nsis file=build\releases\yun-share Setup 0.1.1.exe archs=x64 oneClick=false perMachine=false
  • building block map  blockMapFile=build\releases\yun-share Setup 0.1.1.exe.blockmap

feature list / todo list:

  • 编辑器 ctrl + s 保存的时候
  • 编辑器粘贴拦截
  • code 编辑器拖拽上传图片
  • md 导出为 html
  • 添加总控制, 进可上传云端,退可作为本地开发工具
  • 换肤

BUG LIST

  • 使用 { frame: false } 时,先触发 win.hide(),再触发win.show(),主界面会有闪动的 bug、并且还没有边框阴影效果
    • 解决方案: win 下 需要设置 { transparent: false } , 才不会有闪烁。 坑死了,浪费了一下午找这个 bug。

yun-share's People

Contributors

cmcesummer avatar dependabot[bot] avatar

Watchers

 avatar 高立发 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.