mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 19:25:23 +00:00
Added note on .pass extension enforcement in readme example
This commit is contained in:
@@ -125,7 +125,11 @@ try {
|
|||||||
const { wwdr, signerCert, signerKey, signerKeyPassphrase } = getCertificatesContentsSomehow();
|
const { wwdr, signerCert, signerKey, signerKeyPassphrase } = getCertificatesContentsSomehow();
|
||||||
|
|
||||||
const pass = await PKPass.from({
|
const pass = await PKPass.from({
|
||||||
model: "./passModels/myFirstModel",
|
/**
|
||||||
|
* Note: .pass extension is enforced when reading a
|
||||||
|
* model from FS, even if not specified here below
|
||||||
|
*/
|
||||||
|
model: "./passModels/myFirstModel.pass",
|
||||||
certificates: {
|
certificates: {
|
||||||
wwdr,
|
wwdr,
|
||||||
signerCert,
|
signerCert,
|
||||||
|
|||||||
Reference in New Issue
Block a user