fix rg path

desktopmerge
bunsenstraat 1 year ago
parent 686bca37b9
commit f29621d1c7
  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