Skip to content

Commit

Permalink
add app.getVersion to retrieve electron version
Browse files Browse the repository at this point in the history
  • Loading branch information
koji committed Mar 5, 2024
1 parent b2b07d6 commit ce38dfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app-shell-odd/electron-builder.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
'use strict'
const { app } = require('electron')

module.exports = {
appId: 'com.opentrons.odd',
electronVersion: '27.0.0',
electronVersion: app.getVersion(),
npmRebuild: false,
files: [
'**/*',
Expand Down
3 changes: 2 additions & 1 deletion app-shell/electron-builder.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict'
const path = require('path')
const { versionForProject } = require('../scripts/git-version')
const { app } = require('electron')

const {
OT_APP_DEPLOY_BUCKET,
Expand All @@ -25,7 +26,7 @@ const publishConfig =
module.exports = async () => ({
appId:
project === 'robot-stack' ? 'com.opentrons.app' : 'com.opentrons.appot3',
electronVersion: '23.3.13',
electronVersion: app.getVersion(),
npmRebuild: false,
releaseInfo: {
releaseNotesFile:
Expand Down

0 comments on commit ce38dfb

Please sign in to comment.