Skip to content

Commit 11e751a

Browse files
committed
Fix pandoc recipie for windows.
1 parent 528fea0 commit 11e751a

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

cachebin/cachebin.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ def call(self, command: str, *args: str) -> str:
157157
raise RuntimeError(f"Command failed with error: {stderr.decode('utf-8')}")
158158
return stdout.decode("utf-8")
159159

160+
# TODO: def clear_cache(self) -> None:
161+
160162

161163
class BinaryManager:
162164
def __init__(
@@ -205,3 +207,5 @@ def get_version(self, version: str) -> BinaryVersion:
205207
if version not in self._versions:
206208
self._versions[version] = BinaryVersion(version, self)
207209
return self._versions[version]
210+
211+
# TODO: def clear_cache(self) -> None:

cachebin/recipies.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def process_map(map: dict[str, str], key_description: str, key: str) -> str:
2323
f"{system}-{architecture}",
2424
),
2525
get_archive_extension=lambda system: "tar.gz" if system == "linux" else "zip",
26+
get_extracted_bin_path=lambda system, architecture: "" if system == "windows" else "bin",
2627
)
2728

2829
tinytex_manager = BinaryManager(

0 commit comments

Comments
 (0)