diff --git a/package.json b/package.json index 7d22e45b..a894faed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stele", - "version": "2.1.6", + "version": "2.1.7", "private": true, "description": "Kiosk app wrapper for museum media exhibits", "author": "Science Museum of Minnesota ", @@ -158,7 +158,10 @@ ] }, "win": { - "target": ["nsis", "msi"] + "target": [ + "nsis", + "msi" + ] }, "nsis": { "artifactName": "${productName}-${os}-${version}-installer.${ext}" diff --git a/src/main/main.dev.js b/src/main/main.dev.js index 24f3e723..e81b9ee6 100644 --- a/src/main/main.dev.js +++ b/src/main/main.dev.js @@ -45,6 +45,8 @@ if (process.env.NODE_ENV === 'production') { sourceMapSupport.install(); } +app.commandLine.appendSwitch('--autoplay-policy', 'no-user-gesture-required'); + app.on('ready', async () => { // // App settings setup