Don't force user to use encrypted storage

This commit is contained in:
Nicolas Mailloux 2021-11-09 22:49:28 -05:00
parent c3c681ea2d
commit 6e095df5cb

View file

@ -32,10 +32,6 @@
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
setDefaultWorkDir(); setDefaultWorkDir();
string_checkconfig_ro(".config/18-encrypted_storage/status");
if(checkconfig_str_val.isEmpty() == true) {
string_writeconfig(".config/18-encrypted_storage/status", "true");
}
if(checkconfig(".config/18-encrypted_storage/status") == true and checkconfig("/external_root/run/encfs_mounted") == false) { if(checkconfig(".config/18-encrypted_storage/status") == true and checkconfig("/external_root/run/encfs_mounted") == false) {
// Open Encryption Manager to unlock encrypted storage // Open Encryption Manager to unlock encrypted storage
QApplication a(argc, argv); QApplication a(argc, argv);