Initial Commit

This commit is contained in:
Draculabo committed 2025-12-23 01:38:53 +08:00
commit d0417339c1
158 files changed
+31368

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { os } from "@orpc/server";
import { app } from "electron";
export const currentPlatfom = os.handler(() => {
return process.platform;
});
export const appVersion = os.handler(() => {
return app.getVersion();
});
+7
View File
@@ -0,0 +1,7 @@
import { appVersion, currentPlatfom } from './handlers';
import { os } from '@orpc/server';
export const app = os.router({
currentPlatfom,
appVersion,
});