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
74fd12cf
Commit
74fd12cf
authored
Dec 09, 2016
by
wudizhanche1000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新和校验完整性
parent
e3443dfb
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
128 additions
and
108 deletions
+128
-108
app/app-detail.component.ts
app/app-detail.component.ts
+12
-2
app/apps.service.ts
app/apps.service.ts
+116
-106
No files found.
app/app-detail.component.ts
View file @
74fd12cf
...
...
@@ -145,8 +145,18 @@ export class AppDetailComponent implements OnInit {
this
.
appsService
.
runApp
(
app
,
'
custom
'
);
}
verifyFiles
(
app
:
App
)
{
this
.
appsService
.
verifyFiles
(
app
);
async
verifyFiles
(
app
:
App
)
{
try
{
await
this
.
appsService
.
update
(
app
,
true
);
let
installedMods
=
this
.
appsService
.
findChildren
(
app
).
filter
((
child
)
=>
{
return
child
.
parent
===
app
&&
child
.
isInstalled
()
&&
child
.
isReady
();
});
for
(
let
mod
of
installedMods
)
{
await
this
.
appsService
.
update
(
mod
,
true
);
}
}
catch
(
e
)
{
console
.
log
(
e
);
}
}
copy
(
text
:
string
)
{
...
...
app/apps.service.ts
View file @
74fd12cf
This diff is collapsed.
Click to expand it.
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