1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-10-08 23:22:21 +02:00
Files
jc/README-snap.md
don Rumata f159dd6b9d Add plugins support 4 snapcraft (#512)
* Added `snap` support.

* Added plugins support.

* Add README 4 snap.

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-02-06 01:54:31 +00:00

1.2 KiB

How to use jc with snap

How to build snap package

  • Install snapd. One or two.

  • Install snapcraft:

$ sudo snap install snapcraft --classic
  • Update snapd:
$ sudo snap refresh snapcraft --edge
  • Clone the repo:
$ git clone https://github.com/kellyjonbrazil/jc
  • Change the directory:
$ cd ./jc
  • Select branch:
$ git checkout snap-support
  • Initialize LXD:
$ lxd init --auto
  • Build .snap file:
$ snapcraft

How to install local snap file

$ snap install --dangerous ./jc_*_amd64.snap

How to use jc with plugins

  • Put your plugin in the "$HOME/.local/share/jc" directory.

  • To connect the directory, run:

snap connect jc:dot-jc-plugins snapd

Urls