@ -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);