diff --git a/debian/changelog b/debian/changelog index 837dfdc..c834dcf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -pika-installer-gtk4 (1.0.0-100pika5) pikauwu; urgency=low +pika-installer-gtk4 (1.0.0-100pika6) pikauwu; urgency=low * First release diff --git a/src/install_page.rs b/src/install_page.rs index e0e8c35..c6aa932 100644 --- a/src/install_page.rs +++ b/src/install_page.rs @@ -141,6 +141,8 @@ pub fn install_page(done_main_box: >k::Box, install_main_box: >k::Box ,conte let mut target_p3_size = 0.0; if (target_size * 40.0) / 100.0 >= 150000000000.0 { target_p3_size = 150000000000.0 ; + } else if (target_size * 40.0) / 100.0 <= 42949672960.0 { + target_p3_size = 42949672960.0 ; } else { target_p3_size = (target_size * 40.0) / 100.0 ; }