Skip to content

Commit

Permalink
add fix hex install
Browse files Browse the repository at this point in the history
  • Loading branch information
PangBaiWork committed Feb 24, 2024
1 parent 5d82c36 commit 302415b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ android {
//noinspection EditedTargetSdkVersion
targetSdk 34
ndkVersion "24.0.8215888"
versionCode 1
versionName "1.0"
versionCode 2
versionName "1.1"
ndk {//让gradle知道ndk的配置
abiFilter "arm64-v8a"//so文件的平
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/pangbai/weblog/tool/Init.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void run() {

void installHexo(Activity ct) {
ThreadUtil.thread(() -> {
cmdExer.execute("npm Config set registry http://mirrors.cloud.tencent.com/npm/", false);
cmdExer.execute("npm config set registry http://mirrors.cloud.tencent.com/npm/", false);
boolean result = cmdExer.execute("npm install -g hexo-cli", false) == 0;
dialog.dismiss();
util.runOnUiThread(() -> {
Expand Down

0 comments on commit 302415b

Please sign in to comment.