Skip to content
This repository has been archived by the owner on Nov 14, 2021. It is now read-only.

Boilerplate for building node-gtk apps bundled using flatpak

Notifications You must be signed in to change notification settings

nmanumr/node-gtk-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Gtk Boilerplate

A boilerplate to build gnome native applications using nodejs.

screenshot

Usage

  • Clone Repo: git clone https://github.com/nmanumr/node-gtk-boilerplate.git

  • Install dependencies (Refer to node-gtk guide for more details): npm install

  • Copy node-gtk bindings: cp ./node_modules/node-gtk/lib/binding/[BINDING_VERSION]/node_gtk.node ./lib/binding/

  • Test run: npm start

Bundling for flatpak

  • Install flatpak: https://flatpak.org/setup/

  • Install flatpack runtime: flatpak install flathub org.gnome.Platform//3.28 org.gnome.Sdk//3.28

  • Bundle the app: npm run pack

  • Install flatpak bundle: npm run flatpak:install

  • Run bundled app: npm run flatpak:run

References

About

Boilerplate for building node-gtk apps bundled using flatpak

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published