diff options
author | CountStarlight | 2017-12-19 17:19:24 +0800 |
---|---|---|
committer | CountStarlight | 2017-12-19 17:19:24 +0800 |
commit | 8333ad8d6944f3593b910d5dddb974a94f4f782a (patch) | |
tree | ccc42f7c5f3a0d71adf3231a60ae1784e33effaf /run.sh | |
parent | b0f56840ee0ad3a962a29b01f92b06f35912c921 (diff) | |
download | aur-8333ad8d6944f3593b910d5dddb974a94f4f782a.tar.gz |
Update run.sh and remove useless scripts.
Signed-off-by: CountStarlight <countstarlight@gmail.com>
Diffstat (limited to 'run.sh')
-rwxr-xr-x[-rw-r--r--] | run.sh | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -81,6 +81,15 @@ RunApp() CallApp } +CreateBottle() +{ + if [ -d "$WINEPREFIX" ]; then + UpdateApp + else + DeployApp + fi +} + if [ -z $1 ]; then RunApp exit 0 @@ -89,9 +98,15 @@ case $1 in "-r" | "--reset") ResetApp ;; + "-c" | "--create") + CreateBottle + ;; "-e" | "--remove") RemoveApp ;; + "-u" | "--uri") + RunApp $2 + ;; "-h" | "--help") HelpApp ;; |