1.14.9
This commit is contained in:
parent
947548999f
commit
4b16380cb9
|
@ -9,6 +9,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
### Fixed
|
### Fixed
|
||||||
- fixed Exported encrypted archive files cannot be unpacked by Sandboxie [#4229](https://github.com/sandboxie-plus/Sandboxie/issues/4229)
|
- fixed Exported encrypted archive files cannot be unpacked by Sandboxie [#4229](https://github.com/sandboxie-plus/Sandboxie/issues/4229)
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Added a couple alternative default sandbox paths to the box wizard:
|
||||||
|
- \??\%SystemDrive%\Sandbox\%USER%\%SANDBOX%
|
||||||
|
- \??\%SystemDrive%\Sandbox\%SANDBOX%
|
||||||
|
- \??\%SystemDrive%\Users\%USER%\Sandbox\%SANDBOX%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -339,6 +339,8 @@ void COptionsWindow::LoadGeneral()
|
||||||
ui.chkEncrypt->setEnabled(!ui.chkRamBox->isChecked());
|
ui.chkEncrypt->setEnabled(!ui.chkRamBox->isChecked());
|
||||||
ui.chkForceProtection->setEnabled(!ui.chkRamBox->isChecked());
|
ui.chkForceProtection->setEnabled(!ui.chkRamBox->isChecked());
|
||||||
}
|
}
|
||||||
|
ui.chkForceProtection->setEnabled(ui.chkEncrypt->isEnabled() && ui.chkEncrypt->isChecked());
|
||||||
|
|
||||||
CSandBoxPlus* pBoxEx = qobject_cast<CSandBoxPlus*>(m_pBox.data());
|
CSandBoxPlus* pBoxEx = qobject_cast<CSandBoxPlus*>(m_pBox.data());
|
||||||
if (pBoxEx && QFile::exists(pBoxEx->GetBoxImagePath()))
|
if (pBoxEx && QFile::exists(pBoxEx->GetBoxImagePath()))
|
||||||
{
|
{
|
||||||
|
@ -1147,6 +1149,8 @@ void COptionsWindow::OnDiskChanged()
|
||||||
ui.chkForceProtection->setEnabled(ui.chkEncrypt->isChecked());
|
ui.chkForceProtection->setEnabled(ui.chkEncrypt->isChecked());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ui.chkForceProtection->setEnabled(ui.chkEncrypt->isEnabled() && ui.chkEncrypt->isChecked());
|
||||||
|
|
||||||
OnGeneralChanged();
|
OnGeneralChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -685,6 +685,14 @@ void CFilesPage::initializePage()
|
||||||
m_pBoxLocation->clear();
|
m_pBoxLocation->clear();
|
||||||
QString Location = theAPI->GetGlobalSettings()->GetText("FileRootPath", "\\??\\%SystemDrive%\\Sandbox\\%USER%\\%SANDBOX%");
|
QString Location = theAPI->GetGlobalSettings()->GetText("FileRootPath", "\\??\\%SystemDrive%\\Sandbox\\%USER%\\%SANDBOX%");
|
||||||
m_pBoxLocation->addItem(Location/*.replace("%SANDBOX%", field("boxName").toString())*/);
|
m_pBoxLocation->addItem(Location/*.replace("%SANDBOX%", field("boxName").toString())*/);
|
||||||
|
QStringList StdLocations = QStringList()
|
||||||
|
<< "\\??\\%SystemDrive%\\Sandbox\\%USER%\\%SANDBOX%"
|
||||||
|
<< "\\??\\%SystemDrive%\\Sandbox\\%SANDBOX%"
|
||||||
|
<< "\\??\\%SystemDrive%\\Users\\%USER%\\Sandbox\\%SANDBOX%";
|
||||||
|
foreach(auto StdLocation, StdLocations) {
|
||||||
|
if (StdLocation != Location)
|
||||||
|
m_pBoxLocation->addItem(StdLocation);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CFilesPage::validatePage()
|
bool CFilesPage::validatePage()
|
||||||
|
|
Loading…
Reference in New Issue