From 954a30047aeb56222e15d4029e615d269490fd8e Mon Sep 17 00:00:00 2001 From: DavidXanatos Date: Sun, 1 May 2022 10:55:14 +0200 Subject: [PATCH 1/2] 1.0.20 --- CHANGELOG.md | 2 +- SandboxiePlus/QSbieAPI/SbieUtils.cpp | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 743d9c37..b2932714 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - fixed BSOD issue with driver [#1811](https://github.com/sandboxie-plus/Sandboxie/issues/1811) - fixed issue with editing start restriction entries - fixed issue with netwirk options tab [#1825](https://github.com/sandboxie-plus/Sandboxie/issues/1825) - +- fixed portable mode issue when runnign sandman as admin [#1764](https://github.com/sandboxie-plus/Sandboxie/issues/1764) diff --git a/SandboxiePlus/QSbieAPI/SbieUtils.cpp b/SandboxiePlus/QSbieAPI/SbieUtils.cpp index 2a0b4f17..13247639 100644 --- a/SandboxiePlus/QSbieAPI/SbieUtils.cpp +++ b/SandboxiePlus/QSbieAPI/SbieUtils.cpp @@ -153,8 +153,11 @@ SB_RESULT(void*) CSbieUtils::ElevateOps(const QStringList& Ops) if (Ops.isEmpty()) return SB_OK; - if (IsProcessElevatd()) - return ExecOps(Ops); + if (IsProcessElevatd()) { + SB_RESULT(void*) result = ExecOps(Ops); + QThread::msleep(1000); // wait for the operation to finish properly + return result; + } wstring path = QCoreApplication::applicationFilePath().toStdWString(); wstring params = L"-assist \"" + Ops.join("\" \"").toStdWString() + L"\""; From 50b2420f2212e3fed43f24bd0be70ac5a76d70ea Mon Sep 17 00:00:00 2001 From: DavidXanatos Date: Sun, 1 May 2022 17:52:28 +0200 Subject: [PATCH 2/2] 1.0.20 --- Sandboxie/common/my_version.h | 4 ++-- SandboxiePlus/version.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sandboxie/common/my_version.h b/Sandboxie/common/my_version.h index 27116d78..ce3ae15d 100644 --- a/Sandboxie/common/my_version.h +++ b/Sandboxie/common/my_version.h @@ -21,8 +21,8 @@ #ifndef _MY_VERSION_H #define _MY_VERSION_H -#define MY_VERSION_BINARY 5,55,19 -#define MY_VERSION_STRING "5.55.19" +#define MY_VERSION_BINARY 5,55,20 +#define MY_VERSION_STRING "5.55.20" #define MY_VERSION_COMPAT "5.55.0" // this refers to the driver ABI compatibility // These #defines are used by either Resource Compiler or NSIS installer diff --git a/SandboxiePlus/version.h b/SandboxiePlus/version.h index 43adeb58..1782b33e 100644 --- a/SandboxiePlus/version.h +++ b/SandboxiePlus/version.h @@ -2,7 +2,7 @@ #define VERSION_MJR 1 #define VERSION_MIN 0 -#define VERSION_REV 19 +#define VERSION_REV 20 #define VERSION_UPD 0 #ifndef STR