Skip to content

Commit 86652f2

Browse files
committed
Prevent bluescreen
1 parent 3c9970c commit 86652f2

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

install.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,19 @@ module.exports = async kernel =>
9797
method: 'shell.run',
9898
params:
9999
{
100-
message: install(kernel) + ' || exit 0',
100+
message: install(kernel),
101101
path: 'facefusion',
102102
conda:
103103
{
104104
path: path.resolve(__dirname, '.env')
105-
}
105+
},
106+
on:
107+
[
108+
{
109+
event: '/error:/i',
110+
break: false
111+
}
112+
]
106113
}
107114
},
108115
{

0 commit comments

Comments
 (0)