(sysoFilePath string)
| 742 | } |
| 743 | |
| 744 | func shouldCleanupSyso(sysoFilePath string) { |
| 745 | if sysoFilePath == "" { |
| 746 | return |
| 747 | } |
| 748 | if err := os.Remove(sysoFilePath); err != nil { |
| 749 | log.Printf("Warning: unable to remove generated %s: %v. Please remove it manually.", sysoFilePath, err) |
| 750 | } |
| 751 | } |
| 752 | |
| 753 | // copyFile copies a file from src to dst, ensuring the containing directory |
| 754 | // exists. The permission bits are copied as well. If dst already exists and |