mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
Meta: Automatically use WSL paths on Windows
This commit is contained in:
parent
9026dbbfd6
commit
ee7e9f05a8
2 changed files with 7 additions and 7 deletions
|
@ -57,6 +57,13 @@ fi
|
|||
else
|
||||
SERENITY_DISK_IMAGE="_disk_image"
|
||||
fi
|
||||
if command -v wslpath >/dev/null; then
|
||||
case "$SERENITY_QEMU_BIN" in
|
||||
/mnt/c/*)
|
||||
SERENITY_DISK_IMAGE=$(wslpath -w "$SERENITY_DISK_IMAGE")
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
||||
if ! command -v "$SERENITY_QEMU_BIN" >/dev/null 2>&1 ; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue