(orig)
| 77 | } |
| 78 | |
| 79 | function revertAddonName(orig) { |
| 80 | packageJsonFile['binary'] = orig; |
| 81 | const stringFile = JSON.stringify(packageJsonFile, null, 2).concat('\n'); |
| 82 | fs.writeFileSync((`${__dirname}/../package.json`), stringFile); |
| 83 | } |
| 84 | |
| 85 | /** |
| 86 | * Returns the libtensorflow hosted path of the current platform. |