fix: best-effort support for TUXEDO OS (#23813)
TUXEDO OS is an Ubuntu based distribution built by the Linux computer vendor TUXEDO.
This commit is contained in:
Родитель
ddc0278d81
Коммит
bdac3e28a6
|
@ -59,7 +59,8 @@ export const hostPlatform = ((): HostPlatform => {
|
|||
|
||||
// Pop!_OS is ubuntu-based and has the same versions.
|
||||
// KDE Neon is ubuntu-based and has the same versions.
|
||||
if (distroInfo?.id === 'ubuntu' || distroInfo?.id === 'pop' || distroInfo?.id === 'neon') {
|
||||
// TUXEDO OS is ubuntu-based and has the same versions.
|
||||
if (distroInfo?.id === 'ubuntu' || distroInfo?.id === 'pop' || distroInfo?.id === 'neon' || distroInfo?.id === 'tuxedo') {
|
||||
if (parseInt(distroInfo.version, 10) <= 19)
|
||||
return ('ubuntu18.04' + archSuffix) as HostPlatform;
|
||||
if (parseInt(distroInfo.version, 10) <= 21)
|
||||
|
|
Загрузка…
Ссылка в новой задаче