Skip to content

Commit

Permalink
Merge pull request #676 from tidev/load-ios-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi authored Aug 4, 2024
2 parents f3231f0 + 7cdee24 commit 274f861
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
7.1.4 (8/4/2024)
-------------------
* fix: Load iOS hooks from `iphone` directory in the SDK

7.1.3 (8/1/2024)
-------------------
* fix: Invalid `--platform` would cause crash because the platform
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "titanium",
"version": "7.1.3",
"version": "7.1.4",
"author": "TiDev, Inc. <[email protected]>",
"description": "Command line interface for building Titanium SDK apps",
"type": "module",
Expand Down
3 changes: 3 additions & 0 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,9 @@ export class CLI {
applyCommandConfig(this, cmdName, this.command, platformConf);

await this.scanHooks(expand(this.sdk.path, this.argv.platform, 'cli', 'hooks'));
if (this.argv.platform === 'ios') {
await this.scanHooks(expand(this.sdk.path, 'iphone', 'cli', 'hooks'));
}
}

/**
Expand Down

0 comments on commit 274f861

Please sign in to comment.