Skip to content

Commit

Permalink
update install files for mac OS
Browse files Browse the repository at this point in the history
Avoid warnings due to Mac binary files in package with gzip workaround,
and update guide for new installer filename.
  • Loading branch information
ressy committed Mar 26, 2018
1 parent a2719a1 commit 8458801
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ environment.yml
install_linux_conda.sh
install_linux.sh
install_windows.cmd
install_mac.sh
install_mac.command
README.md
GUIDE.Rmd
GUIDE.pdf
Expand Down
4 changes: 2 additions & 2 deletions GUIDE.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ package along with R dependencies. An icon for the program is created at

### Mac OS

On Mac OS, run the `install_mac.sh` shell script to automatically install the
package along with R dependencies. An icon for the program is created at
On Mac OS, run the `install_mac.command` shell script to automatically install
the package along with R dependencies. An icon for the program is created at
`$HOME/Desktop/CHIIMP`.

## Input Data Organization
Expand Down
Binary file removed inst/bin/chiimp.app/Contents/MacOS/droplet
Binary file not shown.
Binary file added inst/bin/chiimp.app/Contents/MacOS/droplet.gz
Binary file not shown.
1 change: 1 addition & 0 deletions install_mac.command
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ if [ -d "$HOME/Desktop" ]; then
echo "### Creating Desktop Symbolic Link"
echo
chiimp_path=$("$rexe" --slave -e "cat(system.file('bin','chiimp.app',package='chiimp'))")
gunzip "$chiimp_path/Contents/MacOS/droplet.gz"
ln -s "$chiimp_path" $HOME/Desktop/CHIIMP
fi

0 comments on commit 8458801

Please sign in to comment.