This commit is contained in:
DavidXanatos 2022-09-22 09:10:56 +02:00
parent 1608730ade
commit d6fe24c6da
4 changed files with 9 additions and 3 deletions

View File

@ -10,6 +10,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- fixed issues with stale data in Sandboxie-Plus.ini [#2248](https://github.com/sandboxie-plus/Sandboxie/pull/2248) (thanks okrc)
- fixed issue with dummy manifests [#2252](https://github.com/sandboxie-plus/Sandboxie/issues/2252)
- fixed issue with xyplorer [#2230](https://github.com/sandboxie-plus/Sandboxie/issues/2230)

View File

@ -1092,6 +1092,8 @@ typedef enum _KEY_INFORMATION_CLASS {
KeyFlagsInformation,
KeyVirtualizationInformation, // Windows Vista
KeyHandleTagsInformation, // Windows 7
KeyTrustInformation,
KeyLayerInformation,
MaxKeyInfoClass
} KEY_INFORMATION_CLASS;

View File

@ -2781,7 +2781,10 @@ _FX NTSTATUS Key_NtQueryKeyImpl(
if (KeyInformationClass == KeyBasicInformation ||
KeyInformationClass == KeyNodeInformation ||
KeyInformationClass == KeyFlagsInformation)
KeyInformationClass == KeyFlagsInformation ||
KeyInformationClass == KeyTrustInformation ||
KeyInformationClass == KeyLayerInformation)
{
status = __sys_NtQueryKey(
KeyHandle, KeyInformationClass, KeyInformation,

View File

@ -1522,12 +1522,12 @@ void CSandMan::OnStatusChanged()
int PortableRootDir = theConf->GetInt("Options/PortableRootDir", 2);
if (PortableRootDir == 2)
{
QString NtBoxRoot = theAPI->GetGlobalSettings()->GetText("FileRootPath", "\\??\\%SystemDrive%\\Sandbox\\%USER%\\%SANDBOX%", false, false).replace("GlobalSettings", "BoxName");
QString NtBoxRoot = theAPI->GetGlobalSettings()->GetText("FileRootPath", "\\??\\%SystemDrive%\\Sandbox\\%USER%\\%SANDBOX%", false, false).replace("GlobalSettings", "[BoxName]");
bool State = false;
PortableRootDir = CCheckableMessageBox::question(this, "Sandboxie-Plus",
tr("Sandboxie-Plus was started in portable mode, do you want to put the Sandbox folder into its parent directory?\nYes will choose: %1\nNo will choose: %2")
.arg(BoxPath)
.arg(BoxPath + "\\[BoxName]")
.arg(theAPI->Nt2DosPath(NtBoxRoot))
, tr("Don't show this message again."), &State, QDialogButtonBox::Yes | QDialogButtonBox::No, QDialogButtonBox::Yes, QMessageBox::Information) == QDialogButtonBox::Yes ? 1 : 0;