1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-15 07:54:55 +00:00

Add more package types (#18939)

This commit is contained in:
Bernd Schoolmann
2026-02-12 16:43:54 +01:00
committed by GitHub
parent 7fcb1a7a76
commit 5c7ee4e63a

View File

@@ -163,8 +163,14 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService {
return "Snap";
} else if (ipc.platform.isFlatpak) {
return "Flatpak";
} else if (this.getDevice() === DeviceType.WindowsDesktop) {
return "WindowsUnknown";
} else if (this.getDevice() === DeviceType.MacOsDesktop) {
return "MacOSUnknown";
} else if (this.getDevice() === DeviceType.LinuxDesktop) {
return "LinuxUnknown";
} else {
return "Unknown";
return "DesktopUnknown";
}
}
}