Commit b6847c05 authored by 神楽坂玲奈's avatar 神楽坂玲奈

app class

parent 23907a20
## install dependencies # MyCard [![Build Status](https://travis-ci.org/mycard/mycard.svg?branch=v3)](https://travis-ci.org/mycard/mycard) [![Build status](https://ci.appveyor.com/api/projects/status/t4jyh0rkwh0nep7w?svg=true)](https://ci.appveyor.com/project/zh99998/mycard)
## Install Dependencies
```
npm install npm install
```
## build ## Build
codesign -f -s 'Developer ID Application: XIAOCHI CHEN (ZNVDEVDRX3)' --deep /Users/zh99998/Perforce/TH-TDOG/TH-TDOG-Game/TH-TDOG.app ```
mv /Users/zh99998/Perforce/TH-TDOG/TH-TDOG-Game/TH-TDOG.app ./
npm run tsc npm run tsc
npm run dist npm run dist
```
## debug ## Debug
electron . ```
./node_modules/.bin/electron .
```
enum Reference_Type {
runtime, // directx
emulator, // wine, np2
dependency, //
optional, // fxtz
language
}
enum App_Category {
game,
music,
book,
}
export class App {
id: string;
name: Set<string>; // i18n
description: Set<string>; //i18n
author: string; // English Only
homepage: string;
category: string;
actions: Set<Set<{execute: string, args: string[], env: {}, open: string}>>;
references: {id: string, type: Reference_Type}[];
locales: string[];
download: string; // meta4 url
news: {title: string, url: string, image: string}[];
tags: string[]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment