Add more package types (#18939)

pull/18697/head^2
Bernd Schoolmann 1 week ago committed by GitHub
parent 7fcb1a7a76
commit 5c7ee4e63a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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";
}
}
}

Loading…
Cancel
Save