mirror of
https://github.com/hamonikr/systemback.git
synced 2025-12-23 22:17:46 -05:00
enable ISO convert feature
This commit is contained in:
2
debian/changelog
vendored
2
debian/changelog
vendored
@@ -1,7 +1,7 @@
|
||||
systemback (1.9.4hamonikr7) jin; urgency=low
|
||||
|
||||
* Update systemback/systemback.cpp
|
||||
- enable ISO convert more than 4GB
|
||||
- enable ISO convert feature
|
||||
- fix #2 - https://github.com/hamonikr/systemback/issues/2
|
||||
|
||||
-- HamoniKR <pkg@hamonikr.org> Sun, 18 Apr 2021 21:16:03 +0900
|
||||
|
||||
@@ -5460,8 +5460,7 @@ void systemback::on_livelist_currentItemChanged(QLWI *crrnt)
|
||||
if(! ui->livedelete->isEnabled()) ui->livedelete->setEnabled(true);
|
||||
ullong isize(sb::fsize(sb::sdir[2] % '/' % sb::left(crrnt->text(), sb::instr(crrnt->text(), " ") - 1) % ".sblive"));
|
||||
|
||||
// if(isize && isize < 4294967295 && isize * 2 + 104857600 < sb::dfree(sb::sdir[2]) && ! sb::exist(sb::sdir[2] % '/' % sb::left(crrnt->text(), sb::instr(crrnt->text(), " ") - 1) % ".iso"))
|
||||
if(isize && isize < 34359738368 && isize * 2 + 104857600 < sb::dfree(sb::sdir[2]) && ! sb::exist(sb::sdir[2] % '/' % sb::left(crrnt->text(), sb::instr(crrnt->text(), " ") - 1) % ".iso"))
|
||||
if(isize && isize < 4294967295 && isize * 2 + 104857600 < sb::dfree(sb::sdir[2]) && ! sb::exist(sb::sdir[2] % '/' % sb::left(crrnt->text(), sb::instr(crrnt->text(), " ") - 1) % ".iso"))
|
||||
{
|
||||
if(! ui->liveconvert->isEnabled()) ui->liveconvert->setEnabled(true);
|
||||
}
|
||||
@@ -7463,8 +7462,7 @@ void systemback::on_livenew_clicked()
|
||||
{
|
||||
ullong isize(sb::fsize(sb::sdir[2] % '/' % ifname % ".sblive"));
|
||||
|
||||
// if(isize < 4294967295 && isize + 52428800 < sb::dfree(sb::sdir[2]))
|
||||
if(isize < 34359738368 && isize + 52428800 < sb::dfree(sb::sdir[2]))
|
||||
if(isize < 4294967295 && isize + 52428800 < sb::dfree(sb::sdir[2]))
|
||||
{
|
||||
pset(20, " 4/3+1"),
|
||||
sb::Progress = -1;
|
||||
|
||||
Reference in New Issue
Block a user