mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-14 08:01:02 -07:00
18 lines
359 B
JavaScript
18 lines
359 B
JavaScript
/* eslint-disable */
|
|
/**
|
|
* @license
|
|
* Copyright 2023 Lvce Editor
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
import { dirname, join } from 'node:path'
|
|
import { fileURLToPath } from 'node:url'
|
|
|
|
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
|
|
export const rgPath = join(
|
|
__dirname,
|
|
'..',
|
|
'bin',
|
|
`rg${process.platform === 'win32' ? '.exe' : ''}`,
|
|
)
|