Commit 3b65f412 authored by wudizhanche1000's avatar wudizhanche1000

ygopro问题

parent db45d968
......@@ -75,8 +75,7 @@ export class YGOProComponent implements OnInit {
app: App;
decks: string[] = [];
current_deck: string;
system_conf = path.join(this.app.local.path, 'system.conf');
system_conf;
numfont = {'darwin': ['/System/Library/Fonts/PingFang.ttc']};
textfont = {'darwin': ['/System/Library/Fonts/PingFang.ttc']};
......@@ -108,10 +107,12 @@ export class YGOProComponent implements OnInit {
connections: WebSocket[] = [];
constructor(private http: Http, private appsService: AppsService, private loginService: LoginService, private ref: ChangeDetectorRef) {
this.refresh();
}
ngOnInit() {
this.system_conf = path.join(this.app.local.path, 'system.conf');
this.refresh();
let modal = $('#game-list-modal');
modal.on('show.bs.modal', (event) => {
......
......@@ -2016,7 +2016,7 @@
"actions": {
"win32": {
"main": {
"execute": "ygopro_vs.exe",
"execute": "ygopro.exe",
"args": [],
"env": {}
}
......
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