mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
14 lines
392 B
TypeScript
14 lines
392 B
TypeScript
import { PocketbaseReleaseDownloadService } from '$services'
|
|
import { LoggerService } from '$shared'
|
|
import { discordAlert } from '$util'
|
|
|
|
export const download = async () => {
|
|
const logger = LoggerService().create(`download.ts`)
|
|
|
|
const { dbg, error, info, warn } = logger
|
|
info(`Starting`)
|
|
|
|
const { check } = PocketbaseReleaseDownloadService({})
|
|
await check().catch(discordAlert)
|
|
}
|