Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
9 changes: 8 additions & 1 deletion BUILDING_LINUX.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,14 @@ pnpm run make --targets=@electron-forge/maker-flatpak
Output: `out/make/flatpak/x86_64/*.flatpak`

#### Snap
Building as Snap packages is not currently supported but may be added in the future.
goose is available from the [Snap Store](https://snapcraft.io/goose). Install it with:
```bash
sudo snap install goose --classic
```

The snap provides the CLI as `goose` and the desktop app as `goose.desktop`.
Its recipe and packaging automation are maintained in the
[goose-snap](https://github.com/gabelluardo/goose-snap) repository.

## Development Workflow

Expand Down
10 changes: 8 additions & 2 deletions documentation/docs/guides/updating-goose.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,14 @@ The goose CLI and desktop apps are under active and continuous development. To g

<DesktopAutoUpdateSteps />

**To manually download and install updates:**
1. <LinuxDesktopInstallButtons/>
If you installed goose from the Snap Store, it updates automatically. To update it manually, run:
Comment thread
gabelluardo marked this conversation as resolved.
Resolved

```sh
sudo snap refresh goose
```

**To manually download and install updates for DEB, RPM, or Flatpak:**
1. <LinuxDesktopInstallButtons includeSnap={false}/>

#### For Debian/Ubuntu-based distributions
2. In a terminal, navigate to the downloaded DEB file
Expand Down
12 changes: 10 additions & 2 deletions documentation/src/components/LinuxDesktopInstallButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const detectLinuxArch = async () => {
return /aarch64|arm64/i.test(navigator.userAgent || '') ? 'arm64' : 'x64';
};

const LinuxDesktopInstallButtons = () => {
const LinuxDesktopInstallButtons = ({ includeSnap = true }) => {
const [downloadUrls, setDownloadUrls] = useState({
deb: FALLBACK_URL,
rpm: FALLBACK_URL,
Expand Down Expand Up @@ -91,7 +91,7 @@ const LinuxDesktopInstallButtons = () => {

return (
<div>
<p>Click one of the buttons below to download goose Desktop for Linux:</p>
<p>Choose a package format to install goose Desktop on Linux:</p>
<div className="pill-button" style={{ display: 'flex', gap: '0.5rem', flexWrap: 'wrap' }}>
<Link
className="button button--primary button--lg"
Expand All @@ -111,6 +111,14 @@ const LinuxDesktopInstallButtons = () => {
>
<IconDownload /> Flatpak (Universal)
</Link>
{includeSnap && (
<Link
className="button button--primary button--lg"
to="https://snapcraft.io/goose"
>
<IconDownload /> Snap Store (Classic)
</Link>
)}
</div>
</div>
);
Expand Down
Loading