flash support #2

This commit is contained in:
Bruno Queiros 2016-01-25 10:44:10 -02:00
parent 2044bcfcf7
commit b83223d4c9
2 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@ -20,6 +20,10 @@ var appArgs = JSON.parse(fs.readFileSync(APP_ARGS_FILE_PATH, 'utf8'));
var mainWindow;
// Flash plugin
app.commandLine.appendSwitch('ppapi-flash-path', path.join(__dirname, '../plugins', 'libpepflashplayer.so'));
app.commandLine.appendSwitch('ppapi-flash-version', '16.0.0.305');
// do nothing for setDockBadge if not OSX
let setDockBadge = () => {};