mirror of
https://github.com/bitwarden/browser
synced 2026-02-19 10:54:00 +00:00
Add more package types (#18939)
This commit is contained in:
committed by
jaasen-livefront
parent
e685485a51
commit
2306a601f1
@@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user