json and efi check fixes

pull/2/head
axtlos 3 years ago
parent c6ac40f793
commit 3131fabca2

@ -45,7 +45,7 @@ Widget install(
enableSudo: enableSudo, enableSudo: enableSudo,
rootPass: rootPass, rootPass: rootPass,
desktop: desktop, desktop: desktop,
disk: disk, disk: disk.replaceAll("/dev/", ""),
isEfi: isEfi, isEfi: isEfi,
bootloader: bootloader, bootloader: bootloader,
hostname: hostname, hostname: hostname,

@ -21,7 +21,7 @@ Future<void> checkIsEfi(setState) async {
.then((ProcessResult result) { .then((ProcessResult result) {
return result.stdout; return result.stdout;
}); });
bool isEfi = scriptOutput == "UEFI" ? false : true; bool isEfi = scriptOutput == "UEFI" ? true : false;
debugPrint(isEfi.toString()); debugPrint(isEfi.toString());
debugPrint(scriptOutput); debugPrint(scriptOutput);
setState(isEfi); setState(isEfi);

Loading…
Cancel
Save