* 0.7.36 release

This commit is contained in:
lumapu 2023-08-18 00:50:09 +02:00
parent cd4301b3ca
commit c70282c786
3 changed files with 17 additions and 54 deletions

View file

@ -3,6 +3,9 @@ import subprocess
Import("env")
def applyPatch(libName, patchFile):
if os.path.exists('.pio/libdeps/' + env['PIOENV'] + '/' + libName) == False:
return
os.chdir('.pio/libdeps/' + env['PIOENV'] + '/' + libName)
process = subprocess.run(['git', 'apply', '--reverse', '--check', '../../../../' + patchFile], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)