(filePath: string, destFilePath: string, manipulationCallback: any = null)
| 49 | } |
| 50 | |
| 51 | copyStaticFile(filePath: string, destFilePath: string, manipulationCallback: any = null) { |
| 52 | const staticPath = path.join(app.getAppPath(), 'static'), |
| 53 | localFilePath = path.join(staticPath, filePath) |
| 54 | |
| 55 | this.copyFile(localFilePath, destFilePath, manipulationCallback) |
| 56 | } |
| 57 | |
| 58 | copyFile(filePath: string, destFilePath: string, manipulationCallback: any = null): FileSystem { |
| 59 | let content = this.readFile(filePath) |