From 0511a6da8b4f5679543fa8ce2fbc1e27fdf41a52 Mon Sep 17 00:00:00 2001 From: Ronny Wegener Date: Sat, 18 Jan 2020 19:42:40 +0100 Subject: [PATCH] changed update URL in client configuration changed default development version info --- src/app/Configuration.js | 2 +- src/app/__tests__/Configuration.test.js | 2 +- src/app/__tests__/ConfigurationDarwin.test.js | 2 +- src/app/__tests__/ConfigurationLinux.test.js | 2 +- src/app/__tests__/ConfigurationWindows.tests.js | 2 +- src/web/mjs/VersionInfo.mjs | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/Configuration.js b/src/app/Configuration.js index fe274975ab..2cef98ded8 100644 --- a/src/app/Configuration.js +++ b/src/app/Configuration.js @@ -23,7 +23,7 @@ module.exports = class Configuration { constructor(configuration) { let options = configuration || {}; let applicationExecutableDirectory = path.dirname(electron.app.getPath('exe')); - this._applicationUpdateURL = options['applicationUpdateURL'] || 'https://manga-download.github.io/hakuneko/master/latest'; + this._applicationUpdateURL = options['applicationUpdateURL'] || 'https://manga-download.github.io/hakuneko/6.1.7/latest'; this._applicationStartupURL = options['applicationStartupURL'] || 'hakuneko://cache/index.html'; this._applicationCacheDirectory = options['applicationCacheDirectory'] || path.join(applicationExecutableDirectory, 'cache'); this._applicationUserDataDirectory = options['applicationUserDataDirectory'] || path.join(applicationExecutableDirectory, 'userdata'); diff --git a/src/app/__tests__/Configuration.test.js b/src/app/__tests__/Configuration.test.js index dec0ea0bf0..e62c981b76 100644 --- a/src/app/__tests__/Configuration.test.js +++ b/src/app/__tests__/Configuration.test.js @@ -85,7 +85,7 @@ describe('Configuration', function() { describe('applicationUpdateURL', function() { it('should have default after initialization', () => { let testee = new Configuration(undefined); - expect(testee.applicationUpdateURL).toEqual('https://manga-download.github.io/hakuneko/master/latest'); + expect(testee.applicationUpdateURL).toEqual('https://manga-download.github.io/hakuneko/6.1.7/latest'); }); it('should be overwritten by update URL from options', () => { let testee = new Configuration(expected); diff --git a/src/app/__tests__/ConfigurationDarwin.test.js b/src/app/__tests__/ConfigurationDarwin.test.js index f0ca65befd..66c656939e 100644 --- a/src/app/__tests__/ConfigurationDarwin.test.js +++ b/src/app/__tests__/ConfigurationDarwin.test.js @@ -86,7 +86,7 @@ var suite = function() { describe('applicationUpdateURL', function() { it('should have default after initialization', () => { let testee = new Configuration(undefined); - expect(testee.applicationUpdateURL).toEqual('https://manga-download.github.io/hakuneko/master/latest'); + expect(testee.applicationUpdateURL).toEqual('https://manga-download.github.io/hakuneko/6.1.7/latest'); }); it('should be overwritten by update URL from options', () => { let testee = new Configuration(expected); diff --git a/src/app/__tests__/ConfigurationLinux.test.js b/src/app/__tests__/ConfigurationLinux.test.js index 25288fdb40..816bfd82e9 100644 --- a/src/app/__tests__/ConfigurationLinux.test.js +++ b/src/app/__tests__/ConfigurationLinux.test.js @@ -86,7 +86,7 @@ var suite = function() { describe('applicationUpdateURL', function() { it('should have default after initialization', () => { let testee = new Configuration(undefined); - expect(testee.applicationUpdateURL).toEqual('https://manga-download.github.io/hakuneko/master/latest'); + expect(testee.applicationUpdateURL).toEqual('https://manga-download.github.io/hakuneko/6.1.7/latest'); }); it('should be overwritten by update URL from options', () => { let testee = new Configuration(expected); diff --git a/src/app/__tests__/ConfigurationWindows.tests.js b/src/app/__tests__/ConfigurationWindows.tests.js index 487fd1693a..e2beb81e0e 100644 --- a/src/app/__tests__/ConfigurationWindows.tests.js +++ b/src/app/__tests__/ConfigurationWindows.tests.js @@ -87,7 +87,7 @@ var suite = function() { describe('applicationUpdateURL', function() { it('should have default after initialization', () => { let testee = new Configuration(undefined); - expect(testee.applicationUpdateURL).toEqual('https://manga-download.github.io/hakuneko/master/latest'); + expect(testee.applicationUpdateURL).toEqual('https://manga-download.github.io/hakuneko/6.1.7/latest'); }); it('should be overwritten by update URL from options', () => { let testee = new Configuration(expected); diff --git a/src/web/mjs/VersionInfo.mjs b/src/web/mjs/VersionInfo.mjs index 256004b6a5..fc32bf8c18 100644 --- a/src/web/mjs/VersionInfo.mjs +++ b/src/web/mjs/VersionInfo.mjs @@ -1,7 +1,7 @@ export default { branch: { - label: 'master', - link: 'https://github.com/manga-download/hakuneko/commits/master', + label: '6.1.7', + link: 'https://github.com/manga-download/hakuneko/commits/6.1.7', }, revision: { label: 'HEAD',