Skip to content

Commit

Permalink
build: Temporarily build with intermediate requirements (#1511)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrieseberg authored Dec 1, 2023
1 parent 062882d commit 729f60d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ const commonLinuxConfig = {
mimeType: ['x-scheme-handler/electron-fiddle'],
};

const requirements = path.resolve(__dirname, 'tools/certs/requirements.txt');

const config: ForgeConfig = {
hooks: {
generateAssets: async () => {
Expand Down Expand Up @@ -95,15 +97,15 @@ const config: ForgeConfig = {
OriginalFilename: 'Electron Fiddle',
},
osxSign: {
identity:
'Developer ID Application: OpenJS Foundation, Inc. (UY52UFTVTM)',
identity: 'Developer ID Application: Felix Rieseberg (LT94ZKYDCJ)',
optionsForFile: (filePath) =>
['(Plugin).app', '(GPU).app', '(Renderer).app'].some((helper) =>
filePath.includes(helper),
)
? {}
? { requirements }
: {
entitlements: 'static/entitlements.plist',
requirements,
},
},
},
Expand Down
1 change: 1 addition & 0 deletions tools/certs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
designated => anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and ( certificate leaf[subject.OU] = LT94ZKYDCJ or certificate leaf[subject.OU] = UY52UFTVTM )

0 comments on commit 729f60d

Please sign in to comment.