mirror of https://github.com/jiahaog/Nativefier
flash support #2
This commit is contained in:
parent
2044bcfcf7
commit
b83223d4c9
Binary file not shown.
|
@ -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 = () => {};
|
||||
|
||||
|
|
Loading…
Reference in New Issue