Giter VIP home page Giter VIP logo

electron-auto-update's Introduction

#1. เตรียมข้อมูล

  • npm i
  • npm run publish #2. เปิด http server (Run Http Server)
  • npm run run-server #3. Run ทดสอบ (Dev Mode (current version 1.0.0))
  • copy dist จาก project ออกไป install ก่อน

#4. Publish exe version ใหม่ขึ้น http-server (แก้ไข version ที่ file package.json เป็น version ใหม่ 1.0.1)

#5. ทดสอบ

  • เปิด Desktop App ที่ Install ไว้ในข้อ 3 อีกครั้ง จะทำการ Download Version 1.0.1 ใหม่มาไว้
  • แล้วจะขึ้น Popup ให้ผู้ใช้งานเลือกว่าจะติดตั้ง App หรือไม่
  • ถ้าเลือกติดตั้งจะทำการ Install Desktop App ใหม่แล้ว Restart Desktop App อัตโนมัติ

#อ้างอิง

#ข้อพึงระวัง

  • ** ข้อควรระวัง "http-server": "^0.9.0" version นี้ Start ใน Window10 ได้ Version ^0.11.1" Start ไม่ได้

electron-auto-update's People

Contributors

tassanawat avatar

Watchers

James Cloos 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.