eeschema: BOM scripts location MacOS

Description

For whatever reason the location for the eeschema - bom scripts on macOS is in some AppTranslocation folder. When I browse to the listed path of the bom-script it doesn't exist. When I manually add the script from Applications/KiCad/kicad.app/Contents/SharedSupport/plugins/bom2grouped_csv.xsl it works perfectly.

Steps to reproduce

  1. Install kicad
  2. open eeschema
  3. open "bill of material"
  4. view the strange path similar to /private/var/folders/n1/qjm83k_105312fpt4p66q1rc0000gn/T/AppTranslocation/EEE3C911-8A4E-48F7-8F24-3881FB1D3A2B/d/kicad.app/Contents/SharedSupport/plugins/bom2grouped_csv.xsl
  5. add a script with the path Applications/KiCad/kicad.app/Contents/SharedSupport/plugins/bom2grouped_csv.xsl
  6. test added script

KiCad Version

This is the more-atomic-save branch but it has happened in many of the version I have installed since I started using kicad.

Application: Eeschema
Version: (5.99.0-1968-ga10b046c9), release build
Libraries:
	wxWidgets 3.0.4
	libcurl/7.64.1 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.39.2
Platform: macOS Catalina Version 10.15.5 (Build 19F101), 64 bit, Little endian, wxMac
Build Info:
	Build date: Jun 14 2020 21:24:20
	wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
	Boost: 1.72.0
	OCE: 6.9.1
	Curl: 7.64.1
	Compiler: Clang 11.0.3 with C++ ABI 1002

Build settings:
	KICAD_SCRIPTING=ON
	KICAD_SCRIPTING_MODULES=ON
	KICAD_SCRIPTING_PYTHON3=OFF
	KICAD_SCRIPTING_WXPYTHON=ON
	KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
	KICAD_SCRIPTING_ACTION_MENU=ON
	BUILD_GITHUB_PLUGIN=ON
	KICAD_USE_OCE=ON
	KICAD_SPICE=ON