You've already forked Nano-Banana-AI-Image-Editor
修复 无法上传问题
This commit is contained in:
@@ -34,7 +34,11 @@ tsc.on('close', (code) => {
|
||||
build.on('close', (buildCode) => {
|
||||
if (buildCode === 0) {
|
||||
const child = spawn(electron, [appPath], {
|
||||
stdio: 'inherit'
|
||||
stdio: 'inherit',
|
||||
env: {
|
||||
...process.env,
|
||||
NODE_ENV: 'production'
|
||||
}
|
||||
});
|
||||
|
||||
child.on('close', (code) => {
|
||||
|
||||
Reference in New Issue
Block a user