Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Commit

Permalink
20200607 - This is 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yafp committed Jun 7, 2020
1 parent 8952162 commit 5159164
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
7 changes: 6 additions & 1 deletion app/js/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,9 @@ function urlInputFieldOnFocus () {
* @param {booean} [silent] - Boolean with default value. Shows a feedback in case of no available updates If 'silent' = false. Special handling for manually triggered update search
*/
function searchUpdate (silent = true) {

var semver = require('semver')

ui.windowMainApplicationStateSet('Searching media-dupes updates')

// check if pre-releases should be included or not
Expand Down Expand Up @@ -529,7 +532,9 @@ function searchUpdate (silent = true) {
utils.writeConsoleMsg('info', 'searchUpdate ::: Latest media-dupes version: ' + remoteAppVersionLatest)

// If a stable (not a prelease) update is available - see #73
if (localAppVersion < remoteAppVersionLatest) {

//if (localAppVersion < remoteAppVersionLatest) {
if(semver.lt(localAppVersion, remoteAppVersionLatest)) {
utils.writeConsoleMsg('info', 'searchUpdate ::: Found update, notify user')

// prepare the message for the user - depending on the fact if it is a pre-release or not
Expand Down
3 changes: 2 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ The following categories are used:

***

### media-dupes 0.10.0 (2020xxyy) - DEV
### media-dupes 0.10.0 (20200607)
#### `Added`
* Added todo-list-protection to ensure items of the list arent removed while media-dupes is processing the list. See [#127](https://github.com/yafp/media-dupes/issues/127)
* Added a warning dialog about consequences of not updating media-dupes. See [#129](https://github.com/yafp/media-dupes/issues/129)

#### `Changed`
* Improved update check - using semver for version comparison.
* Updated dependencies:
* Updated `about-window` from `1.13.2` to `1.13.4`
* Updated `datatables.net-dt` from `1.10.20` to `1.10.21`
Expand Down
10 changes: 4 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "media-dupes",
"productName": "media-dupes",
"desktopName": "media-dupes.desktop",
"version": "0.9.20200607",
"version": "0.10.0",
"description": "a minimal content duplicator for common media services like youtube",
"main": "main.js",
"repository": {
Expand Down Expand Up @@ -276,6 +276,7 @@
"metascraper-youtube": "^5.11.21",
"noty": "^3.2.0-beta",
"popper.js": "^1.16.1",
"semver": "^7.3.2",
"time-stamp": "^2.2.0",
"v8-compile-cache": "^2.1.1",
"yargs": "^15.3.1",
Expand Down

0 comments on commit 5159164

Please sign in to comment.