Commit 3b65f412 authored by wudizhanche1000's avatar wudizhanche1000

ygopro问题

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