Create system-info cache directory in WSL

This commit is contained in:
Kenneth Benzie 2022-05-22 10:32:33 +01:00
parent fd76c97c85
commit fcb2b02eac

View File

@ -3,6 +3,11 @@
cache_dir=~/.cache/tmux cache_dir=~/.cache/tmux
cache_file=$cache_dir/system-info cache_file=$cache_dir/system-info
# Make sure the output directory exists.
if [ ! -d $cache_dir ]; then
mkdir -p $cache_dir
fi
while true; do while true; do
# Assumes OpenHardwareMonitor is has the Remote Web Server enabled on port # Assumes OpenHardwareMonitor is has the Remote Web Server enabled on port
# 8085 of the Windows host. In WSL2 the Windows host IP is accessible using # 8085 of the Windows host. In WSL2 the Windows host IP is accessible using