repack improvements

This commit is contained in:
Nicolas Mailloux 2021-11-16 07:47:49 -05:00
parent 3712207416
commit cb71334865
2 changed files with 4 additions and 0 deletions

View file

@ -351,6 +351,7 @@ void encryptionManager::repackEncryptedStorage() {
std::string passphrase = global::encfs::passphrase.toStdString();
global::encfs::passphrase = "";
string_writeconfig("/external_root/run/encfs/encrypted_storage_repack_passphrase", passphrase);
string_writeconfig("/external_root/run/encfs_dry_stop", "true");
string_writeconfig("/opt/ibxd", "encfs_restart\n");
bool exitStatus;
ui->activityWidget->setCurrentIndex(3);

View file

@ -209,6 +209,9 @@ void generalDialog::on_cancelBtn_clicked()
global::encfs::cancelSetup = true;
global::keyboard::keyboardText = "";
}
else if(global::encfs::errorNoBooksInDropboxDialog == true) {
global::encfs::errorNoBooksInDropboxDialog = false;
}
generalDialog::close();
}
}