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.
@@ -10,7 +10,7 @@
10
10
  [CustomEditor(typeof(LocalizationManager))]
11
11
  public class LocalizationManagerEditor : Editor
12
12
  {
13
- private const string Version = "1.4.1";
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.xmobitea.changx.mini-localization",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "displayName": "XmobiTea Localization",
5
5
  "description": "XmobiTea Unity package",
6
6
  "unity": "2020.3",