Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
91337218
Commit
91337218
authored
Dec 19, 2017
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update snet configs
parent
afff3c0a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
build.gradle
build.gradle
+1
-1
AndroidManifest.xml
src/main/AndroidManifest.xml
+1
-1
Const.java
src/main/java/com/topjohnwu/magisk/utils/Const.java
+2
-2
No files found.
build.gradle
View file @
91337218
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android
{
compileSdkVersion
27
buildToolsVersion
"27.0.
1
"
buildToolsVersion
"27.0.
2
"
defaultConfig
{
applicationId
"com.topjohnwu.magisk"
...
...
src/main/AndroidManifest.xml
View file @
91337218
...
...
@@ -90,7 +90,7 @@
<!-- Hardcode GMS version -->
<meta-data
android:name=
"com.google.android.gms.version"
android:value=
"
11717
000"
/>
android:value=
"
7095
000"
/>
</application>
...
...
src/main/java/com/topjohnwu/magisk/utils/Const.java
View file @
91337218
...
...
@@ -82,7 +82,7 @@ public class Const {
public
static
class
Url
{
public
static
final
String
STABLE_URL
=
"https://raw.githubusercontent.com/topjohnwu/MagiskManager/update/stable.json"
;
public
static
final
String
BETA_URL
=
"https://raw.githubusercontent.com/topjohnwu/MagiskManager/update/beta.json"
;
public
static
final
String
SNET_URL
=
"https://github.com/topjohnwu/MagiskManager/raw/
43745edac091dd8b5ba5f6076006677d1d6c5899
/snet.apk"
;
public
static
final
String
SNET_URL
=
"https://github.com/topjohnwu/MagiskManager/raw/
afff3c0a49cec8d797e486be3092e256b4bf5375
/snet.apk"
;
public
static
final
String
REPO_URL
=
"https://api.github.com/users/Magisk-Modules-Repo/repos?per_page=100&page=%d"
;
public
static
final
String
FILE_URL
=
"https://raw.githubusercontent.com/Magisk-Modules-Repo/%s/master/%s"
;
public
static
final
String
ZIP_URL
=
"https://github.com/Magisk-Modules-Repo/%s/archive/master.zip"
;
...
...
@@ -160,7 +160,7 @@ public class Const {
public
static
final
String
FLASH_MAGISK
=
"magisk"
;
public
static
final
int
[]
timeoutList
=
{
0
,
-
1
,
10
,
20
,
30
,
60
};
public
static
final
int
UPDATE_SERVICE_VER
=
1
;
public
static
final
int
SNET_VER
=
5
;
public
static
final
int
SNET_VER
=
6
;
public
static
final
int
MIN_MODULE_VER
=
1400
;
}
}
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