Compare commits
3 Commits
c56d796a2e
...
4c0a59e0a3
Author | SHA1 | Date | |
---|---|---|---|
|
4c0a59e0a3 | ||
|
7b53a7b88b | ||
|
6db4f1c440 |
@ -1287,25 +1287,6 @@ def get_manifest(is_windows):
|
|||||||
checksum = ""
|
checksum = ""
|
||||||
add_to_devenv_script = []
|
add_to_devenv_script = []
|
||||||
|
|
||||||
fd_args='''fd \
|
|
||||||
--type file \
|
|
||||||
--no-ignore-vcs \
|
|
||||||
--strip-cwd-prefix \
|
|
||||||
--hidden \
|
|
||||||
--follow \
|
|
||||||
--exclude .git \
|
|
||||||
--exclude .cache \
|
|
||||||
--exclude .vs \
|
|
||||||
--exclude "*.dll" \
|
|
||||||
--exclude "*.exe" \
|
|
||||||
--exclude "*.lib" \
|
|
||||||
--exclude "*.obj" \
|
|
||||||
--exclude "*.pdb" \
|
|
||||||
--exclude "*.so" \
|
|
||||||
--exclude "*.tar" \
|
|
||||||
--exclude "*.zip" \
|
|
||||||
'''
|
|
||||||
|
|
||||||
if is_windows:
|
if is_windows:
|
||||||
download_url = f"https://github.com/sharkdp/fd/releases/download/v{version}/fd-v{version}-x86_64-pc-windows-msvc.zip"
|
download_url = f"https://github.com/sharkdp/fd/releases/download/v{version}/fd-v{version}-x86_64-pc-windows-msvc.zip"
|
||||||
download_checksum = "657cf430a1b349ce2b9cceeaed0b14220a417bbf24a85995aa6fbf8f746f4e03"
|
download_checksum = "657cf430a1b349ce2b9cceeaed0b14220a417bbf24a85995aa6fbf8f746f4e03"
|
||||||
@ -1313,7 +1294,7 @@ def get_manifest(is_windows):
|
|||||||
exe_path = "fd.exe"
|
exe_path = "fd.exe"
|
||||||
add_to_devenv_script = [
|
add_to_devenv_script = [
|
||||||
"set FZF_DEFAULT_OPTS=--multi --layout=reverse",
|
"set FZF_DEFAULT_OPTS=--multi --layout=reverse",
|
||||||
f"set FZF_DEFAULT_COMMAND={fd_args}"
|
"set FZF_DEFAULT_COMMAND=fd --type f --strip-cwd-prefix --hidden --follow --exclude .git --exclude .cache --exclude .vs",
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
download_url = f"https://github.com/sharkdp/fd/releases/download/v{version}/fd-v{version}-x86_64-unknown-linux-musl.tar.gz"
|
download_url = f"https://github.com/sharkdp/fd/releases/download/v{version}/fd-v{version}-x86_64-unknown-linux-musl.tar.gz"
|
||||||
@ -1322,9 +1303,10 @@ def get_manifest(is_windows):
|
|||||||
exe_path = "fd"
|
exe_path = "fd"
|
||||||
add_to_devenv_script = [
|
add_to_devenv_script = [
|
||||||
"FZF_DEFAULT_OPTS=\"--multi --layout=reverse\"",
|
"FZF_DEFAULT_OPTS=\"--multi --layout=reverse\"",
|
||||||
f"FZF_DEFAULT_COMMAND=\"{fd_args}\""
|
"FZF_DEFAULT_COMMAND=\"fd --type f --strip-cwd-prefix --hidden --follow --exclude .git --exclude .cache --exclude .vs\"",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
result.append({
|
result.append({
|
||||||
"label": "Fd",
|
"label": "Fd",
|
||||||
"manifests": [
|
"manifests": [
|
||||||
|
Loading…
Reference in New Issue
Block a user