Skip to content

Commit

Permalink
Change to AppData wrt. Windows 11 (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer authored Nov 25, 2021
1 parent e24a843 commit 5ecbebd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [UNRELEASED] - YYYY-MM-DD

- [#539](https://github.com/equinor/webviz-config/pull/539) - Support using oauth behind proxy, if silent refresh of oauth token fails, fall back to loud refresh of token instead of raising internal server error
### Fixed
- [#539](https://github.com/equinor/webviz-config/pull/539) - Support using OAuth behind proxy. If silent refresh of OAuth token fails, fall back to loud refresh of token instead of raising internal server error.
- [#550](https://github.com/equinor/webviz-config/pull/550) - Change user data directory on Windows from `Application Data` to `AppData` (both work on Windows 10, but only the latter works on Windows 11).

## [0.3.6] - 2021-11-08

Expand Down
2 changes: 1 addition & 1 deletion webviz_config/_user_data_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def user_data_dir() -> Path:
"""Returns platform specific path to store user application data"""

if sys.platform == "win32":
return Path.home() / "Application Data" / "webviz"
return Path.home() / "AppData" / "webviz"

if sys.platform == "darwin":
return Path.home() / "Library" / "Application Support" / "webviz"
Expand Down

0 comments on commit 5ecbebd

Please sign in to comment.