Skip to content

Commit aeb3238

Browse files
committed
classic confinement
1 parent a82af3e commit aeb3238

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

docs/install_linux.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,6 @@ webi gh@stable
421421

422422
To install:
423423

424-
1. `sudo snap install gh`
425-
2. `sudo snap connect gh:ssh-keys` grant ssh access
424+
`sudo snap install gh --classic`
426425

427426
Updates are automatically checked for (and if available, downloaded) every 6 hours.

snap/snapcraft.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ description: |
1818
- `gh help`
1919
adopt-info: gh
2020
grade: stable
21-
confinement: strict # classic
21+
confinement: classic
2222
base: core24
2323
license: MIT
2424
parts:
@@ -33,8 +33,6 @@ parts:
3333
- gcc
3434
stage-packages:
3535
- git
36-
- nano
37-
- ssh
3836
override-pull: |
3937
snapcraftctl pull
4038
snapcraftctl set-version `(git describe --tags | sed 's/^v//') 2>/dev/null || git rev-parse --short HEAD`
@@ -45,12 +43,4 @@ parts:
4543
apps:
4644
gh:
4745
command: gh
48-
plugs:
49-
- home
50-
- network
51-
- network-bind
52-
- desktop
53-
- ssh-keys
5446
completer: completion.sh
55-
environment:
56-
GIT_EDITOR: nano

0 commit comments

Comments
 (0)