Skip to content

Commit

Permalink
changed update URL in client configuration
Browse files Browse the repository at this point in the history
changed default development version info
  • Loading branch information
Ronny Wegener committed Jan 18, 2020
1 parent abeb38f commit 0511a6d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/app/Configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion src/app/__tests__/Configuration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/app/__tests__/ConfigurationDarwin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/app/__tests__/ConfigurationLinux.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/app/__tests__/ConfigurationWindows.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/web/mjs/VersionInfo.mjs
Original file line number Diff line number Diff line change
@@ -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',
Expand Down

0 comments on commit 0511a6d

Please sign in to comment.