Skip to content

Commit

Permalink
No need for a modify step
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Oct 16, 2023
1 parent e06af72 commit 3c89ca2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 20 deletions.
4 changes: 0 additions & 4 deletions src/projector/otto.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,4 @@ export class ProjectorOttoDummy extends ProjectorOtto {
protected async _writeSkeleton(skeleton: string) {
// Do nothing.
}

protected async _modifySkeleton() {
// Do nothing.
}
}
6 changes: 0 additions & 6 deletions src/projector/otto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ export abstract class ProjectorOtto extends Projector {

await this._checkOutput();
await this._writeSkeleton(skeleton);
await this._modifySkeleton();
await this._writeConfig();
await this._writeSplashImage();
await this._writeLingo();
Expand Down Expand Up @@ -515,9 +514,4 @@ export abstract class ProjectorOtto extends Projector {
* @param skeleton Skeleton path.
*/
protected abstract _writeSkeleton(skeleton: string): Promise<void>;

/**
* Modify the projector skeleton.
*/
protected abstract _modifySkeleton(): Promise<void>;
}
5 changes: 0 additions & 5 deletions src/projector/otto/mac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -716,12 +716,7 @@ export class ProjectorOttoMac extends ProjectorOtto {
if (!foundXtras) {
throw new Error(`Failed to locate: ${xtrasName}`);
}
}

/**
* @inheritdoc
*/
protected async _modifySkeleton() {
await this._writeIcon();
await this._writePkgInfo();
await this._updateInfoPlist();
Expand Down
5 changes: 0 additions & 5 deletions src/projector/otto/windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,4 @@ export class ProjectorOttoWindows extends ProjectorOtto {
};
return patch;
}

/**
* @inheritdoc
*/
protected async _modifySkeleton() {}
}

0 comments on commit 3c89ca2

Please sign in to comment.