minimum root size calc
This commit is contained in:
parent
ff6ed36a05
commit
0db98f106e
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -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
|
||||
|
||||
|
@ -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 ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user