Skip to content

fang2hou/go-gui-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go GUI Sample

This project uses Go and fyne to build a cross-platform application for managing and converting fonts. It specifically includes a process to download and update the M+ Fonts.

Requirements

  • macOS 10.15+
  • Go 1.20+
  • Homebrew

Instructions

Dependencies

macOS

brew install go
brew install mingw-w64

Prepare development environment

Before you start, you need to prepare your development environment by installing the necessary Go packages and ensuring that the fyne command-line tool is up-to-date:

make prepare

Running the application

To launch the application:

make run

Building the application

The makefile contains tasks for building the application for Windows and macOS.

To build for Windows:

make build-win

To build for macOS:

make build-mac

Updating Fonts

Update font resources using in programs.

Note: if there is no fonts in fonts directory, it will download M+2 fonts by default.

make update-fonts

Clean Up

To remove all generated files:

make clean

To remove all downloaded fonts:

make clean-fonts

License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published