gogui

command module
v0.0.0-...-22c5f5e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2019 License: MIT Imports: 17 Imported by: 0

README

GoGUI v0.01

maintained by: hkdb <hkdb@3df.io>

THIS IS STILL WORK IN PROGRESS

Description:


A Webview GoLang GUI template to build small desktop utilities to automate CLI operations

screnshot

Based on https://github.com/zserge/webview

Uses:

Changes:

v0.01 - Initial Release - https://github.com/hkdb/GoGUI/tree/v0.01

Before Building:

  1. Install GoLang

  2. Install the following:

    go get -u github.com/zserge/webview/...
    go get -u github.com/jteeuwen/go-bindata/...
    go get -u github.com/skratchdot/open-golang/...
    

    Windows Only:

    To build app with icon, add the following:

    go get -u github.com/akavel/rsrc
    

Build & Launch:

Linux:

$ go build
$ ./GoGUI  # or whatever you renamed the app to...

Mac:

# Replace all the "GoGUI"s below with whatever you name the app...
$ mkdir -p GoGUI.app/Contents/MacOS
$ go build -o GoGUI.app/Contents/MacOS/GoGUI
$ open GoGUI.app # Or click on the app in Finder

Windows:

# Windows requires special linker flags for GUI apps.
# It's also recommended to use TDM-GCC-64 compiler for CGo.
# http://tdm-gcc.tdragon.net/download
#
# Replace all the "GoGUI"s below with whatever you name the app...
$ go build -ldflags="-H windowsgui" -o GoGUI.exe

Documentation

Overview

PROJECT: GoGUI

MAINTAINED BY: hkdb <hkdb@3df.io>

SPONSORED BY: 3DF OSI - https://osi.3df.io

This application is maintained by volunteers and in no way do the maintainers make any guarantees. Use at your own risk.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL