mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
fix: universal build
This commit is contained in:
@@ -8,7 +8,6 @@ import * as fs from 'fs';
|
||||
import * as minimatch from 'minimatch';
|
||||
import { makeUniversalApp } from 'vscode-universal-bundler';
|
||||
import { spawn } from '@malept/cross-spawn-promise';
|
||||
import { isAMD } from '../lib/amd';
|
||||
|
||||
const root = path.dirname(path.dirname(__dirname));
|
||||
|
||||
@@ -32,15 +31,13 @@ async function main(buildDir?: string) {
|
||||
'**/Credits.rtf',
|
||||
];
|
||||
|
||||
const canAsar = isAMD(); // TODO@esm ASAR disabled in ESM
|
||||
|
||||
await makeUniversalApp({
|
||||
x64AppPath,
|
||||
arm64AppPath,
|
||||
asarPath: canAsar ? asarRelativePath : undefined,
|
||||
asarPath: asarRelativePath,
|
||||
outAppPath,
|
||||
force: true,
|
||||
mergeASARs: canAsar,
|
||||
mergeASARs: true,
|
||||
x64ArchFiles: '*/kerberos.node',
|
||||
filesToSkipComparison: (file: string) => {
|
||||
for (const expected of filesToSkip) {
|
||||
|
||||
Reference in New Issue
Block a user