Skip to content

Commit 7cdee24

Browse files
committed
fix: Scan ios hooks from iphone directory. fixes #675
1 parent f3231f0 commit 7cdee24

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)