Commit 705f82f2 authored by rgaudin's avatar rgaudin
Browse files

Issue #266: removed partition check applied on file builds (GUI)

parent cd5b73a4
2.0-rc17
* Fixed bug prevent non-sdcard builds via GUI
2.0-rc16
* fixed etcher-cli call on macOS GUI (space escaping)
* Fixed etcher-cli call on macOS GUI (space escaping)
* Added partition number check on startup (must be one)
* Added SD-card wipe dialog
......
......@@ -1744,16 +1744,16 @@ class Application:
condition = sd_card is not None
validate_label(self.component.sd_card_label, condition)
all_valid = all_valid and condition
# check that SD card has a single partition (clean state)
condition = sd_has_single_partition(sd_card, self.logger)
validate_label(self.component.sd_card_label, condition)
all_valid = all_valid and condition
else:
condition = output_size > 0
validate_label(self.component.size_label, condition)
all_valid = all_valid and condition
# check that SD card has a single partition (clean state)
condition = sd_has_single_partition(sd_card, self.logger)
validate_label(self.component.sd_card_label, condition)
all_valid = all_valid and condition
condition = self.update_free_space() >= 0
validate_label(self.component.free_space_name_label, condition)
all_valid = all_valid and condition
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment