https://github.com/pastebar/pastebar-updater
PasteBar application auto updater service using cloudflare workers
https://github.com/pastebar/pastebar-updater
Last synced: 3 months ago
JSON representation
PasteBar application auto updater service using cloudflare workers
- Host: GitHub
- URL: https://github.com/pastebar/pastebar-updater
- Owner: PasteBar
- License: mit
- Created: 2024-04-10T18:35:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T19:36:52.000Z (over 2 years ago)
- Last Synced: 2024-04-10T21:56:01.363Z (over 2 years ago)
- Language: TypeScript
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PasteBar Updater Server
## Introduction
This worker fetches releases from PasteBarApp github repo
## Deploy
Run `npm run deploy` to deploy on Cloudflare Workers.
## Configure
Update the [endpoint](https://tauri.app/v1/guides/distribution/updater#tauri-configuration) in `tauri.config.json` to:
```
https://updater.pastebar.app/check/{{target}}/{{arch}}/{{current_version}}
```
## Assets Naming Pattern
- MacOSX: ends with `.app.tar.gz`
- Windows: ends with `.msi.zip` or `.nsis.zip`
## Development
```
npm install
npm run dev
```
```
npm run deploy
```
Based on https://github.com/egoist/tauri-updater (Thanks to @egoist)