Skip to content

Commit

Permalink
added flag for not requiring user action
Browse files Browse the repository at this point in the history
  • Loading branch information
calym committed Jun 28, 2019
1 parent f76dbbf commit c937b11
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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 <exhibit.media@smm.org>",
Expand Down Expand Up @@ -158,7 +158,10 @@
]
},
"win": {
"target": ["nsis", "msi"]
"target": [
"nsis",
"msi"
]
},
"nsis": {
"artifactName": "${productName}-${os}-${version}-installer.${ext}"
Expand Down
2 changes: 2 additions & 0 deletions src/main/main.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

3 comments on commit c937b11

@tnordberg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@calym do you know if this was every merged into master?

@calym
Copy link
Author

@calym calym commented on c937b11 Apr 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a very good question. I don't know! Even if it did I'm pretty sure we didn't officially do a version bump that includes it.

@tnordberg
Copy link
Member

@tnordberg tnordberg commented on c937b11 Apr 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, thanks. I don't see this anywhere in master's history, so I think this is only being used in Infestation.
I might bug ya in the next couple weeks about helping me merge these improvements.

Please sign in to comment.