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
fb285a32
Commit
fb285a32
authored
Nov 09, 2016
by
wudizhanche1000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
https
parent
3b65f412
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
app/download.service.ts
app/download.service.ts
+1
-1
app/install.service.ts
app/install.service.ts
+1
-1
app/lobby.component.ts
app/lobby.component.ts
+2
-2
apps.json
apps.json
+1
-1
No files found.
app/download.service.ts
View file @
fb285a32
...
...
@@ -13,7 +13,7 @@ const Aria2 = require('aria2');
@
Injectable
()
export
class
DownloadService
{
aria2
=
new
Aria2
();
baseURL
=
'
http://thief.mycard.moe/metalinks/
'
;
baseURL
=
'
http
s
://thief.mycard.moe/metalinks/
'
;
appGidMap
=
new
Map
<
App
,
string
>
();
gidAppMap
=
new
Map
<
string
,
App
>
();
eventEmitter
=
new
EventEmitter
();
...
...
app/install.service.ts
View file @
fb285a32
...
...
@@ -24,7 +24,7 @@ export class InstallService {
installingQueue
:
Set
<
App
>
=
new
Set
();
checksumUri
=
"
http://thief.mycard.moe/checksums/
"
;
checksumUri
=
"
http
s
://thief.mycard.moe/checksums/
"
;
constructor
(
private
http
:
Http
,
private
appsService
:
AppsService
)
{
if
(
process
.
platform
===
"
win32
"
)
{
...
...
app/lobby.component.ts
View file @
fb285a32
...
...
@@ -38,8 +38,8 @@ export class LobbyComponent implements OnInit {
}
async
updateApp
()
{
let
updateServer
=
"
http://thief.mycard.moe/update/metalinks/
"
;
let
checksumServer
=
"
http://thief.mycard.moe/checksums/
"
;
let
updateServer
=
"
http
s
://thief.mycard.moe/update/metalinks/
"
;
let
checksumServer
=
"
http
s
://thief.mycard.moe/checksums/
"
;
for
(
let
app
of
this
.
apps
.
values
())
{
if
(
app
.
isInstalled
()
&&
app
.
version
!=
app
.
local
.
version
)
{
let
checksumMap
=
await
this
.
installService
.
getChecksumFile
(
app
);
...
...
apps.json
View file @
fb285a32
...
...
@@ -57,7 +57,7 @@
"servers"
:
[
{
"id"
:
"wudizhanche"
,
"url"
:
"ws://wudizhanche.mycard.moe:10800"
"url"
:
"ws
s
://wudizhanche.mycard.moe:10800"
}
]
},
...
...
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