diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 86f2fc7..6255f1a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,6 +98,8 @@ jobs: with: # note you'll typically need to create a personal access token # with permissions to create releases in the other repo + prerelease: true + target_commitish: ${{ github.sha }} name: ${{ steps.tag.outputs.name }} tag_name: ${{ steps.tag.outputs.tag }} files: | diff --git a/docs/Features.MD b/docs/Features.MD index e45e45f..86d8243 100644 --- a/docs/Features.MD +++ b/docs/Features.MD @@ -2,6 +2,8 @@ ## 工具基本功能 + - [x] 帐号登录 + - [x] 帐号注销 - [x] 导入项目 - [x] 创建项目 - [x] 打开项目 @@ -16,7 +18,7 @@ - [x] 自动预览 - [x] 二维码真机调试 - [x] 自动真机调试 - - [ ] npm构建(未测试) + - [x] npm构建 ## 版本管理 diff --git a/tools/fix-core b/tools/fix-core index eee9d88..5c36065 100755 --- a/tools/fix-core +++ b/tools/fix-core @@ -17,7 +17,7 @@ node "$root_dir/tools/wxvpkg/unpack" "$package_dir/core.wxvpkg" "$tmp_dir/core.w # # find -open_find_result=$( grep -lr "this.props.onWindowOpenFail());" "$root_dir/tmp/core.wxvpkg" ) +open_find_result=$( grep -lr "this.props.onWindowOpenFail());" "$tmp_dir/core.wxvpkg" ) echo "云开发控制台启动点: $open_find_result" # replace new_cb_handle="this.props.onWindowOpenFail());Object.keys(window).forEach(key=>{if(!e.window[key]){try{e.window[key]=window[key];}catch(e){console.error(e);}}});"