11 lines
225 B
TypeScript
11 lines
225 B
TypeScript
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();
|
|
});
|