@electron-forge/maker-zip
should have keyResolver
for macUpdateManifestBaseUrl
file URLs
#3379
Open
3 tasks done
@electron-forge/maker-zip
should have keyResolver
for macUpdateManifestBaseUrl
file URLs
#3379
Pre-flight checklist
Problem description
I'm using
@electron-forge/publisher-s3
and havekeyResolver
set inforge.config.ts
:getS3FilePath
results in something like:Now, we want to use
@electron-forge/maker-zip
with themacUpdateManifestBaseUrl
but it will use the default path that@electron-forge/publisher-s3
would use.In
forge.config.ts
:This results in the following
RELEASES.json
file:This doesn't match up with where the bundle is actually uploaded to S3 using
@electron-forge/publisher-s3
.Proposed solution
Allow passing a function as
urlKeyResolver
likekeyResolver
in@electron-forge/publisher-s3
The
platform
parameter isn't needed since it will always bedarwin
, thearch
parameter isn't needed since that's passed in via the maker options.fileName
will be the name of the file being written.Then, when writing the
url
intoRELEASES.json
, it will go through that instead.Alternatives considered
Removing
keyResolver
from@electron-forge/publisher-s3
will cause the two to match up, but we'd like more control over the file names.Additional information
No response
The text was updated successfully, but these errors were encountered: