xp-command 1.3.1 → 1.3.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/config.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xp-command",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Quick cockpit commands for X-Plane 12 - set your radios, altimeter, autopilot, and more from the terminal while flying.",
5
5
  "keywords": [
6
6
  "xplane",
package/src/config.js CHANGED
@@ -47,7 +47,7 @@ export const getConfig = async () => {
47
47
  let aircraft;
48
48
  aircraft = /** @type {string} */ (
49
49
  await getDatarefValue("sim/aircraft/view/acf_ui_name")
50
- );
50
+ ).replaceAll(/[./\\]/g, ' ');
51
51
  const aircraftConfigPath = join(osHomedir, ".xp-command", `${aircraft}.yml`);
52
52
 
53
53
  let config;