#!/bin/sh

#  install_helper.sh
#  shadowsocks
#
#  Created by clowwindy on 14-3-15.

cd `dirname "${BASH_SOURCE[0]}"`
sudo mkdir -p "/Library/Application Support/ShadowsocksX-NG/"
sudo cp proxy_conf_helper "/Library/Application Support/ShadowsocksX-NG/"
sudo chown root:admin "/Library/Application Support/ShadowsocksX-NG/proxy_conf_helper"
sudo chmod a+rx "/Library/Application Support/ShadowsocksX-NG/proxy_conf_helper"
sudo chmod +s "/Library/Application Support/ShadowsocksX-NG/proxy_conf_helper"

echo done
