hover

command module
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

README

hover - Release Flutter applications on the desktop

hover is a simple tool to help with building a flutter application for desktop.

Hover is brand new and under development, it should be considered alpha. Anything can break, please backup your data before using hover

Getting started

Install

First install go, then install hover like this:

go get -u github.com/go-flutter-desktop/hover

Run the same command to update when a newer version becomes available.

Install these dependencies:

  • You need to make sure you have dependencies of GLFW:
    • On macOS, you need Xcode or Command Line Tools for Xcode (xcode-select --install) for required headers and libraries.
    • On Ubuntu/Debian-like Linux distributions, you need libgl1-mesa-dev xorg-dev packages.
    • On CentOS/Fedora-like Linux distributions, you need libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel mesa-libGL-devel libXi-devel packages.
    • See here for full details.
Use

cd into a flutter project.

cd projects/simpleApplication

The first time you use hover for a project, you'll need to initialize the project for desktop. hover init requires a project path. This is usualy the path for your project on github or a self-hosted git service. If you are unsure, just make something up, it can always be changed later.

hover init github.com/my-organization/simpleApplication

This creates the directory desktop and adds boilerplate files such as Go code and a default logo.

Optionally, you may add plugins to desktop/cmd/options.go

Optionally, change the logo in desktop/assets/logo.png, which is used as icon for the window.

To build and execute, run:

hover build
./desktop/build/outputs/linux/yourApplicationName

Issues

Please report issues at the go-flutter issue tracker.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
assets
app
internal

Jump to

Keyboard shortcuts

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