fix mac mpkg agent again (#6194)

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
Simon Smith 2024-06-20 12:36:24 +01:00 committed by GitHub
parent 6c3e60e13c
commit 46ebadf440
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -5932,6 +5932,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
entry.fileName == 'MeshAgent.mpkg/Contents/Packages/internal.pkg/Contents/Info.plist' ||
entry.fileName == 'MeshAgent.mpkg/Contents/Packages/internal.pkg/Contents/Resources/postflight' ||
entry.fileName == 'MeshAgent.mpkg/Contents/Packages/internal.pkg/Contents/Resources/Postflight.sh' ||
entry.fileName == 'MeshAgent.mpkg/Contents/Packages/internal.pkg/Contents/Uninstall.command' ||
entry.fileName == 'MeshAgent.mpkg/Uninstall.command') {
// This is a special file entry, we need to fix it.
zipfile.openReadStream(entry, function (err, readStream) {