mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
@@ -5,7 +5,7 @@ if command -v "cygpath" > /dev/null; then
|
||||
ATOMCMD=$(cygpath "$(dirname "$0")/atom.cmd" -a -w)
|
||||
else
|
||||
pushd "$(dirname "$0")" > /dev/null
|
||||
if [[ $(uname -r) == *-Microsoft ]]; then
|
||||
if [[ $(uname -r) =~ (M|m)icrosoft ]]; then
|
||||
# We are in Windows Subsystem for Linux, map /mnt/drive
|
||||
root="/mnt/"
|
||||
# If different root mount point defined in /etc/wsl.conf, use that instead
|
||||
|
||||
Reference in New Issue
Block a user