11 lines
335 B
TypeScript
11 lines
335 B
TypeScript
import { Platform } from "@padloc/core/src/platform";
|
|
import { WebPlatform } from "@padloc/app/src/lib/platform";
|
|
|
|
export class ElectronPlatform extends WebPlatform implements Platform {
|
|
async getDeviceInfo() {
|
|
const device = await super.getDeviceInfo();
|
|
device.runtime = "electron";
|
|
return device;
|
|
}
|
|
}
|