Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
9f906008
Commit
9f906008
authored
Apr 01, 2018
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump version
parent
8e65f495
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
core/src/main/jni/shadowsocks-libev
core/src/main/jni/shadowsocks-libev
+1
-1
mobile/build.gradle
mobile/build.gradle
+2
-2
mobile/src/main/java/com/github/shadowsocks/bg/BaseService.kt
...le/src/main/java/com/github/shadowsocks/bg/BaseService.kt
+3
-0
mobile/src/main/java/com/github/shadowsocks/bg/VpnService.kt
mobile/src/main/java/com/github/shadowsocks/bg/VpnService.kt
+0
-2
No files found.
shadowsocks-libev
@
3e7c8529
Subproject commit
7e414bb993c8e6dcc6f0c55cad3e00471910a2f7
Subproject commit
3e7c852970ec050794becdaef04382d6e63c15b2
mobile/build.gradle
View file @
9f906008
...
...
@@ -21,8 +21,8 @@ android {
applicationId
"com.github.shadowsocks"
minSdkVersion
rootProject
.
minSdkVersion
targetSdkVersion
rootProject
.
sdkVersion
versionCode
4050
3
00
versionName
"4.5.
3
"
versionCode
4050
4
00
versionName
"4.5.
4
"
testApplicationId
"com.github.shadowsocks.test"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
resConfigs
"fa"
,
"fr"
,
"ja"
,
"ko"
,
"ru"
,
"zh-rCN"
,
"zh-rTW"
...
...
mobile/src/main/java/com/github/shadowsocks/bg/BaseService.kt
View file @
9f906008
...
...
@@ -255,6 +255,7 @@ object BaseService {
fun
startNativeProcesses
()
{
val
data
=
data
val
profile
=
data
.
profile
!!
val
cmd
=
buildAdditionalArguments
(
arrayListOf
(
File
((
this
as
Context
).
applicationInfo
.
nativeLibraryDir
,
Executable
.
SS_LOCAL
).
absolutePath
,
"-u"
,
...
...
@@ -269,6 +270,8 @@ object BaseService {
cmd
+=
acl
.
absolutePath
}
if
(
profile
.
udpdns
)
cmd
+=
"-D"
if
(
TcpFastOpen
.
sendEnabled
)
cmd
+=
"--fast-open"
data
.
sslocalProcess
=
GuardedProcess
(
cmd
).
start
()
...
...
mobile/src/main/java/com/github/shadowsocks/bg/VpnService.kt
View file @
9f906008
...
...
@@ -183,9 +183,7 @@ class VpnService : BaseVpnService(), LocalDnsService.Interface {
}
override
fun
buildAdditionalArguments
(
cmd
:
ArrayList
<
String
>):
ArrayList
<
String
>
{
val
profile
=
data
.
profile
!!
cmd
+=
"-V"
if
(
profile
.
udpdns
)
cmd
+=
"-D"
return
cmd
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment