add License
This commit is contained in:
parent
249b7fd73f
commit
5345c66abe
2 changed files with 18 additions and 2 deletions
|
@ -45,7 +45,6 @@ class ServerPool(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
shell.check_python()
|
shell.check_python()
|
||||||
self.config = shell.get_config(False)
|
self.config = shell.get_config(False)
|
||||||
shell.print_shadowsocks()
|
|
||||||
self.dns_resolver = asyncdns.DNSResolver()
|
self.dns_resolver = asyncdns.DNSResolver()
|
||||||
if not self.config.get('dns_ipv6', False):
|
if not self.config.get('dns_ipv6', False):
|
||||||
asyncdns.IPV6_CONNECTION_SUPPORT = False
|
asyncdns.IPV6_CONNECTION_SUPPORT = False
|
||||||
|
|
|
@ -1,3 +1,20 @@
|
||||||
def version()
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Copyright 2016 breakwa11
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
|
||||||
|
def version():
|
||||||
return '2.9.4 update 2016-10-11'
|
return '2.9.4 update 2016-10-11'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue