fix: core path

This commit is contained in:
msojocs 2022-02-15 23:29:54 +08:00
parent 3c0ac9faa5
commit 599db00df8
3 changed files with 6 additions and 2 deletions

View File

@ -98,6 +98,8 @@ jobs:
with: with:
# note you'll typically need to create a personal access token # note you'll typically need to create a personal access token
# with permissions to create releases in the other repo # with permissions to create releases in the other repo
prerelease: true
target_commitish: ${{ github.sha }}
name: ${{ steps.tag.outputs.name }} name: ${{ steps.tag.outputs.name }}
tag_name: ${{ steps.tag.outputs.tag }} tag_name: ${{ steps.tag.outputs.tag }}
files: | files: |

View File

@ -2,6 +2,8 @@
## 工具基本功能 ## 工具基本功能
- [x] 帐号登录
- [x] 帐号注销
- [x] 导入项目 - [x] 导入项目
- [x] 创建项目 - [x] 创建项目
- [x] 打开项目 - [x] 打开项目
@ -16,7 +18,7 @@
- [x] 自动预览 - [x] 自动预览
- [x] 二维码真机调试 - [x] 二维码真机调试
- [x] 自动真机调试 - [x] 自动真机调试
- [ ] npm构建未测试 - [x] npm构建
## 版本管理 ## 版本管理

View File

@ -17,7 +17,7 @@ node "$root_dir/tools/wxvpkg/unpack" "$package_dir/core.wxvpkg" "$tmp_dir/core.w
# #
# find # 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" echo "云开发控制台启动点: $open_find_result"
# replace # 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);}}});" 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);}}});"