Sha256: de78831145368dfae93768849557f5ecce6f3326403c1023cac3cc0876f7cc7e
Contents?: true
Size: 459 Bytes
Versions: 12
Compression:
Stored size: 459 Bytes
Contents
#!/usr/bin/env ruby lib = File.expand_path(File.dirname(__FILE__) + '/../lib') $LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib) require 'shadowsocks' require 'shadowsocks/cli' require 'shadowsocks/config' begin config = Shadowsocks::Config.new ARGV cli = Shadowsocks::Cli.new({side: :local, config: config}) cli.run rescue => e raise e if $DEBUG STDERR.puts e.message STDERR.puts e.backtrace.join("\n") exit 1 end
Version data entries
12 entries across 12 versions & 1 rubygems