diff --git a/app-shell-odd/electron-builder.config.js b/app-shell-odd/electron-builder.config.js index d5cd4ac7eea..afacc819128 100644 --- a/app-shell-odd/electron-builder.config.js +++ b/app-shell-odd/electron-builder.config.js @@ -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: [ '**/*', diff --git a/app-shell/electron-builder.config.js b/app-shell/electron-builder.config.js index a48e3a8b6b2..ddf6d683923 100644 --- a/app-shell/electron-builder.config.js +++ b/app-shell/electron-builder.config.js @@ -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, @@ -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: