Skip to content

Commit

Permalink
Make settings directory sensible on Windows (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShellyHerself authored May 15, 2020
2 parents 4a0a1e3 + 80e8eb8 commit 975dfd4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

This project also inherits changes from [Binilla](https://github.com/Sigmmma/binilla).

## [1.9.4]
### Changed
- Settings directory is for Windows is now in the user folder.

## [1.9.3]
### Changed
- Don't use charsetnormalizer. Fixes issue with not being able to install on Windows.
Expand Down
4 changes: 2 additions & 2 deletions mozzarilla/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
# ##############
__author__ = "Sigmmma"
# YYYY.MM.DD
__date__ = "2020.05.01"
__version__ = (1, 9, 3)
__date__ = "2020.05.15"
__version__ = (1, 9, 4)
__website__ = "https://github.com/Sigmmma/mozzarilla"
2 changes: 1 addition & 1 deletion mozzarilla/editor_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
MOZZLIB_DIR = Path(__file__).parent

if b_e_c.IS_WIN:
SETTINGS_DIR = Path(WORKING_DIR, "mek_config")
SETTINGS_DIR = Path(Path.home(), "mek")
else:
SETTINGS_DIR = Path(Path.home(), ".local", "share", "mek")

Expand Down

0 comments on commit 975dfd4

Please sign in to comment.