Browse Source

feat: 添加版本号

hexleo 4 years ago
parent
commit
ba6a8f1156

+ 3 - 1
Android/PlayerProj/animtool/src/main/java/com/tencent/qgame/playerproj/animtool/ui/ToolUI.java

@@ -44,11 +44,12 @@ import javax.swing.SpinnerNumberModel;
 public class ToolUI {
 public class ToolUI {
 
 
     private static final String TAG = "ToolUI";
     private static final String TAG = "ToolUI";
+    private static final String TOOL_VERSION = "VAP tool 2.0.4";
     private static final String PROPERTIES_FILE = "setting.properties";
     private static final String PROPERTIES_FILE = "setting.properties";
     public static final int WIDTH = 900;
     public static final int WIDTH = 900;
     public static final int HEIGHT = 750;
     public static final int HEIGHT = 750;
 
 
-    private final JFrame frame = new JFrame("VAP tool 2.0.3");
+    private final JFrame frame = new JFrame(TOOL_VERSION);
     private final ButtonGroup group = new ButtonGroup();
     private final ButtonGroup group = new ButtonGroup();
     private final JRadioButton btnH264 = new JRadioButton("h264");
     private final JRadioButton btnH264 = new JRadioButton("h264");
     private final JRadioButton btnH265 = new JRadioButton("h265");
     private final JRadioButton btnH265 = new JRadioButton("h265");
@@ -152,6 +153,7 @@ public class ToolUI {
 
 
     private void runTool() {
     private void runTool() {
         txtAreaLog.setText("");
         txtAreaLog.setText("");
+        TLog.i(TAG, TOOL_VERSION);
         new Thread(new Runnable() {
         new Thread(new Runnable() {
             @Override
             @Override
             public void run() {
             public void run() {