flash support #2

Former-commit-id: b83223d4c9a9e6fb52e5f2f78fce144cbea3be3a
This commit is contained in:
Bruno Queiros 2016-01-25 10:44:10 -02:00
parent 2044bcfcf7
commit ea3945a836
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1 @@
6f57ffe565395a28195d111c5f80bcf3e87817b2

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 = () => {};