electron/script/lib
Romain Pokrzywka 483808a8cf
fix: Support running git-[im,ex]port-patches with Python3 too (#32303)
* script: Python3 compatibility for utf8 conversion

The unicode() method has been renamed to str() in Python3,
add a wrapper around it to support running against both versions.

* script: don't require python2 for git-[import,export]-patches

The scripts work just fine with python3 too, so use the generic
python executable as the script interpreter.
Most setups don't even require or provide python 2 anymore,
so this saves one from having to install it just for the scripts.
2022-01-10 16:47:55 -05:00
..
__init__.py Move helper functions into a common module. 2013-06-20 22:51:58 +08:00
config.py build: support building Electron on msys2 (#29449) 2021-06-02 16:29:19 +09:00
electron.gitattributes build: fix path to git attributes for for patch export (#24896) 2020-08-10 07:10:15 -07:00
git.py fix: Support running git-[im,ex]port-patches with Python3 too (#32303) 2022-01-10 16:47:55 -05:00
native_tests.py chore: fix pylint (#31138) 2021-09-29 13:10:13 -04:00
npm.py build: fail a build if some hooks don't succeed (#16369) 2019-01-23 11:31:14 +01:00
npx.py build: update npx.py to support npx@7 (#26662) 2020-11-23 21:26:54 -08:00
patches.py chore: fix linter errors (#25996) 2020-10-19 20:55:27 +09:00
s3put.js fix: s3put not replacing enough \\ (#25866) 2020-10-13 11:02:25 +09:00
util.py build: remove dead python methods and helper (#28884) 2021-04-28 00:39:30 -07:00
utils.js refactor: getCurrentBranch respects main (#29369) 2021-05-27 17:32:16 -07:00