1.0.11
This commit is contained in:
parent
48801788d8
commit
5c106076fc
|
@ -14,6 +14,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
### Added
|
||||
- added optional tray notification when a box content gets auto deleted
|
||||
- added FreeDownloadManager template
|
||||
- added warnign when opening unsandboxed regedit [#1606](https://github.com/sandboxie-plus/Sandboxie/issues/1606)
|
||||
|
||||
### Changed
|
||||
- the asynchroniouse box operations introduced in the last build are due to a pupular request now disabled by default
|
||||
|
|
|
@ -260,7 +260,7 @@ QString CSbieUtils::GetContextMenuStartCmd()
|
|||
return QString::fromWCharArray(path);
|
||||
}
|
||||
|
||||
void CSbieUtils::AddContextMenu(const QString& StartPath, const QString& RunStr, const QString& ExploreStr, const QString& IconPath)
|
||||
void CSbieUtils::AddContextMenu(const QString& StartPath, const QString& RunStr, /*const QString& ExploreStr,*/ const QString& IconPath)
|
||||
{
|
||||
wstring start_path = L"\"" + StartPath.toStdWString() + L"\"";
|
||||
wstring icon_path = L"\"" + (IconPath.isEmpty() ? StartPath : IconPath).toStdWString() + L"\"";
|
||||
|
@ -290,7 +290,7 @@ void CSbieUtils::AddContextMenu(const QString& StartPath, const QString& RunStr,
|
|||
explorer_path.append(L"\\explorer.exe");
|
||||
}
|
||||
|
||||
CreateShellEntry(L"Folder", L"sandbox", ExploreStr.toStdWString(), icon_path, start_path + L" /box:__ask__ " + explorer_path + L" \"%1\"");
|
||||
CreateShellEntry(L"Folder", L"sandbox", RunStr.toStdWString(), icon_path, start_path + L" /box:__ask__ " + explorer_path + L" \"%1\""); // ExploreStr
|
||||
}
|
||||
|
||||
void CSbieUtils::CreateShellEntry(const wstring& classname, const wstring& key, const wstring& cmdtext, const wstring& iconpath, const wstring& startcmd)
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
static bool IsInstalled(EComponent Component);
|
||||
|
||||
static QString GetContextMenuStartCmd();
|
||||
static void AddContextMenu(const QString& StartPath, const QString& RunStr, const QString& ExploreStr, const QString& IconPath = QString());
|
||||
static void AddContextMenu(const QString& StartPath, const QString& RunStr, /*const QString& ExploreStr,*/ const QString& IconPath = QString());
|
||||
static void RemoveContextMenu();
|
||||
|
||||
static bool HasContextMenu2();
|
||||
|
|
|
@ -872,6 +872,17 @@ void CSbieView::OnSandBoxAction(QAction* Action)
|
|||
return;
|
||||
}
|
||||
|
||||
if (theConf->GetInt("Options/WarnOpenRegistry", -1) == -1)
|
||||
{
|
||||
bool State = false;
|
||||
if (CCheckableMessageBox::question(this, "Sandboxie-Plus", tr("WARNING: The opened registry editor is not sand boxed, please be careful and only do changes to the pre-selected sandbox locations.")
|
||||
, tr("Don't show this warning in future"), &State, QDialogButtonBox::Ok | QDialogButtonBox::Cancel, QDialogButtonBox::Yes, QMessageBox::Information) != QDialogButtonBox::Ok)
|
||||
return;
|
||||
|
||||
if (State)
|
||||
theConf->SetValue("Options/WarnOpenRegistry", 1);
|
||||
}
|
||||
|
||||
wstring path = QCoreApplication::applicationFilePath().toStdWString();
|
||||
|
||||
QStringList RegRoot = SandBoxes.first()->GetRegRoot().split("\\");
|
||||
|
|
|
@ -218,7 +218,7 @@ Qt::CheckState CSettingsWindow__IsContextMenu()
|
|||
void CSettingsWindow__AddContextMenu()
|
||||
{
|
||||
CSbieUtils::AddContextMenu(QApplication::applicationDirPath().replace("/", "\\") + "\\SandMan.exe",
|
||||
CSettingsWindow::tr("Run &Sandboxed"), CSettingsWindow::tr("Explore &Sandboxed"),
|
||||
CSettingsWindow::tr("Run &Sandboxed"), //CSettingsWindow::tr("Explore &Sandboxed"),
|
||||
QApplication::applicationDirPath().replace("/", "\\") + "\\Start.exe");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue