OSX: Make git-annex-webapp run in the background, so that the app icon can be clicked on the open a new webapp when the assistant is already running.

This commit is contained in:
Joey Hess 2013-07-30 15:04:31 -04:00
parent 66b470c03d
commit f55dc1b64f
3 changed files with 9 additions and 1 deletions

3
debian/changelog vendored
View file

@ -22,6 +22,9 @@ git-annex (4.20130724) UNRELEASED; urgency=low
at once in indirect mode.
* assistant: Fix bug that caused it to stall when adding a very large
number of files at once (around 5 thousand).
* OSX: Make git-annex-webapp run in the background, so that the app icon
can be clicked on the open a new webapp when the assistant is already
running.
-- Joey Hess <joeyh@debian.org> Tue, 23 Jul 2013 12:39:48 -0400

View file

@ -25,3 +25,7 @@ From .git/annex/daemon.log:
(scanning...) [2013-07-28 00:01:08 CDT] Watcher: Performing startup scan
(started...)
"""]]
> [[done]]; I added the `&` to git-annex-shell.
> Hopefully that does not cause any other unwanted behavior..
> --[[Joey]]

View file

@ -22,4 +22,5 @@ if [ -e "$base/git-annex" ]; then
export GIT_ANNEX_APP_BASE
fi
exec "$base/runshell" git-annex webapp "$@"
# OSX wants this to run in the background.
exec "$base/runshell" git-annex webapp "$@" &