Skip to content

Commit 0aa1d4b

Browse files
authored
Merge branch 'main' into feat/v0.2
2 parents 5abd2e7 + 7b03ece commit 0aa1d4b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ run:
5757
λ npm install create-chrome-ext --global
5858

5959
# and then
60+
λ crx my-crx-app
61+
# or
6062
λ crx my-crx-app --template preact-js
63+
# or use create-chrome-exe (global env)
64+
λ create-chrome-ext my-crx-app
6165
```
6266

6367
## Supported Templates

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Date.prototype.format = function (fmt) {
135135
}
136136

137137
async function init() {
138-
let targetDir = formatTargetDir(argv._[0]) ?? ''
138+
let targetDir = formatTargetDir(argv._[0]) || ''
139139
let author = '**'
140140
let template = argv.template || argv.t
141141

0 commit comments

Comments
 (0)