Browse Source

Fix locale.

primary
CismonX 2 months ago
parent
commit
7820db6955
Signed by: CismonX GPG Key ID: 3094873E29A482FB
  1. 2
      src/utils/misc.ts

2
src/utils/misc.ts

@ -46,7 +46,7 @@ export function exec(path: string, args: string[], maxBuffer: number) {
return new Promise<ExecResult>(
resolve => child_process.execFile(path, args,
{
env: { ...process.env, LC_MESSAGES: 'en_US' },
env: { ...process.env, LC_MESSAGES: 'en_US.UTF-8' },
maxBuffer: maxBuffer,
},
(error, stdout, stderr) => resolve(error

Loading…
Cancel
Save