fix property in generated json and add disk info for virtual disk

pull/2/head
axtlos 3 years ago
parent 84bda81164
commit c6ac40f793

@ -66,7 +66,7 @@ class installPrefs {
"rootpass": rootPass, "rootpass": rootPass,
"desktop": desktop.name, "desktop": desktop.name,
"timeshift": enableTimeshift, "timeshift": enableTimeshift,
"extra_package": [ "extra_packages": [
"firefox", "firefox",
] ]
}; };

@ -32,6 +32,8 @@ String diskType(String disk, String diskType) {
return 'NVME SSD'; return 'NVME SSD';
} else if (disk.contains("nvme") && diskType.contains("1")) { } else if (disk.contains("nvme") && diskType.contains("1")) {
return 'NVME HDD'; return 'NVME HDD';
} else if (disk.contains("vd")) {
return 'Virtual Disk';
} else { } else {
return 'Unknown, report at https://git.tar.black/crystal/jade-gui'; return 'Unknown, report at https://git.tar.black/crystal/jade-gui';
} }

Loading…
Cancel
Save