mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-06 19:25:24 +00:00
feat(enable): change wait time in enable cmd
This commit is contained in:
parent
f00695a941
commit
230a593235
@ -311,7 +311,7 @@ def generate_windows_bat():
|
|||||||
call "{activate_path}"
|
call "{activate_path}"
|
||||||
start /B "" "{pythonw_path}" -m memos.commands record > "{log_dir / 'record.log'}" 2>&1
|
start /B "" "{pythonw_path}" -m memos.commands record > "{log_dir / 'record.log'}" 2>&1
|
||||||
start /B "" "{pythonw_path}" -m memos.commands serve > "{log_dir / 'serve.log'}" 2>&1
|
start /B "" "{pythonw_path}" -m memos.commands serve > "{log_dir / 'serve.log'}" 2>&1
|
||||||
timeout /t 5 /nobreak >nul
|
timeout /t 15 /nobreak >nul
|
||||||
start /B "" "{pythonw_path}" -m memos.commands watch > "{log_dir / 'watch.log'}" 2>&1
|
start /B "" "{pythonw_path}" -m memos.commands watch > "{log_dir / 'watch.log'}" 2>&1
|
||||||
"""
|
"""
|
||||||
else:
|
else:
|
||||||
@ -319,7 +319,7 @@ start /B "" "{pythonw_path}" -m memos.commands watch > "{log_dir / 'watch.log'}"
|
|||||||
content = f"""@echo off
|
content = f"""@echo off
|
||||||
start /B "" "{pythonw_path}" -m memos.commands record > "{log_dir / 'record.log'}" 2>&1
|
start /B "" "{pythonw_path}" -m memos.commands record > "{log_dir / 'record.log'}" 2>&1
|
||||||
start /B "" "{pythonw_path}" -m memos.commands serve > "{log_dir / 'serve.log'}" 2>&1
|
start /B "" "{pythonw_path}" -m memos.commands serve > "{log_dir / 'serve.log'}" 2>&1
|
||||||
timeout /t 10 /nobreak >nul
|
timeout /t 15 /nobreak >nul
|
||||||
start /B "" "{pythonw_path}" -m memos.commands watch > "{log_dir / 'watch.log'}" 2>&1
|
start /B "" "{pythonw_path}" -m memos.commands watch > "{log_dir / 'watch.log'}" 2>&1
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@ -344,8 +344,8 @@ fi
|
|||||||
# run memos serve
|
# run memos serve
|
||||||
{python_path} -m memos.commands serve &
|
{python_path} -m memos.commands serve &
|
||||||
|
|
||||||
# wait for 5 seconds before starting memos watch
|
# wait for 15 seconds before starting memos watch
|
||||||
sleep 5
|
sleep 15
|
||||||
|
|
||||||
# run memos watch
|
# run memos watch
|
||||||
{python_path} -m memos.commands watch &
|
{python_path} -m memos.commands watch &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user