Install (tuck) folder of binaries in your GNOME environment.
Nothing more than a script to prepare an application for
use on a GNOME environment. It copies the folder to /opt
,
creates a sym link in /usr/local/bin
, then finally
sets up a file for GNOME application menus in /usr/share/applications
.
Note: This is a hardcoded implementation. Configurability coming soon whenever anyone feels like it 🤷.
- Clone the repo
- Install node dependencies:
npm install
- Link with npm:
npm link
- Run
tuck
in the CLI
Node version 8+
Here's a neat set of commands that will let you run tuck
in sudo.
n=$(which node); \
n=${n%/bin/node}; \
chmod -R 755 $n/bin/*; \
sudo cp -r $n/{bin,lib,share} /usr/local
source: stack overflow