diff --git a/app/build.gradle b/app/build.gradle index e5971ec..aafc558 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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文件的平 } diff --git a/app/src/main/java/com/pangbai/weblog/tool/Init.java b/app/src/main/java/com/pangbai/weblog/tool/Init.java index 72b4c18..2a14ee5 100755 --- a/app/src/main/java/com/pangbai/weblog/tool/Init.java +++ b/app/src/main/java/com/pangbai/weblog/tool/Init.java @@ -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(() -> {