()
| 218 | } |
| 219 | |
| 220 | func refreshThemeJS() { |
| 221 | spinner, _ := utils.Spinner.Start("Updating theme's script") |
| 222 | if err := utils.CopyFile( |
| 223 | filepath.Join(themeFolder, "theme.js"), |
| 224 | filepath.Join(appDestPath, "xpui", "extensions")); err != nil { |
| 225 | spinner.Fail("Failed to update theme's script") |
| 226 | utils.PrintError(err.Error()) |
| 227 | } else { |
| 228 | spinner.Success("Updated theme's script") |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | func pushExtensions(destExt string, list ...string) { |
| 233 | var err error |
no test coverage detected