mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-06 03:05:25 +00:00
fix: use memos.commands for bat
This commit is contained in:
parent
4b0e469661
commit
8c557bbd60
@ -915,14 +915,14 @@ def generate_windows_bat():
|
||||
activate_path = os.path.join(conda_prefix, "Scripts", "activate.bat")
|
||||
content = f"""@echo off
|
||||
call "{activate_path}"
|
||||
start "" "{python_path}" -m memos record
|
||||
start "" "{python_path}" -m memos serve
|
||||
start "" "{python_path}" -m memos.commands record
|
||||
start "" "{python_path}" -m memos.commands serve
|
||||
"""
|
||||
else:
|
||||
# If we're not in a Conda environment, use the original content
|
||||
content = f"""@echo off
|
||||
start "" "{python_path}" -m memos record
|
||||
start "" "{python_path}" -m memos serve
|
||||
start "" "{python_path}" -m memos.commands record
|
||||
start "" "{python_path}" -m memos.commands serve
|
||||
"""
|
||||
|
||||
bat_path = memos_dir / "launch.bat"
|
||||
|
Loading…
x
Reference in New Issue
Block a user