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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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