diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 6ee45840762a60af40ceb6fa488b5d554b87177f..0747db35bc472553855d93f25e33305caa2ad308 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -33,6 +33,7 @@ $ WECHATY_LOG=silly node dist/mybot.js Show Logs + ### Paste the full output logs here with `WECHATY_LOG=silly` set ```shell diff --git a/LICENSE b/LICENSE index 20b2e10a141558c33606efb7d009f8f3a85c6a5d..b8010724db8a25f1a89c33af93df6f1c8506f8ab 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2016-2017 Huan LI + Copyright 2016-2018 Huan LI Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/scripts/pre-push.sh b/scripts/pre-push.sh index b64433177d76bee1a4c81061656dbaba0b436d07..5e9c00dc8e11285d6598b94739d9fa5a77f4a033 100755 --- a/scripts/pre-push.sh +++ b/scripts/pre-push.sh @@ -10,7 +10,7 @@ set -e [ -n "$NO_HOOK" ] && exit 0 -[ -n "$WECHATY_INNER_PRE_HOOK" ] && { +[ -n "$HUAN_INNER_PRE_HOOK" ] && { # http://stackoverflow.com/a/21334985/1123955 exit 0 } @@ -21,7 +21,7 @@ npm run lint # git rebase rm -f package-lock.json npm version patch --no-package-lock - WECHATY_INNER_PRE_HOOK=1 git push + HUAN_INNER_PRE_HOOK=1 git push cat <<'_STR_' ____ _ _ ____ _ diff --git a/src/config.ts b/src/config.ts index e1275bf85df7144c28ce1792da6804d81e78e266..ed1669fe58a257728de125a4603d16cd79d05376 100644 --- a/src/config.ts +++ b/src/config.ts @@ -85,9 +85,14 @@ if (/verbose|silly/i.test(log.level())) { }) } -export type PuppetName = 'web' - | 'android' - | 'ios' +export type PuppetName = 'android-pad' + | 'android-phone' + | 'cat-king' + | 'hostie' + | 'ios-app-phone' + | 'ios-app-pad' + | 'web' + | 'win32' export interface DefaultSetting { DEFAULT_HEAD : number,