mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 18:25:24 +00:00
Removed @ from personalizationLogo search
This commit is contained in:
@@ -60,7 +60,7 @@ export async function getModelContents(model: FactoryOptions["model"]) {
|
|||||||
return modelContents;
|
return modelContents;
|
||||||
}
|
}
|
||||||
|
|
||||||
const logoFullNames = getAllFilesWithName("personalizationLogo@", modelFiles, "startsWith");
|
const logoFullNames = getAllFilesWithName("personalizationLogo", modelFiles, "startsWith");
|
||||||
if (!(logoFullNames.length && modelContents.bundle[personalizationJsonFile].length)) {
|
if (!(logoFullNames.length && modelContents.bundle[personalizationJsonFile].length)) {
|
||||||
deletePersonalization(modelContents.bundle, logoFullNames);
|
deletePersonalization(modelContents.bundle, logoFullNames);
|
||||||
return modelContents;
|
return modelContents;
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ export class Pass {
|
|||||||
if (!this[passProps].nfc && currentBundleFiles.includes("personalization.json")) {
|
if (!this[passProps].nfc && currentBundleFiles.includes("personalization.json")) {
|
||||||
genericDebug(formatMessage("PRS_REMOVED"));
|
genericDebug(formatMessage("PRS_REMOVED"));
|
||||||
deletePersonalization(this.bundle, getAllFilesWithName(
|
deletePersonalization(this.bundle, getAllFilesWithName(
|
||||||
"personalizationLogo@",
|
"personalizationLogo",
|
||||||
currentBundleFiles,
|
currentBundleFiles,
|
||||||
"startsWith"
|
"startsWith"
|
||||||
));
|
));
|
||||||
|
|||||||
Reference in New Issue
Block a user