Skip to content

Commit

Permalink
Commit some code
Browse files Browse the repository at this point in the history
  • Loading branch information
mengyanshou committed Aug 14, 2023
1 parent bf9d612 commit 786da3e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
- 修复启动卡死、崩溃等问题
- 修复关于页面资源图片加载失败,官网跳转失败的问题
- 修复部分设备布局适配到平板的问题
- 移除未使用权限,发送短信、彩信、拨打电话等
- 修复域名过期导致无法登录的问题

## 1.5.2
- 修复屏幕适配问题
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
shrinkResources false
minifyEnabled false
shrinkResources true
minifyEnabled true
}
debug {
signingConfig signingConfigs.release
Expand Down
2 changes: 1 addition & 1 deletion lib/adbkit_entrypoint.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class _ADBToolEntryPointState extends State<ADBToolEntryPoint> with WindowListen
return;
}
// 等待1s
await Future<void>.delayed(const Duration(milliseconds: 1000));
// await Future<void>.delayed(const Duration(milliseconds: 1000));
if (widget.primary != null) {
seed = widget.primary;
}
Expand Down
10 changes: 5 additions & 5 deletions scripts/server/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,34 @@ mac_app="$PROJECT_DIR/dist/${APP_NAME}_macOS.tar"
target_mac_app="$PROJECT_DIR/dist/${APP_NAME_CN}_${VERSION}_macOS.tar"
if [ -f $mac_app ]; then
mv $mac_app $target_mac_app
rsync -v $target_mac_app ${TARGET_PATH}/${APP_NAME_CN}_${VERSION}_macOS.tar
rsync $target_mac_app ${TARGET_PATH}/${APP_NAME_CN}_${VERSION}_macOS.tar
fi
win_app="$PROJECT_DIR/dist/${APP_NAME}_Windows.zip"
target_name="${APP_NAME_CN}_${VERSION}_Windows.zip"
target_win_app="$PROJECT_DIR/dist/$target_name"
if [ -f $win_app ]; then
mv $win_app $target_win_app
echo "upload $target_name"
rsync -v "$target_win_app" "$TARGET_PATH/$target_name"
rsync "$target_win_app" "$TARGET_PATH/$target_name"
fi
arm64_apk="$PROJECT_DIR/dist/app-arm64-v8a-release.apk"
target_arm64_apk="$PROJECT_DIR/dist/${APP_NAME_CN}_${VERSION}_Android_arm64.apk"
if [ -f "$arm64_apk" ]; then
mv $arm64_apk $target_arm64_apk
echo upload android arm64...
rsync -v "$target_arm64_apk" "${TARGET_PATH}/${APP_NAME_CN}_${VERSION}_Android_arm64.apk"
rsync "$target_arm64_apk" "${TARGET_PATH}/${APP_NAME_CN}_${VERSION}_Android_arm64.apk"
fi
arm_apk="$PROJECT_DIR/dist/app-armeabi-v7a-release.apk"
target_arm_apk="$PROJECT_DIR/dist/${APP_NAME_CN}_${VERSION}_Android_arm_v7a.apk"
if [ -f "$arm_apk" ]; then
mv $arm_apk $target_arm_apk
echo upload android arm...
rsync -v "$target_arm_apk" "$TARGET_PATH/${APP_NAME_CN}_${VERSION}_Android_arm_v7a.apk"
rsync "$target_arm_apk" "$TARGET_PATH/${APP_NAME_CN}_${VERSION}_Android_arm_v7a.apk"
fi
x86_apk="$PROJECT_DIR/dist/app-x86_64-release.apk"
target_x86_apk="$PROJECT_DIR/dist/${APP_NAME_CN}_${VERSION}_Android_x86_64.apk"
if [ -f "$x86_apk" ]; then
mv $x86_apk $target_x86_apk
echo upload android x86...
rsync -v "$target_x86_apk" "$TARGET_PATH/${APP_NAME_CN}_${VERSION}_Android_x86_64.apk"
rsync "$target_x86_apk" "$TARGET_PATH/${APP_NAME_CN}_${VERSION}_Android_x86_64.apk"
fi

0 comments on commit 786da3e

Please sign in to comment.