Skip to content

Commit 274f861

Browse files
authored
Merge pull request #676 from tidev/load-ios-hooks
2 parents f3231f0 + 7cdee24 commit 274f861

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
7.1.4 (8/4/2024)
2+
-------------------
3+
* fix: Load iOS hooks from `iphone` directory in the SDK
4+
15
7.1.3 (8/1/2024)
26
-------------------
37
* fix: Invalid `--platform` would cause crash because the platform

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "titanium",
3-
"version": "7.1.3",
3+
"version": "7.1.4",
44
"author": "TiDev, Inc. <[email protected]>",
55
"description": "Command line interface for building Titanium SDK apps",
66
"type": "module",

src/cli.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,9 @@ export class CLI {
700700
applyCommandConfig(this, cmdName, this.command, platformConf);
701701

702702
await this.scanHooks(expand(this.sdk.path, this.argv.platform, 'cli', 'hooks'));
703+
if (this.argv.platform === 'ios') {
704+
await this.scanHooks(expand(this.sdk.path, 'iphone', 'cli', 'hooks'));
705+
}
703706
}
704707

705708
/**

0 commit comments

Comments
 (0)