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

3.0.19

变更自动更新机制
修复 Mac 下不能运行的问题
修复 YGOPro 战绩展示到其他游戏
修复 英文版取消匹配按钮显示为中文的问题
parent f29cc492
......@@ -40,9 +40,3 @@ install:
script:
- npm run dist
deploy:
provider: script
script: curl --fail --verbose --request POST "https://wudizhanche.mycard.moe/publish?platform=${TRAVIS_OS_NAME}&version=${TRAVIS_TAG}"
on:
tags: true
\ No newline at end of file
......@@ -53,7 +53,7 @@
<!--{"exp":1839,"exp_rank":"9","pt":2207.2901,"arena_rank":"30","win":"703","lose":"568","draw":5,"all":"1276","ratio":"55.09"}-->
<div id="arena" class="panel panel-default" *ngIf="points">
<div id="arena" class="panel panel-default" *ngIf="currentApp.id === 'ygopro' && points ">
<h2 i18n>排位成绩</h2>
<table class="table table-sm">
<tbody>
......
......@@ -15,7 +15,7 @@
<span i18n *ngIf="matching_arena == 'entertain'">娱乐匹配</span>
</span>
<span class="input-group-addon"><span i18n>预计时间</span> 03:00</span><span class="input-group-addon"><span i18n>实际时间</span> {{match_time}}</span>
<span class="input-group-btn"><button class="btn btn-secondary" type="button" [disabled]="!match_cancelable" (click)="cancel_match()">取消</button></span>
<span class="input-group-btn"><button i18n class="btn btn-secondary" type="button" [disabled]="!match_cancelable" (click)="cancel_match()">取消</button></span>
</div>
<div class="input-group input-group-sm">
......
......@@ -49,5 +49,3 @@ install:
build_script:
- npm run dist
deploy_script: bash -c 'if [[ $APPVEYOR_REPO_TAG_NAME ]]; then curl --fail --verbose --request POST "https://wudizhanche.mycard.moe/publish?platform=win32&version=${APPVEYOR_REPO_TAG_NAME}"; fi'
\ No newline at end of file
......@@ -62,9 +62,9 @@ if (!process.env['NODE_ENV']) {
// 自动更新
let updateWindow;
global.autoUpdater = autoUpdater;
if (process.env['NODE_ENV'] == 'production' && process.platform == 'darwin') {
autoUpdater.setFeedURL("https://wudizhanche.mycard.moe/update/darwin/" + app.getVersion());
}
// if (process.env['NODE_ENV'] == 'production' && process.platform == 'darwin') {
// autoUpdater.setFeedURL("https://wudizhanche.mycard.moe/update/darwin/" + app.getVersion());
// }
// else{
// setTimeout(()=>{
// autoUpdater.emit('checking-for-update')
......
{
"name": "mycard",
"version": "3.0.18",
"version": "3.0.19",
"description": "mycard",
"keywords": [],
"author": "zh99998 <zh99998@gmail.com>",
......
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