src/vs/workbench/electron-sandbox/window.ts/NativeWindow/openResources
class NativeWindow:	private async openResources(resources: Array<IResourceEditorInput | IUntitledTextResourceEditorInput>, diffMode: boolean): Promise<unknown> {
		const editors: IUntypedEditorInput[] = [];

		// In diffMode we open 2 resources as diff
		if (diffMode && resources.length === 2 && resources[0].resource && resources[1].resource) {
			const diffEditor: IResourceDiffEditorInput = {
				original: { resource: resources[0].resource },
				modified: { resource: resources[1].resource },
				options: { pinned: true }
			};
			editors.push(diffEditor);
		} else {
			editors.push(...resources);
		}

		// Open as editors
		return this.editorService.openEditors(editors, undefined, { validateTrust: true });
	}