com.xmobitea.changx.mini-localization 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Editor/LocalizationManagerEditor.cs +11 -1
- package/Editor/Tools/GetLocalizationTools/linux-x64/GetLocalization +0 -0
- package/Editor/Tools/GetLocalizationTools/linux-x64/GetLocalization.pdb +0 -0
- package/Editor/Tools/GetLocalizationTools/osx-x64/GetLocalization +0 -0
- package/Editor/Tools/GetLocalizationTools/osx-x64/GetLocalization.pdb +0 -0
- package/Editor/Tools/GetLocalizationTools/win-x64/GetLocalization.exe +0 -0
- package/Editor/Tools/GetLocalizationTools/win-x64/GetLocalization.pdb +0 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
[CustomEditor(typeof(LocalizationManager))]
|
|
11
11
|
public class LocalizationManagerEditor : Editor
|
|
12
12
|
{
|
|
13
|
-
private const string Version = "1.4.
|
|
13
|
+
private const string Version = "1.4.2";
|
|
14
14
|
private const string Library = @".\Library\PackageCache\com.xmobitea.changx.mini-localization@" + Version;
|
|
15
15
|
//private const string Library = @".\Assets\MiniLocalization";
|
|
16
16
|
private const string ProcessPath = @"\Editor\Tools\GetLocalizationTools";
|
|
@@ -101,6 +101,16 @@
|
|
|
101
101
|
|
|
102
102
|
for (var i = 0; i < localizationLanguageItems.Length; i++) arguments += " " + localizationLanguageItems[i].SystemLanguage;
|
|
103
103
|
|
|
104
|
+
if (platform == RuntimePlatform.WindowsEditor || platform == RuntimePlatform.WindowsPlayer || platform == RuntimePlatform.WindowsServer)
|
|
105
|
+
{
|
|
106
|
+
|
|
107
|
+
}
|
|
108
|
+
else
|
|
109
|
+
{
|
|
110
|
+
processPath = processPath.Replace("\\", "/");
|
|
111
|
+
arguments = arguments.Replace("\\", "/");
|
|
112
|
+
}
|
|
113
|
+
|
|
104
114
|
Debug.Log("Run CommandLine " + processPath + " " + arguments);
|
|
105
115
|
|
|
106
116
|
var process = new System.Diagnostics.Process
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|