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

Version Path
shadowsocks-0.12 bin/ss-local
shadowsocks-0.11 bin/ss-local
shadowsocks-0.10 bin/ss-local
shadowsocks-0.9 bin/ss-local
shadowsocks-0.8 bin/ss-local
shadowsocks-0.7 bin/ss-local
shadowsocks-0.6 bin/ss-local
shadowsocks-0.5 bin/ss-local
shadowsocks-0.4 bin/ss-local
shadowsocks-0.3 bin/ss-local
shadowsocks-0.2 bin/ss-local
shadowsocks-0.1 bin/ss-local