* chore: bump chromium in DEPS to 121.0.6101.0 * chore: update patches * Explictly use python3 to check patch diff * chore: bump chromium in DEPS to 121.0.6102.0 * chore: update patches * 4995136: [extensions] Enable Extension Mojo messaging https://chromium-review.googlesource.com/c/chromium/src/+/4995136 * Bind the components interfaces to a RenderFrame https://chromium-review.googlesource.com/c/chromium/src/+/4985961 Also: 3986427: Create RendererHost mojom interface for Extensions | https://chromium-review.googlesource.com/c/chromium/src/+/3986427 * 4997024: Enum modernisation for resources_private.idl https://chromium-review.googlesource.com/c/chromium/src/+/4997024 * 4997025: Enum modernisation for scripting.idl https://chromium-review.googlesource.com/c/chromium/src/+/4997025 * chore: bump chromium in DEPS to 121.0.6103.0 * chore: update patches * chore: bump chromium in DEPS to 121.0.6104.0 * chore: update patches --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			609 B
			
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			609 B
			
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { spawnSync } from 'node:child_process';
 | 
						|
import * as path from 'node:path';
 | 
						|
 | 
						|
const srcPath = path.resolve(__dirname, '..', '..', '..');
 | 
						|
const patchExportFnPath = path.resolve(__dirname, 'export_all_patches.py');
 | 
						|
const configPath = path.resolve(__dirname, '..', 'patches', 'config.json');
 | 
						|
 | 
						|
// Re-export all the patches to check if there were changes.
 | 
						|
const proc = spawnSync('python3', [patchExportFnPath, configPath, '--dry-run'], {
 | 
						|
  cwd: srcPath
 | 
						|
});
 | 
						|
 | 
						|
// Fail if patch exporting returned 1, e.g dry run failed.
 | 
						|
if (proc.status === 1) {
 | 
						|
  console.log(proc.stderr.toString('utf8'));
 | 
						|
  process.exit(1);
 | 
						|
}
 |