Skip to content

Commit

Permalink
1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidXanatos committed Jul 25, 2022
1 parent 5acf82c commit 8f799af
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions Sandboxie/common/my_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#ifndef _MY_VERSION_H
#define _MY_VERSION_H

#define MY_VERSION_BINARY 5,57,5
#define MY_VERSION_STRING "5.57.5"
#define MY_VERSION_BINARY 5,57,6
#define MY_VERSION_STRING "5.57.6"
#define MY_VERSION_COMPAT "5.57.1" // this refers to the driver ABI compatibility

// These #defines are used by either Resource Compiler or NSIS installer
Expand Down
28 changes: 14 additions & 14 deletions Sandboxie/core/dll/custom.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,20 +134,6 @@ _FX UCHAR GetSetCustomLevel(UCHAR SetLevel)

if (! SetLevel) {

//
// if UseRegDeleteV2 is set, check if RegPaths.dat was loaded
// if not it means the box was previusly a V1 box,
// hence return 0 and re run customization
//
// note: DeleteShellAssocKeys deletes the sandboxie shell integration keys
// so the existence of a RegPaths.dat in a customized box is a reliable indicator
//

extern BOOLEAN Key_Delete_v2;
extern BOOLEAN Key_RegPaths_Loaded;
if (Key_Delete_v2 && !Key_RegPaths_Loaded)
return 0;

//
// open the AutoExec key, also used to indicate if this sandbox
// has already been customized
Expand Down Expand Up @@ -190,6 +176,20 @@ _FX UCHAR GetSetCustomLevel(UCHAR SetLevel)
SbieApi_Log(2206, path);
}

//
// if UseRegDeleteV2 is set, check if RegPaths.dat was loaded
// if not it means the box was previusly a V1 box,
// hence return 0 and re run customization
//
// note: DeleteShellAssocKeys deletes the sandboxie shell integration keys
// so the existence of a RegPaths.dat in a customized box is a reliable indicator
//

extern BOOLEAN Key_Delete_v2;
extern BOOLEAN Key_RegPaths_Loaded;
if (Key_Delete_v2 && !Key_RegPaths_Loaded)
return 0;

} else if (AutoExecHKey) {

//
Expand Down
2 changes: 1 addition & 1 deletion SandboxiePlus/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#define VERSION_MJR 1
#define VERSION_MIN 2
#define VERSION_REV 5
#define VERSION_REV 6
#define VERSION_UPD 0

#ifndef STR
Expand Down

0 comments on commit 8f799af

Please sign in to comment.