forked from OctoWoW/OctoLauncher
5dca94a3fc
Manifest-based CDN updater and mod manager for the OctoWoW 1.12.1 client: launcher-owned realmlist, torrent-backed content sync with bundled aria2c, antivirus and Defender exclusion handling, hardware-aware render distance, optional client tweaks and mods, and the in-launcher news feed.
9 lines
312 B
TypeScript
9 lines
312 B
TypeScript
import SelfUpdater from '~main/modules/selfUpdater';
|
|
|
|
import { createTRPCRouter, publicProcedure } from '../trpc';
|
|
|
|
export const selfUpdaterRouter = createTRPCRouter({
|
|
observe: publicProcedure.subscription(() => SelfUpdater.observe()),
|
|
install: publicProcedure.mutation(() => SelfUpdater.triggerInstall())
|
|
});
|