diff --git a/src/build.js b/src/build.js index fcb90bbeb..faa2b46c4 100644 --- a/src/build.js +++ b/src/build.js @@ -281,7 +281,7 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `${app.name} Helper (Alerts).app`, + "nwjs Helper (Alerts).app", "Contents", "Info.plist", ), @@ -295,7 +295,7 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `${app.name} Helper (GPU).app`, + "nwjs Helper (GPU).app", "Contents", "Info.plist", ), @@ -309,7 +309,7 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `${app.name} Helper (Plugin).app`, + "nwjs Helper (Plugin).app", "Contents", "Info.plist", ), @@ -323,7 +323,7 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `${app.name} Helper (Renderer).app`, + "nwjs Helper (Renderer).app", "Contents", "Info.plist", ), @@ -337,7 +337,7 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `${app.name} Helper.app`, + "nwjs Helper.app", "Contents", "Info.plist", ), @@ -366,6 +366,9 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "nwjs Framework.framework", "Helpers", "nwjs Helper.app", + "Contents", + "MacOS", + "nwjs Helper", ), resolve( outDir, @@ -374,7 +377,10 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `${app.name} Helper.app`, + "nwjs Helper.app", + "Contents", + "MacOS", + `${app.name} Helper`, ), ); @@ -387,7 +393,10 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `nwjs Helper (Alerts).app`, + "nwjs Helper (Alerts).app", + "Contents", + "MacOS", + "nwjs Helper (Alerts)", ), resolve( outDir, @@ -396,7 +405,10 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `${app.name} Helper (Alerts).app`, + "nwjs Helper (Alerts).app", + "Contents", + "MacOS", + `${app.name} Helper (Alerts)`, ), ); @@ -409,7 +421,10 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `nwjs Helper (GPU).app`, + "nwjs Helper (GPU).app", + "Contents", + "MacOS", + "nwjs Helper (GPU)", ), resolve( outDir, @@ -418,7 +433,10 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `${app.name} Helper (GPU).app`, + "nwjs Helper (GPU).app", + "Contents", + "MacOS", + `${app.name} Helper (GPU)`, ), ); @@ -431,7 +449,10 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `nwjs Helper (Plugin).app`, + "nwjs Helper (Plugin).app", + "Contents", + "MacOS", + "nwjs Helper (Plugin)", ), resolve( outDir, @@ -440,7 +461,10 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `${app.name} Helper (Plugin).app`, + "nwjs Helper (Plugin).app", + "Contents", + "MacOS", + `${app.name} Helper (Plugin)`, ), ); @@ -453,7 +477,10 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `nwjs Helper (Renderer).app`, + "nwjs Helper (Renderer).app", + "Contents", + "MacOS", + "nwjs Helper (Renderer)", ), resolve( outDir, @@ -462,7 +489,10 @@ export async function build(files, nwDir, outDir, platform, zip, app) { "Frameworks", "nwjs Framework.framework", "Helpers", - `${app.name} Helper (Renderer).app`, + "nwjs Helper (Renderer).app", + "Contents", + "MacOS", + `${app.name} Helper (Renderer)`, ), );