If the user has a custom theme they've modified, rename it to theme.001, theme.002, etc. as a backup to avoid overwriting anything they've created.
()
| 145 | * theme.002, etc. as a backup to avoid overwriting anything they've created. |
| 146 | */ |
| 147 | static public boolean archiveCurrent() { |
| 148 | File backupFile = nextArchiveFile(); |
| 149 | return getSketchbookFile().renameTo(backupFile); |
| 150 | } |
| 151 | |
| 152 | |
| 153 | static private File nextArchiveFile() { |
no test coverage detected