electron build:

- build both 32 and 64-bit for windows
- download both 32 and 64-bit flash plugins for windows, use correct one based on platform.arch
- sign and publish only on master
This commit is contained in:
Ilya Kreymer
2020-06-10 12:20:23 -07:00
parent 479b62abe1
commit d71a9e77bc
3 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ let pluginPath = "";
switch (process.platform) {
case 'win32':
pluginPath = path.join(projPath, "plugins-win", "pepflashplayer-x86_64.dll");
pluginPath = path.join(projPath, "plugins-win", `pepflashplayer-x86${process.arch === 'x64' ? '_64' : ''}.dll`);
break;
case 'darwin':