diff --git a/libwinboll/.gitignore b/libwinboll/.gitignore deleted file mode 100644 index 796b96d..0000000 --- a/libwinboll/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/libwinboll/build.gradle b/libwinboll/build.gradle deleted file mode 100644 index 09b2ae2..0000000 --- a/libwinboll/build.gradle +++ /dev/null @@ -1,42 +0,0 @@ -apply plugin: 'com.android.library' -apply plugin: 'maven-publish' -apply from: '../.winboll/winboll_lib_build.gradle' -apply from: '../.winboll/winboll_lint_build.gradle' - -android { - // 适配MIUI12 - compileSdkVersion 30 - buildToolsVersion "30.0.3" - - defaultConfig { - minSdkVersion 26 - targetSdkVersion 30 - } - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 - } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } -} - -dependencies { - // 网络连接类库 - api 'com.squareup.okhttp3:okhttp:4.4.1' - // Gson - api 'com.google.code.gson:gson:2.8.9' - // Html 解析 - api 'org.jsoup:jsoup:1.13.1' - // 添加JSch依赖(SFTP核心,com.jcraft:jsch:0.1.54) - api 'com.jcraft:jsch:0.1.54' - - // WinBoLL库 nexus.winboll.cc 地址 - api 'cc.winboll.studio:libaes:15.20.3' - api 'cc.winboll.studio:libappbase:15.20.15' - - api fileTree(dir: 'libs', include: ['*.jar']) -} diff --git a/libwinboll/build.properties b/libwinboll/build.properties deleted file mode 100644 index d2ff519..0000000 --- a/libwinboll/build.properties +++ /dev/null @@ -1,8 +0,0 @@ -#Created by .winboll/winboll_app_build.gradle -#Sun May 17 11:59:35 GMT 2026 -stageCount=2 -libraryProject=libwinboll -baseVersion=15.20 -publishVersion=15.20.1 -buildCount=9 -baseBetaVersion=15.20.2 diff --git a/libwinboll/proguard-rules.pro b/libwinboll/proguard-rules.pro deleted file mode 100644 index 536058a..0000000 --- a/libwinboll/proguard-rules.pro +++ /dev/null @@ -1,17 +0,0 @@ -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in C:/tools/adt-bundle-windows-x86_64-20131030/sdk/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the proguardFiles -# directive in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/libwinboll/src/main/AndroidManifest.xml b/libwinboll/src/main/AndroidManifest.xml deleted file mode 100644 index 2323080..0000000 --- a/libwinboll/src/main/AndroidManifest.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - diff --git a/libwinboll/src/main/java/cc/winboll/studio/libwinboll/WinBoLLLibraryActivity.java b/libwinboll/src/main/java/cc/winboll/studio/libwinboll/WinBoLLLibraryActivity.java deleted file mode 100644 index bb86ae9..0000000 --- a/libwinboll/src/main/java/cc/winboll/studio/libwinboll/WinBoLLLibraryActivity.java +++ /dev/null @@ -1,17 +0,0 @@ -package cc.winboll.studio.libwinboll; - -import android.app.Activity; -import android.os.Bundle; -import cc.winboll.studio.libappbase.ToastUtils; - -public class WinBoLLLibraryActivity extends Activity -{ - @Override - protected void onCreate(Bundle savedInstanceState) - { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_winbolllibrary); - - ToastUtils.show("WinBoLLLibraryActivity onCreate"); - } -} diff --git a/libwinboll/src/main/res/drawable-hdpi/ic_launcher.png b/libwinboll/src/main/res/drawable-hdpi/ic_launcher.png deleted file mode 100644 index 96a442e..0000000 Binary files a/libwinboll/src/main/res/drawable-hdpi/ic_launcher.png and /dev/null differ diff --git a/libwinboll/src/main/res/drawable-mdpi/ic_launcher.png b/libwinboll/src/main/res/drawable-mdpi/ic_launcher.png deleted file mode 100644 index 359047d..0000000 Binary files a/libwinboll/src/main/res/drawable-mdpi/ic_launcher.png and /dev/null differ diff --git a/libwinboll/src/main/res/drawable-xhdpi/ic_launcher.png b/libwinboll/src/main/res/drawable-xhdpi/ic_launcher.png deleted file mode 100644 index 71c6d76..0000000 Binary files a/libwinboll/src/main/res/drawable-xhdpi/ic_launcher.png and /dev/null differ diff --git a/libwinboll/src/main/res/drawable-xxhdpi/ic_launcher.png b/libwinboll/src/main/res/drawable-xxhdpi/ic_launcher.png deleted file mode 100644 index 4df1894..0000000 Binary files a/libwinboll/src/main/res/drawable-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/libwinboll/src/main/res/layout/activity_winbolllibrary.xml b/libwinboll/src/main/res/layout/activity_winbolllibrary.xml deleted file mode 100644 index 97dc11a..0000000 --- a/libwinboll/src/main/res/layout/activity_winbolllibrary.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - diff --git a/libwinboll/src/main/res/values-v21/styles.xml b/libwinboll/src/main/res/values-v21/styles.xml deleted file mode 100644 index 0948fdc..0000000 --- a/libwinboll/src/main/res/values-v21/styles.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/libwinboll/src/main/res/values/strings.xml b/libwinboll/src/main/res/values/strings.xml deleted file mode 100644 index b677aa6..0000000 --- a/libwinboll/src/main/res/values/strings.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - libwinboll - Hello world! - - diff --git a/libwinboll/src/main/res/values/styles.xml b/libwinboll/src/main/res/values/styles.xml deleted file mode 100644 index 8d78246..0000000 --- a/libwinboll/src/main/res/values/styles.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/winboll/README.md b/winboll/README.md deleted file mode 100644 index 7d41393..0000000 --- a/winboll/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# WinBoLL - -#### 介绍 -WinBoLL 网站浏览器。 - -#### 软件架构 -适配安卓应用 [AIDE Pro] 的 Gradle 编译结构。 -也适配安卓应用 [AndroidIDE] 的 Gradle 编译结构。 - - -#### Gradle 编译说明 -调试版编译命令 :gradle assembleBetaDebug -阶段版编译命令 :bash .winboll/bashPublishAPKAddTag.sh winboll - -#### 使用说明 -3. Termux应用配置: -- 已安装Termux(包名 com.termux ); -- 执行  echo "allow-external-apps = true" > ~/.termux/termux.properties - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 : ZhanGSKen(ZhanGSKen) -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) - -#### 参考文档 diff --git a/winboll/app_update_description.txt b/winboll/app_update_description.txt deleted file mode 100644 index 8b13789..0000000 --- a/winboll/app_update_description.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/winboll/build.gradle b/winboll/build.gradle deleted file mode 100644 index f1ca517..0000000 --- a/winboll/build.gradle +++ /dev/null @@ -1,108 +0,0 @@ -apply plugin: 'com.android.application' -apply from: '../.winboll/winboll_app_build.gradle' -apply from: '../.winboll/winboll_lint_build.gradle' - -def genVersionName(def versionName){ - // 检查编译标志位配置 - assert (winbollBuildProps['stageCount'] != null) - assert (winbollBuildProps['baseVersion'] != null) - // 保存基础版本号 - winbollBuildProps.setProperty("baseVersion", "${versionName}"); - //保存编译标志配置 - FileOutputStream fos = new FileOutputStream(winbollBuildPropsFile) - winbollBuildProps.store(fos, "${winbollBuildPropsDesc}"); - fos.close(); - - // 返回编译版本号 - return "${versionName}." + winbollBuildProps['stageCount'] -} - -android { - // 适配MIUI12 - compileSdkVersion 30 - buildToolsVersion "30.0.3" - - defaultConfig { - applicationId "cc.winboll.studio.winboll" - minSdkVersion 26 - // 适配MIUI12 - targetSdkVersion 30 - versionCode 1 - // versionName 更新后需要手动设置 - // .winboll/winbollBuildProps.properties 文件的 stageCount=0 - // Gradle编译环境下合起来的 versionName 就是 "${versionName}.0" - versionName "15.20" - if(true) { - versionName = genVersionName("${versionName}") - } - } - - // 米盟 SDK - packagingOptions { - doNotStrip "*/*/libmimo_1011.so" - } - - sourceSets { - main { - jniLibs.srcDirs = ['libs'] // 若SO库放在libs目录下 - } - } -} - -dependencies { - api project(':libwinboll') - api 'com.google.code.gson:gson:2.10.1' - - // 下拉控件 - api 'com.baoyz.pullrefreshlayout:library:1.2.0' - - // SSH - api 'com.jcraft:jsch:0.1.55' - // Html 解析 - api 'org.jsoup:jsoup:1.13.1' - // 二维码类库 - api 'com.google.zxing:core:3.4.1' - api 'com.journeyapps:zxing-android-embedded:3.6.0' - // 应用介绍页类库 - api 'io.github.medyo:android-about-page:2.0.0' - // 网络连接类库 - api 'com.squareup.okhttp3:okhttp:4.4.1' - // FastJSON解析 - implementation 'com.alibaba:fastjson:1.2.76' - - // AndroidX 类库 - /*api 'androidx.appcompat:appcompat:1.1.0' - //api 'com.google.android.material:material:1.4.0' - //api 'androidx.viewpager:viewpager:1.0.0' - //api 'androidx.vectordrawable:vectordrawable:1.1.0' - //api 'androidx.vectordrawable:vectordrawable-animated:1.1.0' - //api 'androidx.fragment:fragment:1.1.0'*/ - - - // 米盟 - api 'com.miui.zeus:mimo-ad-sdk:5.3.+'//请使用最新版sdk - //注意:以下5个库必须要引入 - //implementation 'androidx.appcompat:appcompat:1.4.1' - api 'androidx.recyclerview:recyclerview:1.0.0' - api 'com.github.bumptech.glide:glide:4.9.0' - //annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0' - - implementation "androidx.annotation:annotation:1.3.0" - implementation "androidx.core:core:1.6.0" - implementation "androidx.drawerlayout:drawerlayout:1.1.1" - implementation "androidx.preference:preference:1.1.1" - implementation "androidx.viewpager:viewpager:1.0.0" - implementation "com.google.android.material:material:1.4.0" - implementation "com.google.guava:guava:24.1-jre" - /* - implementation "io.noties.markwon:core:$markwonVersion" - implementation "io.noties.markwon:ext-strikethrough:$markwonVersion" - implementation "io.noties.markwon:linkify:$markwonVersion" - implementation "io.noties.markwon:recycler:$markwonVersion" - */ - implementation 'com.termux:terminal-emulator:0.118.0' - implementation 'com.termux:terminal-view:0.118.0' - implementation 'com.termux:termux-shared:0.118.0' - - api fileTree(dir: 'libs', include: ['*.jar']) -} diff --git a/winboll/build.properties b/winboll/build.properties deleted file mode 100644 index d2ff519..0000000 --- a/winboll/build.properties +++ /dev/null @@ -1,8 +0,0 @@ -#Created by .winboll/winboll_app_build.gradle -#Sun May 17 11:59:35 GMT 2026 -stageCount=2 -libraryProject=libwinboll -baseVersion=15.20 -publishVersion=15.20.1 -buildCount=9 -baseBetaVersion=15.20.2 diff --git a/winboll/libs/libWeWorkSpecSDK.so b/winboll/libs/libWeWorkSpecSDK.so deleted file mode 100644 index d9f592b..0000000 Binary files a/winboll/libs/libWeWorkSpecSDK.so and /dev/null differ diff --git a/winboll/proguard-rules.pro b/winboll/proguard-rules.pro deleted file mode 100644 index a18de74..0000000 --- a/winboll/proguard-rules.pro +++ /dev/null @@ -1,137 +0,0 @@ -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in C:\tools\adt-bundle-windows-x86_64-20131030\sdk/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the proguardFiles -# directive in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# ============================== 基础通用规则 ============================== -# 保留系统组件 --keep public class * extends android.app.Activity --keep public class * extends android.app.Service --keep public class * extends android.content.BroadcastReceiver --keep public class * extends android.content.ContentProvider --keep public class * extends android.app.backup.BackupAgentHelper --keep public class * extends android.preference.Preference - -# 保留 WinBoLL 核心包及子类(合并简化规则) --keep class cc.winboll.studio.** { *; } --keepclassmembers class cc.winboll.studio.** { *; } - -# 保留所有类中的 public static final String TAG 字段(便于日志定位) --keepclassmembers class * { - public static final java.lang.String TAG; -} - -# 保留序列化类(避免Parcelable/Gson解析异常) --keep class * implements android.os.Parcelable { - public static final android.os.Parcelable$Creator *; -} --keepclassmembers class * implements java.io.Serializable { - static final long serialVersionUID; - private static final java.io.ObjectStreamField[] serialPersistentFields; - private void writeObject(java.io.ObjectOutputStream); - private void readObject(java.io.ObjectInputStream); - java.lang.Object writeReplace(); - java.lang.Object readResolve(); -} - -# 保留 R 文件(避免资源ID混淆) --keepclassmembers class **.R$* { - public static ; -} - -# 保留 native 方法(避免JNI调用失败) --keepclasseswithmembernames class * { - native ; -} - -# 保留注解和泛型(避免反射/序列化异常) --keepattributes *Annotation* --keepattributes Signature - -# 屏蔽 Java 8+ 警告(适配 Java 7 语法) --dontwarn java.lang.invoke.* --dontwarn android.support.v8.renderscript.* --dontwarn java.util.function.** - -# ============================== 第三方框架专项规则 ============================== -# OkHttp 4.4.1(米盟广告请求依赖,完善Lambda兼容) --keep class okhttp3.** { *; } --keep interface okhttp3.** { *; } --keep class okhttp3.internal.** { *; } --keep class okio.** { *; } --dontwarn okhttp3.internal.platform.** --dontwarn okio.** - -# Glide 4.9.0(米盟广告图片加载依赖) --keep public class * implements com.bumptech.glide.module.GlideModule --keep public class * extends com.bumptech.glide.module.AppGlideModule --keep public enum com.bumptech.glide.load.ImageHeaderParser$ImageType { - **[] $VALUES; - public *; -} --keepclassmembers class * implements com.bumptech.glide.module.AppGlideModule { - (); -} --dontwarn com.bumptech.glide.** - -# Gson 2.8.5(米盟广告数据序列化依赖) --keep class com.google.gson.** { *; } --keep interface com.google.gson.** { *; } --keepclassmembers class * { - @com.google.gson.annotations.SerializedName ; -} - -# 米盟 SDK(核心广告组件,完整保留避免加载失败) --keep class com.miui.zeus.** { *; } --keep interface com.miui.zeus.** { *; } -# 保留米盟日志字段(便于广告加载失败排查) --keepclassmembers class com.miui.zeus.mimo.sdk.** { - public static final java.lang.String TAG; -} - -# RecyclerView 1.0.0(米盟广告布局渲染依赖) --keep class androidx.recyclerview.** { *; } --keep interface androidx.recyclerview.** { *; } --keepclassmembers class androidx.recyclerview.widget.RecyclerView$Adapter { - public *; -} - -# 其他第三方框架(按引入依赖保留,无则可删除) -# XXPermissions 18.63 --keep class com.hjq.permissions.** { *; } --keep interface com.hjq.permissions.** { *; } - -# ZXing 二维码(核心解析组件) --keep class com.google.zxing.** { *; } --keep class com.journeyapps.zxing.** { *; } - -# Jsoup HTML解析 --keep class org.jsoup.** { *; } - -# Pinyin4j 拼音搜索 --keep class net.sourceforge.pinyin4j.** { *; } - -# JSch SSH组件 --keep class com.jcraft.jsch.** { *; } - -# AndroidX 基础组件 --keep class androidx.appcompat.** { *; } --keep interface androidx.appcompat.** { *; } - -# ============================== 优化与调试配置 ============================== -# 优化级别(平衡混淆效果与性能) --optimizationpasses 5 --optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/* - -# 调试辅助(保留行号便于崩溃定位) --verbose --dontpreverify --dontusemixedcaseclassnames --keepattributes SourceFile,LineNumberTable - diff --git a/winboll/src/beta/AndroidManifest.xml b/winboll/src/beta/AndroidManifest.xml deleted file mode 100644 index be35225..0000000 --- a/winboll/src/beta/AndroidManifest.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - diff --git a/winboll/src/beta/java/cc/winboll/studio/winboll/activities/OllamaWindowActivity.java b/winboll/src/beta/java/cc/winboll/studio/winboll/activities/OllamaWindowActivity.java deleted file mode 100644 index 07b804d..0000000 --- a/winboll/src/beta/java/cc/winboll/studio/winboll/activities/OllamaWindowActivity.java +++ /dev/null @@ -1,32 +0,0 @@ -package cc.winboll.studio.winboll.activities; - -import android.os.Bundle; -import android.view.Menu; -import android.view.MenuItem; - -import androidx.appcompat.app.AppCompatActivity; -import androidx.appcompat.widget.Toolbar; - -import cc.winboll.studio.winboll.R; - -/** - * Ollama 模型对话窗口 - */ -public class OllamaWindowActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_ollama_window); - - Toolbar toolbar = findViewById(R.id.toolbar); - setSupportActionBar(toolbar); - getSupportActionBar().setTitle("Ollama 窗口"); - } - - @Override - public boolean onCreateOptionsMenu(Menu menu) { - getMenuInflater().inflate(R.menu.menu_ollama_window, menu); - return true; - } -} diff --git a/winboll/src/beta/res/layout/activity_ollama_window.xml b/winboll/src/beta/res/layout/activity_ollama_window.xml deleted file mode 100644 index 86f97cd..0000000 --- a/winboll/src/beta/res/layout/activity_ollama_window.xml +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -