更新类库,BugFix。
This commit is contained in:
		| @@ -18,13 +18,13 @@ def genVersionName(def versionName){ | ||||
| } | ||||
|  | ||||
| android { | ||||
|     compileSdkVersion 30 | ||||
|     buildToolsVersion "30.0.3" | ||||
|     compileSdkVersion 32 | ||||
|     buildToolsVersion "32.0.0" | ||||
|  | ||||
|     defaultConfig { | ||||
|         applicationId "cc.winboll.studio.autoinstaller" | ||||
|         minSdkVersion 26 | ||||
|         targetSdkVersion 29 | ||||
|         minSdkVersion 24 | ||||
|         targetSdkVersion 30 | ||||
|         versionCode 2 | ||||
|         // versionName 更新后需要手动设置  | ||||
|         // .winboll/winbollBuildProps.properties 文件的 stageCount=0 | ||||
| @@ -45,6 +45,9 @@ android { | ||||
|  | ||||
| dependencies { | ||||
|     api fileTree(dir: 'libs', include: ['*.jar']) | ||||
|     api 'cc.winboll.studio:libaes:15.6.0' | ||||
|     api 'cc.winboll.studio:libapputils:15.3.4' | ||||
|     api 'cc.winboll.studio:libappbase:15.7.6' | ||||
|      | ||||
|     // SSH | ||||
|     api 'com.jcraft:jsch:0.1.55' | ||||
| @@ -67,7 +70,4 @@ dependencies { | ||||
|     //api 'androidx.vectordrawable:vectordrawable-animated:1.1.0' | ||||
|     //api 'androidx.fragment:fragment:1.1.0' | ||||
|      | ||||
|     api 'cc.winboll.studio:libaes:15.2.5' | ||||
|     api 'cc.winboll.studio:libapputils:15.2.1' | ||||
|     api 'cc.winboll.studio:libappbase:15.2.2' | ||||
| } | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| #Created by .winboll/winboll_app_build.gradle | ||||
| #Tue Apr 15 10:20:33 GMT 2025 | ||||
| #Sat May 03 03:51:17 GMT 2025 | ||||
| stageCount=1 | ||||
| libraryProject= | ||||
| baseVersion=15.2 | ||||
| publishVersion=15.2.0 | ||||
| buildCount=55 | ||||
| buildCount=59 | ||||
| baseBetaVersion=15.2.1 | ||||
|   | ||||
| @@ -6,9 +6,9 @@ package cc.winboll.studio.autoinstaller; | ||||
|  * @Describe 全局应用类 | ||||
|  */ | ||||
| import android.view.Gravity; | ||||
| import cc.winboll.studio.autoinstaller.R; | ||||
| import cc.winboll.studio.libappbase.GlobalApplication; | ||||
| import com.hjq.toast.ToastUtils; | ||||
| import com.hjq.toast.style.WhiteToastStyle; | ||||
|  | ||||
| public class App extends GlobalApplication { | ||||
|      | ||||
| @@ -21,8 +21,8 @@ public class App extends GlobalApplication { | ||||
|         // 初始化 Toast 框架 | ||||
|         ToastUtils.init(this); | ||||
|         // 设置 Toast 布局样式 | ||||
|         ToastUtils.setView(R.layout.view_toast); | ||||
|         //ToastUtils.setStyle(new WhiteToastStyle()); | ||||
|         //ToastUtils.setView(R.layout.view_toast); | ||||
|         ToastUtils.setStyle(new WhiteToastStyle()); | ||||
|         ToastUtils.setGravity(Gravity.BOTTOM, 0, 200); | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -154,10 +154,13 @@ public class AppConfigs implements Serializable { | ||||
|         try { | ||||
|             String szJson = FileUtil.readFile(getDataPath(context.getApplicationContext())); | ||||
|             appConfigs = AppConfigs.getInstance(mContext).parseAppConfigs(szJson); | ||||
|             if(appConfigs != null) { | ||||
|                 _AppConfigs = appConfigs; | ||||
|             } | ||||
|         } catch (IOException e) { | ||||
|             LogUtils.d(TAG, e.getMessage(), Thread.currentThread().getStackTrace()); | ||||
|         } | ||||
|         return appConfigs; | ||||
|         return _AppConfigs; | ||||
|     } | ||||
|  | ||||
|     public void saveAppConfigs(Context context, AppConfigs appConfigs) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ZhanGSKen
					ZhanGSKen