# portable-python-in-electron.md 2023.05.19 electron packed portable python v3 and git example ExpressLRS Configurator 1.5.9 https://github.com/ExpressLRS/ExpressLRS-Configurator/releases/tag/v1.5.9 on macOS, it installed portable python and git with electron installer to ~/Applications/ExpressLRS Configurator.app/Contents/dependencies/darwin_amd64/python-portable-darwin-3.8.4/ and ~/Applications/ExpressLRS Configurator.app/Contents/dependencies/darwin_amd64/git-2.29.2/ related code ``` const portableGitLocation = path.join( dependenciesPath, 'darwin_amd64/git-2.29.2/bin' ); PATH = prependPATH(PATH, portablePythonLocation); PATH = prependPATH(PATH, portableGitLocation); localApiServerEnv.GIT_EXEC_PATH = path.join( dependenciesPath, 'darwin_amd64/git-2.29.2/libexec/git-core' ); } ``` https://github.com/ExpressLRS/ExpressLRS-Configurator/blob/85d9b51eda73619b9feb0a38b4fcf2af69e9507a/src/main.dev.ts#L312-L322 ``` "extraFiles": [ "dependencies/darwin_amd64", "dependencies/get-platformio.py" ] ``` https://github.com/ExpressLRS/ExpressLRS-Configurator/blob/85d9b51eda73619b9feb0a38b4fcf2af69e9507a/package.json#L65-L67 found by fd