fix: force install platform-specific packages in build process
All checks were successful
Release Electron App / release-desktop (push) Successful in 11m2s
All checks were successful
Release Electron App / release-desktop (push) Successful in 11m2s
This commit is contained in:
@@ -101,7 +101,7 @@ const config: ForgeConfig = {
|
||||
// Install correct platform packages
|
||||
const pkgsToInstall = Object.keys(nativePkgs).join(' ');
|
||||
console.log(`[forge] Installing platform-specific packages for ${targetKey}: ${pkgsToInstall}`);
|
||||
execSync(`npm install ${pkgsToInstall} --omit=dev --no-save`, {
|
||||
execSync(`npm install ${pkgsToInstall} --omit=dev --no-save --force`, {
|
||||
cwd: buildPath,
|
||||
stdio: 'inherit',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user