feat(gui): 重构 FridaWindow 类并添加新功能

-重新设计了窗口布局和样式,增加了更多控制按钮
-集成了自动补全功能,支持 Frida 相关的关键字和 API
- 优化了代码编辑器的配色方案,支持语法高亮
- 改进了日志输出区域的可读性- 移除了未使用的 LanguageManager 导入
This commit is contained in:
tzdwindows 7
2025-03-01 16:19:19 +08:00
parent f62db0f91d
commit f4baf0b1e4
15 changed files with 1398 additions and 182 deletions

View File

@@ -3,6 +3,12 @@ plugins {
id 'application'
id 'edu.sc.seis.launch4j' version '2.5.4'
id 'org.openjfx.javafxplugin' version '0.1.0'
id 'org.springframework.boot' version '3.2.0'
id 'io.spring.dependency-management' version '1.1.4'
}
configurations {
all*.exclude group: 'org.openjfx', module: 'javafx'
}
// JDK 版本检查
@@ -16,17 +22,16 @@ group = 'com.axis.innovators.box'
version = '0.0.1'
repositories {
maven { setUrl("https://maven.aliyun.com/repository/central") }
maven { setUrl("https://maven.aliyun.com/repository/jcenter") }
maven { setUrl("https://maven.aliyun.com/repository/google") }
maven { setUrl("https://maven.aliyun.com/repository/gradle-plugin") }
maven { setUrl("https://maven.aliyun.com/repository/public") }
maven { setUrl("https://jitpack.io") }
maven { setUrl("https://maven.aliyun.com/nexus/content/groups/public/") }
maven { setUrl("https://maven.aliyun.com/nexus/content/repositories/jcenter") }
gradlePluginPortal()
google()
mavenCentral()
maven {
url 'https://maven.aliyun.com/repository/public'
metadataSources {
mavenPom()
artifact()
ignoreGradleMetadataRedirection()
}
}
maven { url 'https://jitpack.io' }
// mavenCentral()
}
dependencies {
@@ -40,11 +45,11 @@ dependencies {
implementation 'org.apache.logging.log4j:log4j-core:2.20.0'
implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.20.0'
implementation 'org.ow2.asm:asm:7.1'
implementation 'org.ow2.asm:asm-commons:7.1'
implementation 'org.ow2.asm:asm-analysis:7.1'
implementation 'org.ow2.asm:asm-util:7.0'
implementation 'org.ow2.asm:asm-tree:7.1'
implementation 'org.ow2.asm:asm:9.7.1'
implementation 'org.ow2.asm:asm-commons:9.7.1'
implementation 'org.ow2.asm:asm-analysis:9.7.1'
implementation 'org.ow2.asm:asm-util:9.7.1'
implementation 'org.ow2.asm:asm-tree:9.7.1'
implementation 'org.jsoup:jsoup:1.17.2'
@@ -63,7 +68,13 @@ dependencies {
implementation 'org.bitbucket.mstrobel:procyon-core:0.5.36' // 使用JitPack版本
implementation 'org.bitbucket.mstrobel:procyon-compilertools:0.5.36'
implementation 'com.fifesoft:rsyntaxtextarea:3.3.0'
// 必须的核心依赖
implementation 'com.fifesoft:rsyntaxtextarea:3.3.1'
implementation 'com.fifesoft:autocomplete:3.3.1'
// 可选UI增强
implementation 'com.fifesoft:rstaui:3.3.1'
implementation 'org.apache.commons:commons-compress:1.23.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.2'
implementation 'org.controlsfx:controlsfx:11.1.2' // 现代化UI组件
@@ -76,6 +87,27 @@ dependencies {
implementation 'org.benf:cfr:0.152'
implementation 'com.github.javaparser:javaparser-core:3.25.1'
implementation 'org.springframework.boot:spring-boot-starter-web' // Web支持
implementation 'org.springframework.boot:spring-boot-starter-data-jpa' // JPA数据库支持
implementation 'org.springframework.boot:spring-boot-starter-validation' // 参数校验
// 安全相关依赖
implementation 'org.springframework.boot:spring-boot-starter-security' // Spring Security
implementation 'io.jsonwebtoken:jjwt-api:0.12.3' // JWT API
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.3', // JWT实现
'io.jsonwebtoken:jjwt-jackson:0.12.3' // JWT序列化
runtimeOnly 'com.mysql:mysql-connector-j'
// 开发工具
developmentOnly 'org.springframework.boot:spring-boot-devtools'
// 测试依赖
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}
// 分离依赖项到 libs 目录