Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/install_linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@ sudo dnf install -y copia-cli_*_linux_amd64.rpm
### Snap

```bash
sudo snap install copia-cli --classic
sudo snap install copia-cli
```

> [!NOTE]
> The Snap uses strict confinement — it can only access files in your home directory. If you work with git repositories outside `$HOME`, use a different installation method.

### AUR (Arch Linux)

```bash
Expand Down
9 changes: 4 additions & 5 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |

base: core24
grade: stable
confinement: classic
confinement: strict
license: AGPL-3.0

platforms:
Expand All @@ -29,10 +29,9 @@ parts:
override-build: |
go build -ldflags "-s -w -X github.com/qubernetic/copia-cli/internal/build.Version=$(git describe --tags --always) -X github.com/qubernetic/copia-cli/internal/build.Date=$(date -u +%Y-%m-%d)" -o $CRAFT_PART_INSTALL/bin/copia-cli ./cmd/copia-cli

lint:
ignore:
- classic

apps:
copia-cli:
command: bin/copia-cli
plugs:
- network
- home
Loading