Skip to content

Commit

Permalink
Do not exclude, patch
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Oct 16, 2023
1 parent 4083cd4 commit 65e85d1
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/projector/otto/mac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -509,11 +509,9 @@ export class ProjectorOttoMac extends ProjectorOtto {
path,

hasInfoPlist,
hasPkgInfo,
shockwave,

appPathInfoPlist,
appPathPkgInfo,
appPathFrameworks,

appPathBinaryDefault,
Expand All @@ -537,7 +535,6 @@ export class ProjectorOttoMac extends ProjectorOtto {
let foundFrameworks = false;
let foundBinary = false;
let foundInfoPlist = false;
let foundPkgInfo = false;
let foundIcon = false;
let foundRsrc = false;
let foundXtras = false;
Expand Down Expand Up @@ -640,15 +637,6 @@ export class ProjectorOttoMac extends ProjectorOtto {
}
}

// Exclude PkgInfo if using custom one.
if (pathRelativeBaseMatch(projectorRel, appPathPkgInfo, true)) {
foundPkgInfo = true;

if (hasPkgInfo) {
return true;
}
}

let dest = projectorRel;

// Possibly rename the binary.
Expand Down Expand Up @@ -725,12 +713,6 @@ export class ProjectorOttoMac extends ProjectorOtto {
throw new Error(`Failed to locate: ${d}/${appPathInfoPlist}`);
}

if (!foundPkgInfo) {
// Some projector skeletons lack this file.
// const d = projectorResourcesDirectoryName;
// throw new Error(`Failed to locate: ${d}/${appPathPkgInfo}`);
}

if (!foundIcon) {
const d = projectorResourcesDirectoryName;
throw new Error(`Failed to locate: ${d}/${appPathIconDefault}`);
Expand Down

0 comments on commit 65e85d1

Please sign in to comment.