Skip to content

Commit

Permalink
fix window configuration from json (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
neolao authored Apr 15, 2020
1 parent 790965c commit ba4dc37
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion 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

## [Unreleased]

## [0.32.1] - 2020-04-15
### Fixed
- Window configuration

## [0.32.0] - 2020-04-12
### Added
- Support YAML configuration file
Expand Down Expand Up @@ -58,7 +62,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Random character includes styles
- Random character select the first color automatically

[Unreleased]: https://github.com/mugen-launcher/quick-versus/compare/0.32.0...HEAD
[Unreleased]: https://github.com/mugen-launcher/quick-versus/compare/0.32.1...HEAD
[0.32.1]: https://github.com/mugen-launcher/quick-versus/compare/0.32.0...0.32.1
[0.32.0]: https://github.com/mugen-launcher/quick-versus/compare/0.31.0...0.32.0
[0.31.0]: https://github.com/mugen-launcher/quick-versus/compare/0.30.2...0.31.0
[0.30.2]: https://github.com/mugen-launcher/quick-versus/compare/0.30.1...0.30.2
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function createWindow() {
const yamlFilePath = path.resolve(currentDirectory, "quick-versus.yml");
let config;
if (fs.existsSync(jsonFilePath)) {
config = require(configurationFilePath);
config = require(jsonFilePath);
} else if (fs.existsSync(yamlFilePath)) {
config = configYaml(yamlFilePath);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mugen-quick-versus-launcher",
"author": "neolao",
"license": "MIT",
"version": "0.32.0",
"version": "0.32.1",
"description": "Mugen launcher for Quick Versus",
"keywords": [
"mugen",
Expand Down

0 comments on commit ba4dc37

Please sign in to comment.