mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:02:35 +08:00
22 lines
375 B
Bash
22 lines
375 B
Bash
#!/bin/sh
|
|
|
|
while getopts ":fhtvw-:" opt; do
|
|
case "$opt" in
|
|
-)
|
|
case "${OPTARG}" in
|
|
foreground|help|test|version|wait)
|
|
EXPECT_OUTPUT=1
|
|
;;
|
|
esac
|
|
;;
|
|
f|h|t|v|w)
|
|
EXPECT_OUTPUT=1
|
|
;;
|
|
esac
|
|
done
|
|
|
|
if [ $EXPECT_OUTPUT ]; then
|
|
"$0/../../../nylas.exe" "$@"
|
|
else
|
|
"$0/../../app/apm/bin/node.exe" "$0/../atom.js" "$@"
|
|
fi
|