Skip to content

Commit ffb679a

Browse files
committed
classic confinement
1 parent f655d7b commit ffb679a

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ MSI installers are available for download on the [releases page][].
111111

112112
Install:
113113

114-
1. `sudo snap install gh`
115-
2. `sudo snap connect gh:ssh-keys` grant ssh access
114+
`sudo snap install gh --classic`
116115

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

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)