electron-vue execfile 打包后获取静态资源失败

185 阅读1分钟

import { promisify } from 'util' import path from 'path' const execFile = promisify(require('child_process').execFile)

execFile(path.join(__static,"dlcore.exe")