Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
syntax_j
mycard
Commits
5fae90a3
Commit
5fae90a3
authored
Jan 03, 2017
by
wudizhanche1000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
链接复数
parent
22c2eb51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
app/app.ts
app/app.ts
+5
-5
No files found.
app/app.ts
View file @
5fae90a3
...
...
@@ -60,9 +60,9 @@ export class App {
static
downloadUrl
(
app
:
App
,
platform
:
string
,
locale
:
string
):
string
{
if
(
app
.
id
===
"
ygopro
"
)
{
return
`https://thief.mycard.moe/metalink
/
${
app
.
id
}
-
${
process
.
platform
}
/
${
app
.
version
}
`
return
`https://thief.mycard.moe/metalink
s/
${
app
.
id
}
-
${
process
.
platform
}
-
${
locale
}
/
${
app
.
version
}
`
}
else
if
(
app
.
id
===
"
desmume
"
)
{
return
`https://thief.mycard.moe/metalink
/
${
app
.
id
}
-
${
process
.
platform
}
-
${
locale
}
/
${
app
.
version
}
`
return
`https://thief.mycard.moe/metalink
s/
${
app
.
id
}
-
${
process
.
platform
}
/
${
app
.
version
}
`
}
return
`https://thief.mycard.moe/metalinks/
${
app
.
id
}
/
${
app
.
version
}
`
;
}
...
...
@@ -70,11 +70,11 @@ export class App {
static
checksumUrl
(
app
:
App
,
platform
:
string
,
locale
:
string
):
string
{
if
(
app
.
id
===
"
ygopro
"
)
{
return
`https://thief.mycard.moe/checksum/
${
app
.
id
}
-
${
platform
}
-
${
locale
}
/
${
app
.
version
}
`
return
`https://thief.mycard.moe/checksum
s
/
${
app
.
id
}
-
${
platform
}
-
${
locale
}
/
${
app
.
version
}
`
}
else
if
(
app
.
id
===
"
desmume
"
)
{
return
`https://thief.mycard.moe/checksum/
${
app
.
id
}
-
${
platform
}
/
${
app
.
version
}
`
return
`https://thief.mycard.moe/checksum
s
/
${
app
.
id
}
-
${
platform
}
/
${
app
.
version
}
`
}
return
`https://thief.mycard.moe/checksum/
${
app
.
id
}
/
${
app
.
version
}
`
return
`https://thief.mycard.moe/checksum
s
/
${
app
.
id
}
/
${
app
.
version
}
`
}
static
updateUrl
(
app
:
App
,
platform
:
string
,
locale
:
string
):
string
{
...
...
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