Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 1.42 KB

install-desktop-app.md

File metadata and controls

64 lines (38 loc) · 1.42 KB

Install as desktop app

If you want to run the web app without having to switch to the tab in your browser or without having to have the browser open, then you can install as a standalone desktop app.

Related

How it works

This flow uses Nativefier from NPM. This makes a desktop app built on Electron, which just serves as a wrapper on the web app.

So you'll get the latest content (you might have to do CTRL + R to refresh). But also requires an internet connection to use the app.

Requirements

  • Node

Install

1. Install Nativefier globally

$ npm install nativefier@latest --global

2. Create desktop app

$ cd ~/Downloads
$ nativefier https://michaelcurrin.github.io/badge-generator/

3. Install

macOS

  1. If you are upgrading, delete the old one:
    $ rm -rf ~/Applications/badge-generator.app/
  2. Install the app by copying it from your Downloads into Applications.
    $ mv badge-generator-darwin-x64/badge-generator.app/ ~/Applications
  3. There are just license files and metadata left - so you can delete the directory in Downloads.
    $ rm -rf badge-generator-darwin-x64/

Linux

TBC

Run

Open from your applications launcher.

It's icon will default to the GitHub octocat.