Generate MacOS installer UI screen

This commit is contained in:
trickypr 2022-03-26 22:01:32 +11:00
parent 81c621dfa8
commit ed930bc110
4 changed files with 96 additions and 3 deletions

View file

@ -49,8 +49,11 @@ function importMelonPatches(): ListrTaskGroup {
const logoCheck = checkHash(
join(brandingPatch.BRANDING_DIR, name, 'logo.png')
)
const macosInstallerCheck = checkHash(
join(brandingPatch.BRANDING_DIR, name, 'MacOSInstaller.svg')
)
if (await logoCheck) {
if ((await logoCheck) && (await macosInstallerCheck)) {
return `${name} has already been applied`
}