owmo-dev / example-go-tray-gui

An example desktop system tray application that can launch HTML5 windows. Go source with a build process for Windows, Mac and Linux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ExampleTrayGUI

An example cross-platform (Mac, Windows, Linux) system tray application that can launch HTML5 windows, developed in Go including functional build process. This repository is intended as a quick reference to help others start similar projects using the referenced libraries and will not be actively maintained.

Requirements

The build process requires a .env at the root of your repo file, defining the following:

VERSION=1.0.0
NAME=ExampleTrayGUI
NAME_LOWER=example-tray-gui

Additionally, you'll need to install the following to build for all platforms:

go get github.com/akavel/rsrc
npm install --global create-dmg
brew install graphicsmagick imagemagick

https://www.docker.com/get-started

Once Docker is installed, go to Preferences > Resources > File Sharing and add your bin directory in your repository to the list of locations so that build outputs can be shared from the images.

About

An example desktop system tray application that can launch HTML5 windows. Go source with a build process for Windows, Mac and Linux.

License:MIT License


Languages

Language:Go 87.0%Language:Shell 7.0%Language:Batchfile 1.8%Language:Makefile 1.7%Language:Dockerfile 1.3%Language:HTML 1.2%