1.2.0 增加bugly
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
SET class_path=target/video-encryptor-1.0-SNAPSHOT.jar;
|
||||
native-image --no-fallback -H:ConfigurationFileDirectories=META-INF/native-image --allow-incomplete-classpath -classpath %class_path% com.penngo.gralvm.MainSwing
|
||||
SET class_path=target\video-encryptor-1.0.1.jar;
|
||||
|
||||
native-image --no-fallback -H:ConfigurationFileDirectories=src\main\resources\META-INF\native-image --allow-incomplete-classpath -classpath %class_path% com.hnos.video.VideoEncryptorGUI
|
||||
@@ -1,7 +1,9 @@
|
||||
@REM 使用idea 的mvn clean package
|
||||
|
||||
java -agentlib:native-image-agent=config-output-dir=./META-INF/native-image -jar video-encryptor-1.0.jar
|
||||
cd target
|
||||
|
||||
native-image -jar target\video-encryptor-1.0.jar --no-fallback -H:ConfigurationFileDirectories=.\src\main\resources\META-INF\native-image
|
||||
java -agentlib:native-image-agent=config-output-dir=src\main\resources\META-INF\native-image -jar video-encryptor-1.0.1.jar
|
||||
|
||||
native-image -jar target\video-encryptor-1.0.1.jar --no-fallback -H:ConfigurationFileDirectories=src\main\resources\META-INF\native-image
|
||||
|
||||
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\editbin.exe" /SUBSYSTEM:WINDOWS video-encryptor-1.0.exe
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.hainaos</groupId>
|
||||
<artifactId>video-encryptor</artifactId>
|
||||
<version>1.0</version>
|
||||
<version>1.0.1</version>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
|
||||
@@ -21,8 +21,7 @@ public class VideoEncryptorGUI extends JFrame {
|
||||
// 加密算法常量(保持和VideoEncryptor一致)
|
||||
private static final String ALGORITHM = "AES/CTR/NoPadding";
|
||||
// 视频文件扩展名列表(可根据需要扩展)
|
||||
private static final List<String> VIDEO_EXTENSIONS = Arrays.asList("mp4", "avi", "mov", "mkv", "flv", "wmv",
|
||||
"rmvb");
|
||||
private static final List<String> VIDEO_EXTENSIONS = List.of("mp4");
|
||||
// 测试用AES密钥(16字节,AES-128),实际使用请替换为安全生成的密钥
|
||||
private static final byte[] TEST_KEY = "1234567890123456".getBytes();
|
||||
// 测试用IV向量(16字节,CTR模式要求IV长度等于块大小),实际使用请随机生成
|
||||
|
||||
BIN
ui/video-encryptor/video-encryptor-1.0.zip
Normal file
BIN
ui/video-encryptor/video-encryptor-1.0.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user