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

Merge branch 'v3' of github.com:mycard/mycard into v3

parents 14834cc8 35158c17
...@@ -13,7 +13,7 @@ const Aria2 = require('aria2'); ...@@ -13,7 +13,7 @@ const Aria2 = require('aria2');
@Injectable() @Injectable()
export class DownloadService { export class DownloadService {
aria2 = new Aria2(); aria2 = new Aria2();
baseURL = 'http://thief.mycard.moe/metalinks/' baseURL = 'https://thief.mycard.moe/metalinks/';
appGidMap = new Map<App,string>(); appGidMap = new Map<App,string>();
gidAppMap = new Map<string,App>(); gidAppMap = new Map<string,App>();
eventEmitter = new EventEmitter(); eventEmitter = new EventEmitter();
...@@ -107,6 +107,9 @@ export class DownloadService { ...@@ -107,6 +107,9 @@ export class DownloadService {
return app; return app;
} else { } else {
let meta4link = `${this.baseURL}${id}.meta4`; let meta4link = `${this.baseURL}${id}.meta4`;
if (id === "ygopro") {
meta4link = `${this.baseURL}${id}-${process.platform}.meta4`
}
let response = await this.http.get(meta4link).toPromise(); let response = await this.http.get(meta4link).toPromise();
let meta4 = btoa(response.text()); let meta4 = btoa(response.text());
let gid = (await this.aria2.addMetalink(meta4, {dir: path}))[0]; let gid = (await this.aria2.addMetalink(meta4, {dir: path}))[0];
......
...@@ -24,41 +24,41 @@ export class InstallService { ...@@ -24,41 +24,41 @@ export class InstallService {
installingQueue: Set<App> = new Set(); installingQueue: Set<App> = new Set();
checksumUri = "http://thief.mycard.moe/checksums/"; checksumUri = "https://thief.mycard.moe/checksums/";
constructor(private http: Http, private appsService: AppsService) { constructor(private http: Http, private appsService: AppsService) {
if (process.platform === "win32") { if (process.platform === "win32") {
this.tarPath = path.join(process.resourcesPath, 'bin/tar.exe'); this.tarPath = path.join(process.resourcesPath, 'bin', 'bsdtar.exe');
} else { } else {
this.tarPath = "tar" this.tarPath = "bsdtar"
} }
} }
createDirectory(dir: string) { createDirectory(dir: string) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject)=> {
mkdirp(dir, resolve); mkdirp(dir, resolve);
}) })
} }
getComplete(app: App): Promise<App> { getComplete(app: App): Promise<App> {
return new Promise((resolve, reject) => { return new Promise((resolve, reject)=> {
this.eventEmitter.once(app.id, (complete) => { this.eventEmitter.once(app.id, (complete)=> {
resolve(); resolve();
}); });
}); });
} }
extract(file: string, destPath: string) { extract(file: string, destPath: string) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject)=> {
let tarProcess = child_process.spawn(this.tarPath, ['xvf', file, '-C', destPath]); let tarProcess = child_process.spawn(this.tarPath, ['xvf', file, '-C', destPath]);
let rl = readline.createInterface({ let rl = readline.createInterface({
input: <ReadableStream>tarProcess.stderr, input: <ReadableStream>tarProcess.stderr,
}); });
rl.on('line', (input) => { rl.on('line', (input)=> {
console.log(input); console.log(input);
}); });
tarProcess.on('exit', (code) => { tarProcess.on('exit', (code)=> {
if (code === 0) { if (code === 0) {
resolve(); resolve();
} else { } else {
...@@ -72,26 +72,26 @@ export class InstallService { ...@@ -72,26 +72,26 @@ export class InstallService {
let action = app.actions.get('install'); let action = app.actions.get('install');
if (action) { if (action) {
let env = Object.assign({}, action.env); let env = Object.assign({}, action.env);
let command: string[] = []; let command:string[] = [];
command.push(path.join(appPath, action.execute)); command.push(path.join(appPath, action.execute));
command.push(...action.args); command.push(...action.args);
let open = action.open; let open = action.open;
if (open) { if (open) {
let openAction: any = open.actions.get("main"); let openAction:any = open.actions.get("main");
env = Object.assign(env, openAction.env); env = Object.assign(env, openAction.env);
command.unshift(...openAction.args); command.unshift(...openAction.args);
command.unshift(path.join((<AppLocal>open.local).path, openAction.execute)); command.unshift(path.join((<AppLocal>open.local).path, openAction.execute));
} }
return new Promise((resolve, reject) => { return new Promise((resolve, reject)=> {
let child = child_process.spawn(<string>command.shift(), command, { let child = child_process.spawn(<string>command.shift(), command, {
env: env, env: env,
stdio: 'inherit', stdio: 'inherit',
shell: true, shell: true,
}); });
child.on('error', (error) => { child.on('error', (error)=> {
console.log(error); console.log(error);
}); });
child.on('exit', (code) => { child.on('exit', (code)=> {
if (code === 0) { if (code === 0) {
resolve(); resolve();
} else { } else {
...@@ -112,7 +112,7 @@ export class InstallService { ...@@ -112,7 +112,7 @@ export class InstallService {
let backupPath = path.join((<AppLocal>app.local).path, "backup"); let backupPath = path.join((<AppLocal>app.local).path, "backup");
await this.createDirectory(backupPath); await this.createDirectory(backupPath);
for (let file of files) { for (let file of files) {
await new Promise((resolve, reject) => { await new Promise((resolve, reject)=> {
let oldPath = path.join((<AppLocal>app.local).path, file); let oldPath = path.join((<AppLocal>app.local).path, file);
let newPath = path.join(backupPath, file); let newPath = path.join(backupPath, file);
fs.rename(oldPath, newPath, resolve); fs.rename(oldPath, newPath, resolve);
...@@ -121,8 +121,12 @@ export class InstallService { ...@@ -121,8 +121,12 @@ export class InstallService {
} }
async getChecksumFile(app: App): Promise<Map<string,string> > { async getChecksumFile(app: App): Promise<Map<string,string> > {
let checksumMap: Map<string,string> = await this.http.get(this.checksumUri + app.id) let checksumUrl = this.checksumUri + app.id;
.map((response) => { if (app.id === "ygopro") {
checksumUrl = this.checksumUri + app.id + "-" + process.platform;
}
let checksumMap: Map<string,string> = await this.http.get(checksumUrl)
.map((response)=> {
let map = new Map<string,string>(); let map = new Map<string,string>();
for (let line of response.text().split('\n')) { for (let line of response.text().split('\n')) {
if (line !== "") { if (line !== "") {
...@@ -138,12 +142,15 @@ export class InstallService { ...@@ -138,12 +142,15 @@ export class InstallService {
async doInstall() { async doInstall() {
for (let app of this.installQueue.keys()) { for (let app of this.installQueue.keys()) {
let depInstalled = app.findDependencies() let depInstalled = app.findDependencies()
.every((dependency) => dependency.isInstalled()); .every((dependency)=>dependency.isInstalled());
if (depInstalled && !this.installingQueue.has(app)) { if (depInstalled && !this.installingQueue.has(app)) {
this.installingQueue.add(app); this.installingQueue.add(app);
let options = <InstallConfig>this.installQueue.get(app); let options = <InstallConfig>this.installQueue.get(app);
let checksumMap = await this.getChecksumFile(app); let checksumMap = await this.getChecksumFile(app);
let packagePath = path.join(options.installLibrary, 'downloading', `${app.id}.tar.xz`); let packagePath = path.join(options.installLibrary, 'downloading', `${app.id}.tar.xz`);
if (app.id === "ygopro") {
packagePath = path.join(options.installLibrary, 'downloading', `${app.id}-${process.platform}.tar.xz`);
}
let destPath: string; let destPath: string;
if (app.parent) { if (app.parent) {
let differenceSet = new Set<string>(); let differenceSet = new Set<string>();
...@@ -187,15 +194,15 @@ export class InstallService { ...@@ -187,15 +194,15 @@ export class InstallService {
} }
deleteFile(file: string): Promise<string> { deleteFile(file: string): Promise<string> {
return new Promise((resolve, reject) => { return new Promise((resolve, reject)=> {
fs.lstat(file, (err, stats) => { fs.lstat(file, (err, stats)=> {
if (err) return resolve(path); if (err) return resolve(path);
if (stats.isDirectory()) { if (stats.isDirectory()) {
fs.rmdir(file, (err) => { fs.rmdir(file, (err)=> {
resolve(file); resolve(file);
}); });
} else { } else {
fs.unlink(file, (err) => { fs.unlink(file, (err)=> {
resolve(file); resolve(file);
}); });
} }
...@@ -222,7 +229,7 @@ export class InstallService { ...@@ -222,7 +229,7 @@ export class InstallService {
await this.deleteFile(oldFile); await this.deleteFile(oldFile);
if (app.parent) { if (app.parent) {
let backFile = path.join((<AppLocal>app.local).path, "backup", file); let backFile = path.join((<AppLocal>app.local).path, "backup", file);
await new Promise((resolve, reject) => { await new Promise((resolve, reject)=> {
fs.rename(backFile, oldFile, resolve); fs.rename(backFile, oldFile, resolve);
}); });
} }
......
...@@ -39,8 +39,8 @@ export class LobbyComponent implements OnInit { ...@@ -39,8 +39,8 @@ export class LobbyComponent implements OnInit {
} }
async updateApp() { async updateApp() {
let updateServer = "http://thief.mycard.moe/update/metalinks/"; let updateServer = "https://thief.mycard.moe/update/metalinks/";
let checksumServer = "http://thief.mycard.moe/checksums/"; let checksumServer = "https://thief.mycard.moe/checksums/";
for (let app of this.apps.values()) { for (let app of this.apps.values()) {
if (app.isInstalled() && app.version != (<AppLocal>app.local).version) { if (app.isInstalled() && app.version != (<AppLocal>app.local).version) {
let checksumMap = await this.installService.getChecksumFile(app); let checksumMap = await this.installService.getChecksumFile(app);
......
...@@ -46,7 +46,7 @@ interface SystemConf { ...@@ -46,7 +46,7 @@ interface SystemConf {
} }
interface Server { interface Server {
id: string id?: string
url: string url: string
address: string address: string
port: number port: number
...@@ -76,8 +76,7 @@ export class YGOProComponent implements OnInit { ...@@ -76,8 +76,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((<AppLocal>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']};
...@@ -109,10 +108,12 @@ export class YGOProComponent implements OnInit { ...@@ -109,10 +108,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((<AppLocal>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) => {
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "東方紅魔郷.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
"servers": [ "servers": [
{ {
"id": "wudizhanche", "id": "wudizhanche",
"url": "ws://wudizhanche.mycard.moe:10800" "url": "wss://wudizhanche.mycard.moe:10800"
} }
] ]
}, },
...@@ -217,9 +217,12 @@ ...@@ -217,9 +217,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th07"
],
"darwin": [ "darwin": [
"wine" "wine",
"th07"
] ]
}, },
"references": { "references": {
...@@ -295,7 +298,7 @@ ...@@ -295,7 +298,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th075.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -304,7 +307,7 @@ ...@@ -304,7 +307,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th075.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -336,9 +339,12 @@ ...@@ -336,9 +339,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th075"
],
"darwin": [ "darwin": [
"wine" "wine",
"th075"
] ]
}, },
"references": { "references": {
...@@ -353,7 +359,7 @@ ...@@ -353,7 +359,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th075c.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -362,7 +368,7 @@ ...@@ -362,7 +368,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th075c.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -414,7 +420,7 @@ ...@@ -414,7 +420,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th08.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -423,7 +429,7 @@ ...@@ -423,7 +429,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th08.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -455,9 +461,12 @@ ...@@ -455,9 +461,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th08"
],
"darwin": [ "darwin": [
"wine" "wine",
"th08"
] ]
}, },
"references": { "references": {
...@@ -472,7 +481,7 @@ ...@@ -472,7 +481,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th08.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -481,7 +490,7 @@ ...@@ -481,7 +490,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th08.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -533,7 +542,7 @@ ...@@ -533,7 +542,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th09.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -542,7 +551,7 @@ ...@@ -542,7 +551,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th09.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -574,9 +583,12 @@ ...@@ -574,9 +583,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th09"
],
"darwin": [ "darwin": [
"wine" "wine",
"th09"
] ]
}, },
"references": { "references": {
...@@ -591,7 +603,7 @@ ...@@ -591,7 +603,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th09c.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -600,7 +612,7 @@ ...@@ -600,7 +612,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th09c.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -652,7 +664,7 @@ ...@@ -652,7 +664,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th095.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -661,7 +673,7 @@ ...@@ -661,7 +673,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th095.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -693,9 +705,12 @@ ...@@ -693,9 +705,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th095"
],
"darwin": [ "darwin": [
"wine" "wine",
"th095"
] ]
}, },
"references": { "references": {
...@@ -710,7 +725,7 @@ ...@@ -710,7 +725,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th095c.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -719,7 +734,7 @@ ...@@ -719,7 +734,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th095c.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -812,9 +827,12 @@ ...@@ -812,9 +827,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th1"
],
"darwin": [ "darwin": [
"wine" "wine",
"th1"
] ]
}, },
"references": { "references": {
...@@ -890,7 +908,7 @@ ...@@ -890,7 +908,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th10.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -899,7 +917,7 @@ ...@@ -899,7 +917,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th10.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -931,9 +949,12 @@ ...@@ -931,9 +949,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th10"
],
"darwin": [ "darwin": [
"wine" "wine",
"th10"
] ]
}, },
"references": { "references": {
...@@ -948,7 +969,7 @@ ...@@ -948,7 +969,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th10chs.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -957,7 +978,7 @@ ...@@ -957,7 +978,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th10chs.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -1009,7 +1030,7 @@ ...@@ -1009,7 +1030,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th105.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -1018,7 +1039,7 @@ ...@@ -1018,7 +1039,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th105.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -1050,9 +1071,12 @@ ...@@ -1050,9 +1071,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th105"
],
"darwin": [ "darwin": [
"wine" "wine",
"th105"
] ]
}, },
"references": { "references": {
...@@ -1067,7 +1091,7 @@ ...@@ -1067,7 +1091,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th105.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -1076,7 +1100,7 @@ ...@@ -1076,7 +1100,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th105.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -1128,7 +1152,7 @@ ...@@ -1128,7 +1152,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th11.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -1137,7 +1161,7 @@ ...@@ -1137,7 +1161,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th11.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -1169,9 +1193,12 @@ ...@@ -1169,9 +1193,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th11"
],
"darwin": [ "darwin": [
"wine" "wine",
"th11"
] ]
}, },
"references": { "references": {
...@@ -1186,7 +1213,7 @@ ...@@ -1186,7 +1213,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th11c.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -1195,7 +1222,7 @@ ...@@ -1195,7 +1222,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th11c.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -1247,7 +1274,7 @@ ...@@ -1247,7 +1274,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th12.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -1256,7 +1283,7 @@ ...@@ -1256,7 +1283,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th12.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -1288,9 +1315,12 @@ ...@@ -1288,9 +1315,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th12"
],
"darwin": [ "darwin": [
"wine" "wine",
"th12"
] ]
}, },
"references": { "references": {
...@@ -1305,7 +1335,7 @@ ...@@ -1305,7 +1335,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th12c.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -1314,7 +1344,7 @@ ...@@ -1314,7 +1344,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th12c.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -1369,7 +1399,7 @@ ...@@ -1369,7 +1399,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th123.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -1378,7 +1408,7 @@ ...@@ -1378,7 +1408,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th123.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -1402,7 +1432,7 @@ ...@@ -1402,7 +1432,7 @@
"servers": [ "servers": [
{ {
"id": "tiramisu", "id": "tiramisu",
"url": "ws://wudizhanche.mycard.moe:10800/" "url": "wss://wudizhanche.mycard.moe:10800/"
} }
] ]
} }
...@@ -1421,9 +1451,12 @@ ...@@ -1421,9 +1451,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th123"
],
"darwin": [ "darwin": [
"wine" "wine",
"th123"
] ]
}, },
"references": { "references": {
...@@ -1438,7 +1471,7 @@ ...@@ -1438,7 +1471,7 @@
"actions": { "actions": {
"win32": { "win32": {
"main": { "main": {
"execute": "th07.exe", "execute": "th123_beta.exe",
"args": [], "args": [],
"env": { "env": {
"LC_ALL": "ja_JP" "LC_ALL": "ja_JP"
...@@ -1447,7 +1480,7 @@ ...@@ -1447,7 +1480,7 @@
}, },
"darwin": { "darwin": {
"main": { "main": {
"execute": "th07.exe", "execute": "th123_beta.exe",
"args": [], "args": [],
"open": "wine", "open": "wine",
"env": { "env": {
...@@ -1540,9 +1573,12 @@ ...@@ -1540,9 +1573,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th2"
],
"darwin": [ "darwin": [
"wine" "wine",
"th2"
] ]
}, },
"references": { "references": {
...@@ -1659,9 +1695,12 @@ ...@@ -1659,9 +1695,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th3"
],
"darwin": [ "darwin": [
"wine" "wine",
"th3"
] ]
}, },
"references": { "references": {
...@@ -1778,9 +1817,12 @@ ...@@ -1778,9 +1817,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th4"
],
"darwin": [ "darwin": [
"wine" "wine",
"th4"
] ]
}, },
"references": { "references": {
...@@ -1897,9 +1939,12 @@ ...@@ -1897,9 +1939,12 @@
"language" "language"
], ],
"dependencies": { "dependencies": {
"win32": [], "win32": [
"th5"
],
"darwin": [ "darwin": [
"wine" "wine",
"th5"
] ]
}, },
"references": { "references": {
...@@ -1971,7 +2016,7 @@ ...@@ -1971,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