export-table-pulgin-csharp 1.1.174 → 1.1.175

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ExportUnityCSJsonPlugin.d.ts","sourceRoot":"","sources":["../src/ExportUnityCSJsonPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAqC,MAAM,kBAAkB,CAAA;AAQxJ,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CA+DnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAoJzE;AAED,qBAAa,iBAAkB,SAAQ,UAAU;IAChD,IAAI,SAAU;IACd,IAAI,EAAE,MAAM,EAAE,CAAY;IAE1B,WAAW,CAAC,KAAK,EAAE,iBAAiB;IAmBpC,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;CA4C3C"}
1
+ {"version":3,"file":"ExportUnityCSJsonPlugin.d.ts","sourceRoot":"","sources":["../src/ExportUnityCSJsonPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAqC,MAAM,kBAAkB,CAAA;AAQxJ,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CA+DnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAwJzE;AAED,qBAAa,iBAAkB,SAAQ,UAAU;IAChD,IAAI,SAAU;IACd,IAAI,EAAE,MAAM,EAAE,CAAY;IAE1B,WAAW,CAAC,KAAK,EAAE,iBAAiB;IAmBpC,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;CA4C3C"}
@@ -181,7 +181,11 @@ namespace ${exportNamespace}
181
181
  {
182
182
  try
183
183
  {
184
- System.IO.File.WriteAllText(loadUrl, configLiteral, System.Text.Encoding.UTF8);
184
+ var content0 = System.IO.File.ReadAllText(loadUrl, System.Text.Encoding.UTF8);
185
+ if (content0 != configLiteral)
186
+ {
187
+ System.IO.File.WriteAllText(loadUrl, configLiteral, System.Text.Encoding.UTF8);
188
+ }
185
189
  }
186
190
  catch (System.Exception exception)
187
191
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.1.174",
3
+ "version": "1.1.175",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {},
@@ -205,7 +205,11 @@ namespace ${exportNamespace}
205
205
  {
206
206
  try
207
207
  {
208
- System.IO.File.WriteAllText(loadUrl, configLiteral, System.Text.Encoding.UTF8);
208
+ var content0 = System.IO.File.ReadAllText(loadUrl, System.Text.Encoding.UTF8);
209
+ if (content0 != configLiteral)
210
+ {
211
+ System.IO.File.WriteAllText(loadUrl, configLiteral, System.Text.Encoding.UTF8);
212
+ }
209
213
  }
210
214
  catch (System.Exception exception)
211
215
  {