| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
| 3 * Copyright (C) 2006-present eyeo GmbH | 3 * Copyright (C) 2006-present eyeo GmbH |
| 4 * | 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
| 8 * | 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 const childProcess = require("child_process"); | 23 const childProcess = require("child_process"); |
| 24 const fs = require("fs"); | 24 const fs = require("fs"); |
| 25 const https = require("https"); | 25 const https = require("https"); |
| 26 const os = require("os"); | 26 const os = require("os"); |
| 27 const path = require("path"); | 27 const path = require("path"); |
| 28 | 28 |
| 29 const remoteInterface = require("chrome-remote-interface"); | 29 const remoteInterface = require("chrome-remote-interface"); |
| 30 const extractZip = require("extract-zip"); | 30 const extractZip = require("extract-zip"); |
| 31 | 31 |
| 32 const CHROMIUM_REVISION = 467222; | 32 const CHROMIUM_REVISION = 553034; |
| 33 | 33 |
| 34 function rmdir(dirPath) | 34 function rmdir(dirPath) |
| 35 { | 35 { |
| 36 for (let file of fs.readdirSync(dirPath)) | 36 for (let file of fs.readdirSync(dirPath)) |
| 37 { | 37 { |
| 38 let filePath = path.join(dirPath, file); | 38 let filePath = path.join(dirPath, file); |
| 39 try | 39 try |
| 40 { | 40 { |
| 41 if (fs.statSync(filePath).isDirectory()) | 41 if (fs.statSync(filePath).isDirectory()) |
| 42 rmdir(filePath); | 42 rmdir(filePath); |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 { | 316 { |
| 317 child.kill(); | 317 child.kill(); |
| 318 return result; | 318 return result; |
| 319 }).catch(error => | 319 }).catch(error => |
| 320 { | 320 { |
| 321 child.kill(); | 321 child.kill(); |
| 322 throw error; | 322 throw error; |
| 323 }); | 323 }); |
| 324 }); | 324 }); |
| 325 }; | 325 }; |
| OLD | NEW |