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
f401a953
Commit
f401a953
authored
Sep 07, 2016
by
h3remi7
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chage app struct
parent
1d10647c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
18 deletions
+61
-18
app/app.ts
app/app.ts
+12
-5
apps.json
apps.json
+49
-13
No files found.
app/app.ts
View file @
f401a953
import
{
AppLocal
}
from
"
./app-local
"
;
import
{
AppLocal
}
from
"
./app-local
"
;
enum
Reference_Type
{
/*
export enum Reference_Type {
runtime, // directx
runtime, // directx
emulator, // wine, np2
emulator, // wine, np2
dependency, //
dependency, //
optional, // fxtz
optional, // fxtz
language
language
}
}
*/
enum
App_Category
{
/*
export enum App_Category {
game,
game,
music,
music,
book,
book,
runtime, // directx
emulator, // wine, np2
language
}
}
*/
export
class
App
{
export
class
App
{
id
:
string
;
id
:
string
;
...
@@ -21,7 +28,7 @@ export class App {
...
@@ -21,7 +28,7 @@ export class App {
homepage
:
string
;
homepage
:
string
;
category
:
string
;
category
:
string
;
actions
:
{[
platform
:
string
]:
{[
action
:
string
]:
{
execute
:
string
,
args
:
string
[],
env
:
{},
open
:
string
}}};
actions
:
{[
platform
:
string
]:
{[
action
:
string
]:
{
execute
:
string
,
args
:
string
[],
env
:
{},
open
:
string
}}};
references
:
{
id
:
string
,
type
:
Reference_Type
}[]
;
references
:
{
[
platform
:
string
]:
{
id
:
string
,
type
:
string
}[]}
;
locales
:
string
[];
locales
:
string
[];
download
:
string
;
// meta4 url
download
:
string
;
// meta4 url
news
:
{
title
:
string
,
url
:
string
,
image
:
string
}[];
news
:
{
title
:
string
,
url
:
string
,
image
:
string
}[];
...
@@ -34,7 +41,7 @@ export class App {
...
@@ -34,7 +41,7 @@ export class App {
this
.
description
=
app
.
description
;
this
.
description
=
app
.
description
;
this
.
author
=
app
.
author
;
this
.
author
=
app
.
author
;
this
.
homepage
=
app
.
homepage
;
this
.
homepage
=
app
.
homepage
;
this
.
category
=
app
.
category
;
this
.
category
=
app
.
category
;
this
.
actions
=
app
.
actions
;
this
.
actions
=
app
.
actions
;
this
.
references
=
app
.
references
;
this
.
references
=
app
.
references
;
this
.
locales
=
app
.
locales
;
this
.
locales
=
app
.
locales
;
...
...
apps.json
View file @
f401a953
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
},
},
"author"
:
"ZUN"
,
"author"
:
"ZUN"
,
"homepage"
:
"http://www.myacg.cc"
,
"homepage"
:
"http://www.myacg.cc"
,
"category"
:
"
ACT
"
,
"category"
:
"
game
"
,
"actions"
:
{
"actions"
:
{
"darwin"
:
{
"darwin"
:
{
"main"
:
{
"main"
:
{
...
@@ -28,12 +28,17 @@
...
@@ -28,12 +28,17 @@
"locales"
:
[
"zh-CN"
],
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"download"
:
""
,
"news"
:
[{
"news"
:
[{
"title"
:
"title"
,
"title"
:
"News Title"
,
"url"
:
""
,
"url"
:
"#"
,
"image"
:
""
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
},
{
"title"
:
"News Title"
,
"url"
:
"#"
,
"image"
:
"http://www.myacg.cc/wp-content/uploads/2000/01/newBanner51.jpg"
}
}
],
],
"tags"
:
[
"
ACT
"
],
"tags"
:
[
"
game
"
],
"local"
:
{
"local"
:
{
"path"
:
""
,
"path"
:
""
,
"version"
:
""
"version"
:
""
...
@@ -50,7 +55,43 @@
...
@@ -50,7 +55,43 @@
},
},
"author"
:
"ZUN"
,
"author"
:
"ZUN"
,
"homepage"
:
"http://www.myacg.cc"
,
"homepage"
:
"http://www.myacg.cc"
,
"category"
:
"ACT"
,
"category"
:
"game"
,
"actions"
:
{
"darwin"
:
{
"main"
:
{
"execute"
:
""
,
"args"
:
[],
"env"
:
""
,
"open"
:
""
}
}
},
"references"
:
{
"id"
:
"th12_mod1"
,
"type"
:
"language"
},
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"news"
:
[],
"tags"
:
[
"STG"
],
"local"
:
{
"path"
:
"/foo/bar"
,
"version"
:
"10.3"
}
},
{
"id"
:
"th12_mod1"
,
"name"
:
{
"zh-CN"
:
"th12_mod1"
},
"description"
:
{
"zh-CN"
:
"th12 desc"
},
"author"
:
"ZUN"
,
"homepage"
:
"http://www.myacg.cc"
,
"category"
:
"language"
,
"actions"
:
{
"actions"
:
{
"darwin"
:
{
"darwin"
:
{
"main"
:
{
"main"
:
{
...
@@ -67,13 +108,8 @@
...
@@ -67,13 +108,8 @@
},
},
"locales"
:
[
"zh-CN"
],
"locales"
:
[
"zh-CN"
],
"download"
:
""
,
"download"
:
""
,
"news"
:
[{
"news"
:
[],
"title"
:
"title"
,
"tags"
:
[
"STG"
],
"url"
:
""
,
"image"
:
""
}
],
"tags"
:
[
"ACT"
],
"local"
:
{
"local"
:
{
"path"
:
"/foo/bar"
,
"path"
:
"/foo/bar"
,
"version"
:
"10.3"
"version"
:
"10.3"
...
...
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