Skip to content

Commit

Permalink
Updated readme and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Girbons committed Apr 8, 2019
1 parent 74376e7 commit 5de2bd2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
<a name="v0.9"></a>
# [0.9 (v0.9)](https://github.com/Girbons/comics-downloader/releases/tag/v0.9) - 08 Apr 2019

# What's New

* It's now possible to create a `config.yaml` to specify the default output format

# Improvments

* It's now possible to omit the `url` parameter

[Changes][v0.9]


<a name="v0.8"></a>
# [0.8 (v0.8)](https://github.com/Girbons/comics-downloader/releases/tag/v0.8) - 06 Apr 2019

Expand Down Expand Up @@ -148,6 +162,7 @@ Well, this is the first release :)
[Changes][v0.1.0]


[v0.9]: https://github.com/Girbons/comics-downloader/compare/v0.8...v0.9
[v0.8]: https://github.com/Girbons/comics-downloader/compare/v0.7.1...v0.8
[v0.7.1]: https://github.com/Girbons/comics-downloader/compare/v0.7...v0.7.1
[v0.7]: https://github.com/Girbons/comics-downloader/compare/v0.6.1...v0.7
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@

Download the latest release:

- [Linux](https://github.com/Girbons/comics-downloader/releases/download/v0.8/comics-downloader)
- [OSX](https://github.com/Girbons/comics-downloader/releases/download/v0.8/comics-downloader-osx)
- [Windows](https://github.com/Girbons/comics-downloader/releases/download/v0.8/comics-downloader.exe)
- [Linux](https://github.com/Girbons/comics-downloader/releases/download/v0.9/comics-downloader)
- [OSX](https://github.com/Girbons/comics-downloader/releases/download/v0.9/comics-downloader-osx)
- [Windows](https://github.com/Girbons/comics-downloader/releases/download/v0.9/comics-downloader.exe)

Put the script under a folder.

Expand Down
2 changes: 1 addition & 1 deletion pkg/core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (comic *Comic) SetConfig(config *config.ComicConfig) {
// getConfigValues will try to get some
func (comic *Comic) getConfigValues() {
// retrieve values from config file if exist
if comic.Format != "" {
if comic.Format == "" {
if configFormat := comic.Config.DefaultOutputFormat; configFormat != "" {
comic.Format = configFormat
}
Expand Down

0 comments on commit 5de2bd2

Please sign in to comment.