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
75135a86
Commit
75135a86
authored
Jun 06, 2017
by
2breakegg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联机button
parent
15cd6e2a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
README.md
README.md
+1
-0
app/app-detail.component.html
app/app-detail.component.html
+1
-0
app/app-detail.component.ts
app/app-detail.component.ts
+2
-2
No files found.
README.md
View file @
75135a86
...
...
@@ -20,6 +20,7 @@ mv aria2-1.29.0-win-32bit-build1/aria2c.exe bin
rm
-rf
aria2-1.29.0-win-32bit-build1 aria2-1.29.0-win-32bit-build1.zip
curl
-L
'http://downloads.sourceforge.net/project/msys2/REPOS/MSYS2/i686/bsdtar-3.2.1-1-i686.pkg.tar.xz'
|
tar
--strip-components
=
2
-C
bin
-Jxf
- usr/bin/bsdtar.exe
curl
-L
'http://downloads.sourceforge.net/project/msys2/Base/i686/msys2-base-i686-20161025.tar.xz'
|
tar
--strip-components
=
3
-C
bin
-Jxf
- msys32/usr/bin/msys-2.0.dll msys32/usr/bin/msys-bz2-1.dll msys32/usr/bin/msys-gcc_s-1.dll msys32/usr/bin/msys-iconv-2.dll msys32/usr/bin/msys-lzma-5.dll msys32/usr/bin/msys-lzo2-2.dll msys32/usr/bin/msys-nettle-6.dll msys32/usr/bin/msys-xml2-2.dll msys32/usr/bin/msys-z.dll msys32/usr/bin/sha256sum.exe msys32/usr/bin/msys-intl-8.dll
node_modules
\.
bin
\e
lectron-rebuild
```
## Run
...
...
app/app-detail.component.html
View file @
75135a86
...
...
@@ -38,6 +38,7 @@
<div
*ngIf=
"currentApp.isReady() && (currentApp.id != 'ygopro')"
>
<button
*ngIf=
"currentApp.runnable()"
(click)=
"runApp(currentApp)"
[disabled]=
"!appsService.allReady(currentApp)"
type=
"button"
class=
"btn btn-primary btn-sm"
>
<i
class=
"fa fa-play"
aria-hidden=
"true"
></i>
<span
i18n
>
运行
</span></button>
<button
i18n
*ngIf=
"currentApp.actions.get('network')"
[disabled]=
"!appsService.allReady(currentApp)"
(click)=
"runApp(currentApp,'network')"
type=
"button"
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-play"
aria-hidden=
"true"
></i>
<span
i18n
>
运行 (联机版)
</span></button>
<button
i18n
*ngIf=
"currentApp.runnable() && currentApp.actions.get('custom')"
[disabled]=
"!appsService.allReady(currentApp)"
(click)=
"custom(currentApp)"
type=
"button"
class=
"btn btn-secondary btn-sm"
>
设置
</button>
<div
id=
"network"
*ngIf=
"currentApp.network && currentApp.network.protocol == 'maotama'"
>
<div
class=
"input-group input-group-sm"
>
...
...
app/app-detail.component.ts
View file @
75135a86
...
...
@@ -195,8 +195,8 @@ export class AppDetailComponent implements OnInit, OnChanges {
return
dir
[
0
];
}
runApp
(
app
:
App
)
{
this
.
appsService
.
runApp
(
app
);
runApp
(
app
:
App
,
action_name
:
string
)
{
this
.
appsService
.
runApp
(
app
,
action_name
);
}
custom
(
app
:
App
)
{
...
...
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