Merge branch 'master' into 'stable'
v1.1.2 See merge request openflexure/openflexure-microscope-jsclient!39
This commit is contained in:
commit
09fd132a29
4 changed files with 4 additions and 9 deletions
|
|
@ -12,11 +12,6 @@ const { store } = require('./store')
|
||||||
// Auto upadater
|
// Auto upadater
|
||||||
autoUpdater.autoDownload = false;
|
autoUpdater.autoDownload = false;
|
||||||
|
|
||||||
autoUpdater.setFeedURL({
|
|
||||||
provider: "generic",
|
|
||||||
url: "https://gitlab.com/openflexure/openflexure-microscope-jsclient/-/jobs/artifacts/stable/raw?job=package"
|
|
||||||
});
|
|
||||||
|
|
||||||
autoUpdater.on('checking-for-update', function () {});
|
autoUpdater.on('checking-for-update', function () {});
|
||||||
|
|
||||||
autoUpdater.on('update-available', function (info) {
|
autoUpdater.on('update-available', function (info) {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ artifactName: ${name}-${os}-${arch}.${ext}
|
||||||
asar: true
|
asar: true
|
||||||
publish:
|
publish:
|
||||||
- provider: generic
|
- provider: generic
|
||||||
url: https://gitlab.com
|
url: https://build.openflexure.org/openflexure-ev/
|
||||||
files:
|
files:
|
||||||
- filter:
|
- filter:
|
||||||
- '**/*'
|
- '**/*'
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ const store = new Store();
|
||||||
|
|
||||||
if (store.has('drawCustomTitleBar') !== true) {
|
if (store.has('drawCustomTitleBar') !== true) {
|
||||||
// Default to false if on MacOS, otherwise true
|
// Default to false if on MacOS, otherwise true
|
||||||
store.set('drawCustomTitleBar', (process.platform !== 'darwin') ? true : false)
|
store.set('drawCustomTitleBar', (process.platform === 'win32') ? true : false)
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports.store = store
|
module.exports.store = store
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "openflexure-ev",
|
"name": "openflexure-ev",
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "An electron-based user client for the OpenFlexure Microscope Server",
|
"description": "An electron-based user client for the OpenFlexure Microscope Server",
|
||||||
"author": "OpenFlexure <contact@openflexure.org> (https://www.openflexure.org)",
|
"author": "OpenFlexure <contact@openflexure.org> (https://www.openflexure.org)",
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
"axios": "^0.18.0",
|
"axios": "^0.18.0",
|
||||||
"css-loader": "^2.1.1",
|
"css-loader": "^2.1.1",
|
||||||
"electron": "^4.1.4",
|
"electron": "^4.1.4",
|
||||||
"electron-builder": "^21.0.1",
|
"electron-builder": "^21.2.0",
|
||||||
"less": "^3.9.0",
|
"less": "^3.9.0",
|
||||||
"less-loader": "^4.1.0",
|
"less-loader": "^4.1.0",
|
||||||
"uikit": "^3.1.1",
|
"uikit": "^3.1.1",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue