Skip to content

Commit cc43bc9

Browse files
committed
Support linux platform
From vercel#151
1 parent 1a233a9 commit cc43bc9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The result will be faster and more lightweight than any other solution out there
1212
- Pulls the latest release data from [GitHub Releases](https://help.github.com/articles/creating-releases/) and caches it in memory
1313
- Refreshes the cache every **15 minutes** (custom interval [possible](#options))
1414
- When asked for an update, it returns the link to the GitHub asset directly (saves bandwidth)
15-
- Supports **macOS** and **Windows** apps
15+
- Supports **macOS**, **Windows**, and **Linux** apps
1616

1717
## Usage
1818

lib/routes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ module.exports = ({ cache, config }) => {
4949
platform = 'dmg'
5050
} else if (userAgent.isWindows) {
5151
platform = 'exe'
52+
} else if (userAgent.isLinux) {
53+
platform = 'AppImage'
5254
}
5355

5456
// Get the latest version from the cache

0 commit comments

Comments
 (0)