@jtff/miztemplate-lib 3.4.18 → 3.4.19

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.
@@ -36,7 +36,7 @@ if (not(SRSConfig)) then
36
36
  jtff_log.error(string.format("Local SRS config not specified ! Initializing empty values for SRS"), "Initialization")
37
37
  SRSConfig= {
38
38
  port = 5002,
39
- path = "C:\\SRS",
39
+ path = "C:/Program Files/DCS-SimpleRadio-Standalone",
40
40
  ip = "127.0.0.1",
41
41
  }
42
42
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jtff/miztemplate-lib",
3
- "version": "3.4.18",
3
+ "version": "3.4.19",
4
4
  "description": "JTFF mission template library",
5
5
  "main": "index.js",
6
6
  "files": [
package/scripts/build.js CHANGED
@@ -19,16 +19,7 @@ function build(jtffci) {
19
19
  }
20
20
  let publicationConfig = {
21
21
  theatre: missionTemplate.theatre,
22
- mizFiles: [
23
- jtffci.config.general.missionFolder + '/' + jtffci.config.general.missionPrefix,
24
- '_',
25
- missionTemplate.theatre,
26
- '_',
27
- jtffci.config.general.missionSuffix,
28
- '_',
29
- jtffci.displayVersion(jtffci.getVersion()),
30
- ".miz"
31
- ].join(""),
22
+ mizFiles: jtffci.getDestinationMizFilePathFromConfigMissionTemplate(missionTemplate),
32
23
  gdriveFolder: missionTemplate.destFolderId
33
24
  };
34
25
  fs.writeFileSync(jtffci.config.general.missionFolder + '/' + missionTemplate.theatre + '.pub.json', JSON.stringify(publicationConfig, null, 4));