Skip to content

Commit aa4bd88

Browse files
fix(build): force public npm for package manager bootstrap
1 parent 8ad8e05 commit aa4bd88

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎scripts/build-desktop-artifact.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,12 @@ interface StagePackageJson {
979979
};
980980
}
981981

982-
export const STAGE_INSTALL_ARGS = ["install", "--prod"] as const;
982+
export const STAGE_INSTALL_ARGS = [
983+
"install",
984+
"--prod",
985+
"--",
986+
"--registry=https://registry.npmjs.org/",
987+
] as const;
983988
export const DESKTOP_ELECTRON_LANGUAGES = ["en-US"] as const;
984989
export const DESKTOP_FILE_EXCLUSIONS = [
985990
// Cursor finds platform assets by walking up from argv[1]. Keep them outside

0 commit comments

Comments
 (0)