simplify tests, remove readme injection

This commit is contained in:
2025-05-18 14:16:29 -04:00
parent c56d5058ec
commit 2827ce38d9
6 changed files with 50 additions and 55 deletions

11
main.go
View File

@@ -106,9 +106,6 @@ func run() error {
if err := tpl.Execute(fplist, info); err != nil {
return errors.Wrap(err, "execute Info.plist template")
}
if err := os.WriteFile(filepath.Join(contentsPath, "README"), []byte(readme), 0666); err != nil {
return errors.Wrap(err, "ioutil.WriteFile")
}
return nil
}
@@ -192,11 +189,3 @@ const infoPlistTemplate = `<?xml version="1.0" encoding="UTF-8"?>
</dict>
</plist>
`
// readme goes into a README file inside the package for
// future reference.
const readme = `Made with Appify by Machine Box
https://github.com/machinebox/appify
Inspired by https://gist.github.com/anmoljagetia/d37da67b9d408b35ac753ce51e420132
`