Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Commit

Permalink
docs: add instructions for building RPM package
Browse files Browse the repository at this point in the history
  • Loading branch information
stanfieldr authored and ankurk91 committed Sep 3, 2022
1 parent a85fb08 commit 9ec785d
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ with [Electron](https://www.electronjs.org/apps/google-chat-electron)
* Google is forcing users to use PWA which has less features
* You don't want to install Chrome; just to use a PWA. :wink:

### Installation (Debian Linux)
### Installation (Debian based Linux)

* You can download the latest debian installer from
[releases](https://github.com/ankurk91/google-chat-electron/releases/latest) section
Expand All @@ -30,7 +30,7 @@ with [Electron](https://www.electronjs.org/apps/google-chat-electron)
sudo apt install ~/path/to/google-chat-electron-xxx-amd64.deb
```

### Uninstall (Linux)
### Uninstall (Debian based Linux)

* Logout and Quit from app
* Remove the app with this command
Expand Down Expand Up @@ -79,6 +79,23 @@ choco install unofficial-google-chat-electron
winget install --id=ankurk91.GoogleChatElectron -e
```

### Installation (Redhat based Linux)

We don't provide installers for Redhat linux, but you can create installer by your own.

```bash
sudo dnf install rpm-build
git clone https://github.com/ankurk91/google-chat-electron.git
cd google-chat-electron

pnpm install
npm run pack:linux
npx electron-installer-redhat@^3 --src dist/google-chat-electron-linux-x64 --dest dist/installers/ --arch x86_64
```

This will create an RPM package in `./dist/installers` folder.
You can install it with `dnf` or `rpm-ostree` depending on your distro.

### Supported Platforms

The app should work on all x64 and Apple arm64 platforms, but due to lack of time; we test on most popular only.
Expand Down

0 comments on commit 9ec785d

Please sign in to comment.