瀏覽代碼

name and version from constants

Scrublord1336 6 年之前
父節點
當前提交
b547dc50f1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/XUnity.AutoTranslator.Plugin.UnityInjector/AutoTranslatorPlugin.cs

+ 2 - 1
src/XUnity.AutoTranslator.Plugin.UnityInjector/AutoTranslatorPlugin.cs

@@ -7,10 +7,11 @@ using UnityInjector;
 using UnityInjector.Attributes;
 using XUnity.AutoTranslator.Plugin.Core;
 using XUnity.AutoTranslator.Plugin.Core.Configuration;
+using XUnity.AutoTranslator.Plugin.Core.Constants;
 
 namespace XUnity.AutoTranslator.Plugin.UnityInjector
 {
-   [PluginName( "XUnity.AutoTranslator" ), PluginVersion( "2.6.0" )]
+   [PluginName( PluginData.Name ), PluginVersion( PluginData.Version )]
    public class AutoTranslatorPlugin : PluginBase, IConfiguration
    {
       IniFile IConfiguration.ReloadConfig()