From 97f0276f33b3aa55d1505fdf27627fc021ef829c Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Wed, 3 May 2017 11:10:41 -0400
Subject: [PATCH] use "unzip" for osx as well as windows nw.js binaries

---
 l2ork_addons/tar_em_up.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh
index 55dd0f5bd..8bc785ccd 100755
--- a/l2ork_addons/tar_em_up.sh
+++ b/l2ork_addons/tar_em_up.sh
@@ -143,7 +143,7 @@ if [ ! -d "../pd/nw/nw" ]; then
 	echo "Fetching the nwjs binary from"
 	echo "$nwjs_url"
 	wget -nv $nwjs_url
-	if [[ $os == "win" ]]; then
+	if [[ $os == "win" || $os == "osx" ]]; then
 		unzip $nwjs_filename
 	else
 		tar -xf $nwjs_filename
-- 
GitLab