json and efi check fixes

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

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

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

Loading…
Cancel
Save