Skip to content

Commit

Permalink
1.15.7
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidXanatos committed Feb 13, 2025
1 parent 5fff0ed commit db284d6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions SandboxiePlus/SandMan/Wizards/BoxAssistant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,8 @@ void CListPage::LoadIssues()
QString Filter = m_pFilter->text();

foreach(auto Issue, ((CBoxAssistant*)wizard())->GetIssues(List)) {
if(Issue["name"].toString().isEmpty())
continue;
if (Filter.isEmpty()
|| theGUI->GetScripts()->Tr(Issue["name"].toString()).contains(Filter, Qt::CaseInsensitive)
|| theGUI->GetScripts()->Tr(Issue["description"].toString()).contains(Filter, Qt::CaseInsensitive))
Expand Down
18 changes: 9 additions & 9 deletions SandboxiePlus/SandMan/Wizards/NewBoxWizard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ SB_STATUS CNewBoxWizard::TryToCreateBox()
}
if (sharedTemplateMode == 1) { // Insert as template
const QString insertValue = templateFullName.mid(9); // Template_
pBox->InsertText("Template", insertValue);
pBox->AppendText("Template", insertValue);
}
else if (sharedTemplateMode == 2) { // Append template settings to configuration
for (const QString& tLine : templateSettingsLines) {
Expand Down Expand Up @@ -203,8 +203,8 @@ SB_STATUS CNewBoxWizard::TryToCreateBox()
pBox->SetBool("UsePrivacyMode", true);
case CSandBoxPlus::eAppBox:
pBox->SetBool("NoSecurityIsolation", true);
//pBox->InsertText("Template", "NoUACProxy"); // proxy is always needed for exes in the box
pBox->InsertText("Template", "RpcPortBindingsExt");
//pBox->AppendText("Template", "NoUACProxy"); // proxy is always needed for exes in the box
pBox->AppendText("Template", "RpcPortBindingsExt");
break;
}

Expand Down Expand Up @@ -242,14 +242,14 @@ SB_STATUS CNewBoxWizard::TryToCreateBox()
pBox->SetBool("AutoRecover", true);

if (field("blockNetwork").toInt() == 1) { // device based
//pBox->InsertText("AllowNetworkAccess", "<BlockNetAccess>,n");
pBox->InsertText("ClosedFilePath", "!<InternetAccess>,InternetAccessDevices");
//pBox->InsertText("ClosedFilePath", "<BlockNetDevices>,InternetAccessDevices");
//pBox->AppendText("AllowNetworkAccess", "<BlockNetAccess>,n");
pBox->AppendText("ClosedFilePath", "!<InternetAccess>,InternetAccessDevices");
//pBox->AppendText("ClosedFilePath", "<BlockNetDevices>,InternetAccessDevices");
}
else if (field("blockNetwork").toInt() == 2) { // using WFP
pBox->InsertText("AllowNetworkAccess", "!<InternetAccess>,n");
//pBox->InsertText("AllowNetworkAccess", "<BlockNetAccess>,n");
//pBox->InsertText("ClosedFilePath", "<BlockNetDevices>,InternetAccessDevices");
pBox->AppendText("AllowNetworkAccess", "!<InternetAccess>,n");
//pBox->AppendText("AllowNetworkAccess", "<BlockNetAccess>,n");
//pBox->AppendText("ClosedFilePath", "<BlockNetDevices>,InternetAccessDevices");
}
pBox->SetBool("BlockNetworkFiles", !field("shareAccess").toBool());

Expand Down

0 comments on commit db284d6

Please sign in to comment.