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,
"desktop": desktop.name,
"timeshift": enableTimeshift,
"extra_package": [
"extra_packages": [
"firefox",
]
};

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

Loading…
Cancel
Save