Skip to content

stephendltg/moomin-cyan

Repository files navigation

MOOMIN

Build cross-platform desktop apps with Nuxtjs. Low ram usage and binary size optimize.

It uses Cocoa/WebKit on macOS, gtk-webkit2 on Linux and Edge on Windows 10.

Description

Application start webview

Install

Install golang https://golang.org/doc/install

for linux:

sudo apt-get install libwebkit2gtk-4.0-dev
sudo apt-get -y install make

Build Setup frontend

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

# generate static project & build binary (Golang use)
$ npm run builder

# generate static project & build binary (Deno required)
$ npm run builder:deno

For detailed explanation on how things work, check out Nuxt.js docs.

Build binary app (manual)

linux:

make build-deb

darwin:

Modify assets/Info.plist & icon.icns

make build-darwin

window:

GOOS=windows GOARCH=amd64 go build -ldflags="-H windowsgui" -v -o bin/moomin-win32-amd64.exe .

For detailed explanation, check out Makefile.

REFS:

INSTALL AND REMOVE DEB

sudo dpkg -i nom_du_paquet.deb
sudo apt-get remove nom_du_paquet