From ea3945a8361042ed412c8805c5554292d223bf55 Mon Sep 17 00:00:00 2001 From: Bruno Queiros Date: Mon, 25 Jan 2016 10:44:10 -0200 Subject: [PATCH] flash support #2 Former-commit-id: b83223d4c9a9e6fb52e5f2f78fce144cbea3be3a --- app/plugins/libpepflashplayer.so.REMOVED.git-id | 1 + app/src/main.js | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 app/plugins/libpepflashplayer.so.REMOVED.git-id diff --git a/app/plugins/libpepflashplayer.so.REMOVED.git-id b/app/plugins/libpepflashplayer.so.REMOVED.git-id new file mode 100644 index 0000000..d01f625 --- /dev/null +++ b/app/plugins/libpepflashplayer.so.REMOVED.git-id @@ -0,0 +1 @@ +6f57ffe565395a28195d111c5f80bcf3e87817b2 \ No newline at end of file diff --git a/app/src/main.js b/app/src/main.js index d7adccf..8e5c795 100644 --- a/app/src/main.js +++ b/app/src/main.js @@ -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 = () => {};