Skip to content

Commit

Permalink
Support linux platform
Browse files Browse the repository at this point in the history
  • Loading branch information
rastiqdev committed Jul 2, 2023
1 parent 1a233a9 commit cc43bc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The result will be faster and more lightweight than any other solution out there
- Pulls the latest release data from [GitHub Releases](https://help.github.com/articles/creating-releases/) and caches it in memory
- Refreshes the cache every **15 minutes** (custom interval [possible](#options))
- When asked for an update, it returns the link to the GitHub asset directly (saves bandwidth)
- Supports **macOS** and **Windows** apps
- Supports **macOS**, **Windows**, and **Linux** apps

## Usage

Expand Down
2 changes: 2 additions & 0 deletions lib/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ module.exports = ({ cache, config }) => {
platform = 'dmg'
} else if (userAgent.isWindows) {
platform = 'exe'
} else if (userAgent.isLinux) {
platform = 'AppImage'
}

// Get the latest version from the cache
Expand Down

0 comments on commit cc43bc9

Please sign in to comment.