mirror of
https://github.com/atom/atom.git
synced 2026-02-03 11:14:59 -05:00
10 lines
236 B
Bash
10 lines
236 B
Bash
#!/bin/sh
|
|
if command -v "cygpath" > /dev/null; then
|
|
ATOMCMD=""$(cygpath "$(dirname "$0")" -a -w)\\atom.cmd""
|
|
else
|
|
pushd "$(dirname "$0")" > /dev/null
|
|
ATOMCMD=""$(pwd -W)/atom.cmd""
|
|
popd > /dev/null
|
|
fi
|
|
cmd.exe /C "$ATOMCMD" "$@"
|