fix rg path

pull/5370/head
bunsenstraat 1 year ago
parent 8ef201a903
commit 00205fb215
  1. 4
      apps/remixdesktop/src/plugins/ripgrepPlugin.ts

@ -51,7 +51,9 @@ export class RipgrepPluginClient extends ElectronBasePluginClient {
return new Promise((c, e) => {
const rg = spawn(rgPath, ['.', '-l', path])
// replace packed app path with unpacked app path for release on windows
const customRgPath = rgPath.replace('/app.asar/', '/app.asar.unpacked/')
const rg = spawn(customRgPath, ['.', '-l', path])
const resultrg: any[] = []

Loading…
Cancel
Save