ci: set up travis build
- use seperate plugin dirs, plugins-mac, plugins-win, plugins-linux for the flash plugin to support simultaneous win and linux build - enable notariziation, use env vars to run on travis - ci runs 'yarn run dist', skip docs build from ci - pass GH_TOKEN to docker containers - update to latest electron packages
This commit is contained in:
+20
-1
@@ -32,7 +32,26 @@ const projPath = path.join(appPath, "../");
|
||||
|
||||
const staticContentPath = path.join(__dirname, "../");
|
||||
|
||||
const pluginPath = path.join(projPath, "plugins", "PepperFlashPlayer.plugin");
|
||||
let pluginPath = "";
|
||||
|
||||
switch (process.platform) {
|
||||
case 'win32':
|
||||
pluginPath = path.join(projPath, "plugins-win", "pepflashplayer-x86_64.dll");
|
||||
break;
|
||||
|
||||
case 'darwin':
|
||||
pluginPath = path.join(projPath, "plugins-mac", "PepperFlashPlayer.plugin");
|
||||
break;
|
||||
|
||||
case 'linux':
|
||||
pluginPath = path.join(projPath, "plugins-mac", "libpepflashplayer.so");
|
||||
break;
|
||||
|
||||
default:
|
||||
console.log('platform unsupported: ' + process.platform);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
console.log('app path', appPath);
|
||||
console.log('dir name', __dirname);
|
||||
|
||||
Reference in New Issue
Block a user