forked from Supositware/Haha-Yes
fix for linux
This commit is contained in:
parent
cb6971a95e
commit
d170f06c91
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class dectalkvcCommand extends Command {
|
||||||
});
|
});
|
||||||
|
|
||||||
} else if (process.platform == 'linux') {
|
} else if (process.platform == 'linux') {
|
||||||
exec(`wine dectalk/say.exe -w ../../dectalk.wav "${args.decMessage}"`)
|
exec(`cd dectalk && DISPLAY=:0.0 wine say.exe -w dectalk.wav "${args.decMessage}"`)
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
return console.error(err);
|
return console.error(err);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue