Skip to content

Commit

Permalink
Update default ZAP home dir in Windows
Browse files Browse the repository at this point in the history
Use just `ZAP_D`.

Related to zaproxy/zaproxy#7988.

Signed-off-by: thc202 <thc202@gmail.com>
  • Loading branch information
thc202 committed Aug 8, 2023
1 parent 86e2b76 commit 81fff0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Recommended minimum Gradle version is now 8.2.
- Update ZAP API client to version 1.12.0.
- The default ZAP home dir in Windows was changed to `ZAP_D`, to match the change done in ZAP itself.

### Fixed
- Correct the tasks `PrepareNextDevIter` and `PrepareRelease` to use their properties, for the `version` and `release`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private static String getDevHomeDir() {
} else if (SystemUtils.IS_OS_MAC) {
devHomeDir += "/Library/Application Support/ZAP_D";
} else {
devHomeDir += "\\OWASP ZAP_D";
devHomeDir += "\\ZAP_D";
}
}
return devHomeDir;
Expand Down

0 comments on commit 81fff0e

Please sign in to comment.