export-table-pulgin-csharp 1.1.101 → 1.1.102

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":"ExportLiteDBUnityCSJsonPlugin.d.ts","sourceRoot":"","sources":["../src/ExportLiteDBUnityCSJsonPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAqC,MAAM,kBAAkB,CAAA;AASxJ,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAuFnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAsDzE;AAED,qBAAa,uBAAwB,SAAQ,UAAU;IACtD,IAAI,SAAgB;IACpB,IAAI,EAAE,MAAM,EAAE,CAAkB;IAEhC,WAAW,CAAC,KAAK,EAAE,iBAAiB;IA4BpC,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;CAmC3C"}
1
+ {"version":3,"file":"ExportLiteDBUnityCSJsonPlugin.d.ts","sourceRoot":"","sources":["../src/ExportLiteDBUnityCSJsonPlugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAqC,MAAM,kBAAkB,CAAA;AASxJ,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAuFnE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAsDzE;AAED,qBAAa,uBAAwB,SAAQ,UAAU;IACtD,IAAI,SAAgB;IACpB,IAAI,EAAE,MAAM,EAAE,CAAkB;IAEhC,WAAW,CAAC,KAAK,EAAE,iBAAiB;IA6BpC,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;CAmC3C"}
@@ -178,10 +178,11 @@ class ExportLiteDBUJsonPlugin extends export_table_lib_1.PluginBase {
178
178
  fs.outputFileSync(savePath, content2, "utf-8");
179
179
  let modulePath = require.resolve(".");
180
180
  let binPath = path_1.default.resolve(modulePath, "../../bin/Json2LiteDB.exe");
181
- let dbPath = "Assets/Bundles/GameConfigs/Auto/MainConfig.db.bytes";
182
- let cmdline = `${binPath} ${savePath} ${dbPath}`;
183
- console.log("execute-cmdline:" + cmdline);
184
- var output = cp.spawnSync(binPath, [savePath, dbPath]);
181
+ let dbPath = path_1.default.resolve("Assets/Bundles/GameConfigs/Auto/MainConfig.db.bytes");
182
+ var savePath2 = path_1.default.resolve(savePath);
183
+ let cmdline = `${binPath} ${savePath2} ${dbPath}`;
184
+ console.log("execute-cmdline: " + cmdline);
185
+ var output = cp.spawnSync(binPath, [savePath2, dbPath]);
185
186
  console.log(output.output.toString());
186
187
  }
187
188
  return content2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.1.101",
3
+ "version": "1.1.102",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -174,10 +174,11 @@ export class ExportLiteDBUJsonPlugin extends PluginBase {
174
174
 
175
175
  let modulePath = require.resolve(".")
176
176
  let binPath = path.resolve(modulePath, "../../bin/Json2LiteDB.exe")
177
- let dbPath = "Assets/Bundles/GameConfigs/Auto/MainConfig.db.bytes";
178
- let cmdline = `${binPath} ${savePath} ${dbPath}`;
179
- console.log("execute-cmdline:" + cmdline)
180
- var output = cp.spawnSync(binPath, [savePath, dbPath])
177
+ let dbPath = path.resolve("Assets/Bundles/GameConfigs/Auto/MainConfig.db.bytes");
178
+ var savePath2 = path.resolve(savePath);
179
+ let cmdline = `${binPath} ${savePath2} ${dbPath}`;
180
+ console.log("execute-cmdline: " + cmdline)
181
+ var output = cp.spawnSync(binPath, [savePath2, dbPath])
181
182
  console.log(output.output.toString())
182
183
  }
183
184