Fix the packaging appimage problem in linux
This commit is contained in:
5
bin/builders/BaseBuilder.ts
vendored
5
bin/builders/BaseBuilder.ts
vendored
@@ -164,7 +164,10 @@ export default abstract class BaseBuilder {
|
||||
// Show static message to keep the status visible
|
||||
logger.warn('✸ Building app...');
|
||||
|
||||
const buildEnv = this.getBuildEnvironment();
|
||||
const buildEnv = {
|
||||
...this.getBuildEnvironment(),
|
||||
...(process.env.NO_STRIP && { NO_STRIP: process.env.NO_STRIP }),
|
||||
};
|
||||
|
||||
await shellExec(
|
||||
`cd "${npmDirectory}" && ${this.getBuildCommand(packageManager)}`,
|
||||
|
||||
Reference in New Issue
Block a user