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

Revert "Renaming"

This reverts commit 4a358786.
parent e29038f5
# MyCard [![Build Status](https://travis-ci.org/moecube/moecube.svg?branch=v3)](https://travis-ci.org/moecube/moecube) [![Build status](https://ci.appveyor.com/api/projects/status/ho6jfrowg37wj1lx?svg=true)](https://ci.appveyor.com/project/zh99998/moecube)
# 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) [![NSP Status](https://nodesecurity.io/orgs/mycard/projects/62dd15a6-3927-49c2-8c30-1bc19d4a6e92/badge)](https://nodesecurity.io/orgs/mycard/projects/62dd15a6-3927-49c2-8c30-1bc19d4a6e92)
## Install Dependencies
```bash
......
......@@ -103,7 +103,7 @@
</tr>
</tbody>
</table>
<a i18n href="https://moecube.com/ygopro/arena/" target="_blank" class="moreinfo">更多资料</a>
<a i18n href="https://mycard.moe/ygopro/arena/" target="_blank" class="moreinfo">更多资料</a>
</div>
<div *ngIf="currentApp.description" class="d-flex">
......@@ -137,7 +137,7 @@
<p>{{item.text}}</p>
<a i18n *ngIf="item.url" [href]="item.url" target="_blank">了解更多</a>
</div>
<!--<a href="https://moecube.com/ygopro/arena/" target="_blank" class="moreinfo">查看所有新闻</a>-->
<!--<a href="https://mycard.moe/ygopro/arena/" target="_blank" class="moreinfo">查看所有新闻</a>-->
</div>
......@@ -183,7 +183,7 @@
</div>
<!--<div class="panel panel-default">--><!--<h2 i18n>广告</h2>--><!--<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>--><!--&lt;!&ndash; moecube &ndash;&gt;--><!--<ins class="adsbygoogle"--><!--style="display:block"--><!--data-ad-client="ca-pub-1173264056684633"--><!--data-ad-slot="3903147661"--><!--data-ad-format="auto"></ins>--><!--<script>--><!--(adsbygoogle = window.adsbygoogle || []).push({});--><!--</script>--><!--</div>-->
<!--<div class="panel panel-default">--><!--<h2 i18n>广告</h2>--><!--<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>--><!--&lt;!&ndash; mycard &ndash;&gt;--><!--<ins class="adsbygoogle"--><!--style="display:block"--><!--data-ad-client="ca-pub-1173264056684633"--><!--data-ad-slot="3903147661"--><!--data-ad-format="auto"></ins>--><!--<script>--><!--(adsbygoogle = window.adsbygoogle || []).push({});--><!--</script>--><!--</div>-->
<!--安装modal-->
<div class="modal fade" id="install-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" *ngIf="installOption">
......@@ -201,7 +201,7 @@
<div class="form-group">
<select class="form-control" name="installPath" (change)="selectLibrary()" [(ngModel)]="installOption.installLibrary" title="path">
<option *ngFor="let library of libraries" value="{{library}}"> {{library}}</option>
<option *ngFor="let library of availableLibraries" value="create_{{library}}">在 {{library}}\ 盘新建 MoeCube</option>
<option *ngFor="let library of availableLibraries" value="create_{{library}}">在 {{library}}\ 盘新建 MyCard</option>
</select></div>
<h4 i18n>快捷方式</h4>
<div class="checkbox">
......@@ -250,7 +250,7 @@
<div class="form-group">
<select class="form-control" name="installPath" (change)="selectLibrary()" [(ngModel)]="installOption.installLibrary" title="path">
<option *ngFor="let library of libraries" value="{{library}}"> {{library}}</option>
<option *ngFor="let library of availableLibraries" value="create_{{library}}">在 {{library}}\ 盘新建 MoeCube</option>
<option *ngFor="let library of availableLibraries" value="create_{{library}}">在 {{library}}\ 盘新建 MyCard</option>
</select>
</div>
<!--<h4 i18n>快捷方式</h4>-->
......@@ -346,7 +346,7 @@
<div class="modal-body">
订单已经创建,请在新窗口中进行支付,支付成功后页面会自动跳转
若支付成功后没有自动跳转 请联系 admin@moecube.com
若支付成功后没有自动跳转 请联系 thdod@mycard.moe
若支付失败,请返回并选择其他支付方式
</div>
<div class="modal-footer">
......
......@@ -168,7 +168,7 @@ export class AppDetailComponent implements OnInit, OnChanges {
async selectLibrary() {
if (this.installOption.installLibrary.startsWith('create_')) {
let volume = this.installOption.installLibrary.slice(7);
let library = path.join(volume, 'MoeCubeLibrary');
let library = path.join(volume, 'MyCardLibrary');
try {
await this.appsService.createDirectory(library);
this.installOption.installLibrary = library;
......
......@@ -84,30 +84,30 @@ export class App {
static downloadUrl(app: App, platform: string, locale: string): string {
if (app.id === 'ygopro') {
return `https://api.moecube.com/metalinks/${app.id}-${process.platform}-${locale}/${app.version}`;
return `https://thief.mycard.moe/metalinks/${app.id}-${process.platform}-${locale}/${app.version}`;
} else if (app.id === 'desmume') {
return `https://api.moecube.com/metalinks/${app.id}-${process.platform}/${app.version}`;
return `https://thief.mycard.moe/metalinks/${app.id}-${process.platform}/${app.version}`;
}
return `https://api.moecube.com/metalinks/${app.id}/${app.version}`;
return `https://thief.mycard.moe/metalinks/${app.id}/${app.version}`;
}
static checksumUrl(app: App, platform: string, locale: string): string {
if (app.id === 'ygopro') {
return `https://api.moecube.com/checksums/${app.id}-${platform}-${locale}/${app.version}`;
return `https://thief.mycard.moe/checksums/${app.id}-${platform}-${locale}/${app.version}`;
} else if (app.id === 'desmume') {
return `https://api.moecube.com/checksums/${app.id}-${platform}/${app.version}`;
return `https://thief.mycard.moe/checksums/${app.id}-${platform}/${app.version}`;
}
return `https://api.moecube.com/checksums/${app.id}/${app.version}`;
return `https://thief.mycard.moe/checksums/${app.id}/${app.version}`;
}
static updateUrl(app: App, platform: string, locale: string): string {
if (app.id === 'ygopro') {
return `https://api.moecube.com/update/${app.id}-${platform}-${locale}/${app.version}`;
return `https://thief.mycard.moe/update/${app.id}-${platform}-${locale}/${app.version}`;
} else if (app.id === 'desmume') {
return `https://api.moecube.com/update/${app.id}-${platform}/${app.version}`;
return `https://thief.mycard.moe/update/${app.id}-${platform}/${app.version}`;
}
return `https://api.moecube.com/update/${app.id}/${app.version}`;
return `https://thief.mycard.moe/update/${app.id}/${app.version}`;
}
isBought(): Boolean {
......
......@@ -80,8 +80,8 @@ export class AppsService {
}
async loadApps() {
let appsURL = 'https://api.moecube.com/apps.json';
let keysURL = 'https://api.moecube.com/keys';
let appsURL = 'https://api.mycard.moe/apps.json';
let keysURL = 'https://api.mycard.moe/keys';
try {
let params = new URLSearchParams();
params.set('user_id', this.loginService.user.email);
......@@ -116,7 +116,7 @@ export class AppsService {
async bundle() {
try {
// const bundle = require(path.join(remote.app.getPath('appData'), 'moecube', 'bundle.json'));
// const bundle = require(path.join(remote.app.getPath('appData'), 'mycard', 'bundle.json'));
// 示例:
// [
// {
......@@ -124,48 +124,48 @@ export class AppsService {
// "createShortcut": false,
// "createDesktopShortcut": false,
// "install": true,
// "installDir": "D:\\MoeCubeLibrary\\apps\\th105",
// "installLibrary": "D:\\MoeCubeLibrary"
// "installDir": "D:\\MyCardLibrary\\apps\\th105",
// "installLibrary": "D:\\MyCardLibrary"
// },
// {
// "app": "th105-lang-zh-CN",
// "createShortcut": false,
// "createDesktopShortcut": false,
// "install": true,
// "installDir": "D:\\MoeCubeLibrary\\apps\\th105",
// "installLibrary": "D:\\MoeCubeLibrary"
// "installDir": "D:\\MyCardLibrary\\apps\\th105",
// "installLibrary": "D:\\MyCardLibrary"
// },
// {
// "app": "th123",
// "createShortcut": false,
// "createDesktopShortcut": true,
// "install": true,
// "installDir": "D:\\MoeCubeLibrary\\apps\\th123",
// "installLibrary": "D:\\MoeCubeLibrary"
// "installDir": "D:\\MyCardLibrary\\apps\\th123",
// "installLibrary": "D:\\MyCardLibrary"
// },
// {
// "app": "th123-lang-zh-CN",
// "createShortcut": false,
// "createDesktopShortcut": false,
// "install": true,
// "installDir": "D:\\MoeCubeLibrary\\apps\\th123",
// "installLibrary": "D:\\MoeCubeLibrary"
// "installDir": "D:\\MyCardLibrary\\apps\\th123",
// "installLibrary": "D:\\MyCardLibrary"
// },
// {
// "app": "directx",
// "createShortcut": false,
// "createDesktopShortcut": false,
// "install": true,
// "installDir": "D:\\MoeCubeLibrary\\apps\\directx",
// "installLibrary": "D:\\MoeCubeLibrary"
// "installDir": "D:\\MyCardLibrary\\apps\\directx",
// "installLibrary": "D:\\MyCardLibrary"
// },
// ]
// {
// library: "D:\\MoeCubeLibrary",
// library: "D:\\MyCardLibrary",
// apps: ["th105", "th105-lang-zh-CN", "th123", "th123-lang-zh-CN", "directx"]
// }
// 文件在 D:\MoeCubeLibrary\cache\th105.tar.xz, D:\MoeCubeLibrary\cache\th105-lang-zh-CN.tar.xz ...
// 文件在 D:\MyCardLibrary\cache\th105.tar.xz, D:\MyCardLibrary\cache\th105-lang-zh-CN.tar.xz ...
// TODO: 安装那些app,不需要下载。安装成功后删除 bundle.json
} catch (error) {
......@@ -195,7 +195,7 @@ export class AppsService {
}
if (!library) {
try {
let _library = path.join(volume + ':', 'MoeCubeLibrary');
let _library = path.join(volume + ':', 'MyCardLibrary');
await this.createDirectory(_library);
this.settingsService.addLibrary(_library, true);
library = _library;
......@@ -219,7 +219,7 @@ export class AppsService {
let libraries = this.settingsService.getLibraries();
for (let library of libraries) {
if (library.path === path.join(remote.app.getPath('appData'), 'library')) {
library.path = path.join(remote.app.getPath('appData'), 'MoeCubeLibrary');
library.path = path.join(remote.app.getPath('appData'), 'MyCardLibrary');
}
}
localStorage.setItem(SettingsService.SETTING_LIBRARY, JSON.stringify(libraries));
......
......@@ -228,7 +228,7 @@ export class CandyComponent implements OnInit, OnChanges {
ngOnInit() {
this.jid = this.loginService.user.username + '@moecube.com';
this.jid = this.loginService.user.username + '@mycard.moe';
this.password = this.loginService.user.external_id.toString();
this.nickname = this.loginService.user.username;
......@@ -262,11 +262,11 @@ export class CandyComponent implements OnInit, OnChanges {
</form>
`;
Candy.init('wss://chat.moecube.com:5280/websocket', {
Candy.init('wss://chat.mycard.moe:5280/websocket', {
core: {
debug: false,
autojoin: this.currentApp.conference && [this.currentApp.conference + '@conference.moecube.com'],
resource: 'moecube-' + Math.random().toString().split('.')[1]
autojoin: this.currentApp.conference && [this.currentApp.conference + '@conference.mycard.moe'],
resource: 'mycard-' + Math.random().toString().split('.')[1]
},
view: {
assets: 'node_modules/candy/res/',
......@@ -309,7 +309,7 @@ export class CandyComponent implements OnInit, OnChanges {
if (!conference) {
return;
}
conference += '@conference.moecube.com';
conference += '@conference.mycard.moe';
try {
if (Candy.View.Pane.Chat.rooms[conference]) {
......
......@@ -9,7 +9,7 @@
<span i18n *ngIf="grouped_apps.installed">已安装</span>
<ul *ngIf="grouped_apps.installed" class="nav nav-pills flex-column">
<li *ngFor="let app of grouped_apps.installed" class="nav-item">
<a (click)="$event.preventDefault(); chooseApp(app)" class="nav-link" [class.active]="app===currentApp" [href]="'https://moecube.com/' + app.id">
<a (click)="$event.preventDefault(); chooseApp(app)" class="nav-link" [class.active]="app===currentApp" [href]="'https://mycard.moe/' + app.id">
<img *ngIf="app.icon" class="icon" [src]="app.icon">
{{app.name}}<i *ngIf="!app.isReady() && !app.status.total" class="spin fa fa-circle-o-notch fa-spin fa-fw"></i>
<div *ngIf="!app.isReady() && app.status.total" class="progress">
......@@ -26,7 +26,7 @@
<span *ngIf="grouped_apps.test">测试</span>
<ul *ngIf="grouped_apps.test" class="nav nav-pills flex-column">
<li *ngFor="let app of grouped_apps.test" class="nav-item">
<a (click)="$event.preventDefault(); chooseApp(app)" [href]="'https://moecube.com/' + app.id" class="nav-link" [class.active]="app===currentApp">
<a (click)="$event.preventDefault(); chooseApp(app)" [href]="'https://mycard.moe/' + app.id" class="nav-link" [class.active]="app===currentApp">
<img *ngIf="app.icon" class="icon" [src]="app.icon">
{{app.name}}
</a>
......@@ -36,7 +36,7 @@
<span i18n *ngIf="grouped_apps.recommend">推荐</span>
<ul *ngIf="grouped_apps.recommend" class="nav nav-pills flex-column">
<li *ngFor="let app of grouped_apps.recommend" class="nav-item">
<a (click)="$event.preventDefault(); chooseApp(app)" [href]="'https://moecube.com/' + app.id" class="nav-link" [class.active]="app===currentApp">
<a (click)="$event.preventDefault(); chooseApp(app)" [href]="'https://mycard.moe/' + app.id" class="nav-link" [class.active]="app===currentApp">
<img *ngIf="app.icon" class="icon" [src]="app.icon">
{{app.name}}
</a>
......@@ -45,7 +45,7 @@
<span i18n *ngIf="grouped_apps.mysterious">迷之物体</span>
<ul *ngIf="grouped_apps.mysterious" class="nav nav-pills flex-column">
<li *ngFor="let app of grouped_apps.mysterious" class="nav-item">
<a (click)="$event.preventDefault(); chooseApp(app)" [href]="'https://moecube.com/' + app.id" class="nav-link" [class.active]="app===currentApp">
<a (click)="$event.preventDefault(); chooseApp(app)" [href]="'https://mycard.moe/' + app.id" class="nav-link" [class.active]="app===currentApp">
<img *ngIf="app.icon" class="icon" [src]="app.icon">
{{app.name}}
</a>
......@@ -54,7 +54,7 @@
<span i18n *ngIf="grouped_apps.touhou">东方 Project</span>
<ul *ngIf="grouped_apps.touhou" class="nav nav-pills flex-column">
<li *ngFor="let app of grouped_apps.touhou" class="nav-item">
<a (click)="$event.preventDefault(); chooseApp(app)" [href]="'https://moecube.com/' + app.id" class="nav-link" [class.active]="app===currentApp">
<a (click)="$event.preventDefault(); chooseApp(app)" [href]="'https://mycard.moe/' + app.id" class="nav-link" [class.active]="app===currentApp">
<img *ngIf="app.icon" class="icon" [src]="app.icon">
{{app.name}}
</a>
......@@ -63,7 +63,7 @@
<span i18n *ngIf="grouped_apps.touhou_pc98">东方旧作</span>
<ul *ngIf="grouped_apps.touhou_pc98" class="nav nav-pills flex-column">
<li *ngFor="let app of grouped_apps.touhou_pc98" class="nav-item">
<a (click)="$event.preventDefault(); chooseApp(app)" [href]="'https://moecube.com/' + app.id" class="nav-link" [class.active]="app===currentApp">
<a (click)="$event.preventDefault(); chooseApp(app)" [href]="'https://mycard.moe/' + app.id" class="nav-link" [class.active]="app===currentApp">
<img *ngIf="app.icon" class="icon" [src]="app.icon">
{{app.name}}
</a>
......@@ -72,7 +72,7 @@
<span i18n *ngIf="grouped_apps.runtime_installed">已安装的运行库</span>
<ul *ngIf="grouped_apps.runtime_installed" class="nav nav-pills flex-column">
<li *ngFor="let app of grouped_apps.runtime_installed" class="nav-item">
<a (click)="$event.preventDefault(); chooseApp(app)" [href]="'https://moecube.com/' + app.id" class="nav-link" [class.active]="app===currentApp">
<a (click)="$event.preventDefault(); chooseApp(app)" [href]="'https://mycard.moe/' + app.id" class="nav-link" [class.active]="app===currentApp">
<img *ngIf="app.icon" class="icon" [src]="app.icon">
{{app.name}}
</a>
......
......@@ -14,7 +14,7 @@ import { shell } from 'electron';
})
export class LoginComponent {
url: string;
readonly return_sso_url = 'https://moecube.com/login_callback'; // 这个url不会真的被使用,可以填写不存在的
readonly return_sso_url = 'https://mycard.moe/login_callback'; // 这个url不会真的被使用,可以填写不存在的
constructor(private loginService: LoginService) {
......@@ -35,13 +35,13 @@ export class LoginComponent {
// params.set('redirect', this.url);
// 暂时 hack 一下登出,因为聊天室现在没办法重新初始化,于是登出后刷新页面。
params.set('redirect', 'https://moecube.com/logout_callback');
params.set('redirect', 'https://mycard.moe/logout_callback');
this.url = url.toString();
}
}
return_sso(return_url: string) {
if (return_url === 'https://moecube.com/logout_callback') {
if (return_url === 'https://mycard.moe/logout_callback') {
return location.reload();
}
if (!return_url.startsWith(this.return_sso_url)) {
......
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {getTranslationProviders} from './i18n-providers';
import {MoeCube} from './moecube.module';
import {MyCard} from './mycard.module';
getTranslationProviders().then(providers => {
const options = {providers};
platformBrowserDynamic().bootstrapModule(MoeCube, options);
platformBrowserDynamic().bootstrapModule(MyCard, options);
});
......@@ -9,12 +9,12 @@ const autoUpdater: Electron.AutoUpdater = remote.getGlobal('autoUpdater');
@Component({
moduleId: module.id,
selector: 'moecube',
templateUrl: 'moecube.component.html',
styleUrls: ['moecube.component.css'],
selector: 'mycard',
templateUrl: 'mycard.component.html',
styleUrls: ['mycard.component.css'],
})
export class MoeCubeComponent implements OnInit {
export class MyCardComponent implements OnInit {
currentPage: string = 'lobby';
update_status: string | undefined = remote.getGlobal('update_status');
......
......@@ -2,7 +2,7 @@ import {NgModule, NO_ERRORS_SCHEMA, LOCALE_ID} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {HttpModule} from '@angular/http';
import {MoeCubeComponent} from './moecube.component';
import {MyCardComponent} from './mycard.component';
import {LoginComponent} from './login.component';
import {StoreComponent} from './store.component';
import {LobbyComponent} from './lobby.component';
......@@ -19,10 +19,10 @@ import {CandyComponent} from './candy.component';
@NgModule({
imports: [BrowserModule, FormsModule, ReactiveFormsModule, HttpModule],
declarations: [
MoeCubeComponent, LoginComponent, StoreComponent, LobbyComponent,
MyCardComponent, LoginComponent, StoreComponent, LobbyComponent,
AppDetailComponent, RosterComponent, YGOProComponent, AboutComponent, CandyComponent
],
bootstrap: [MoeCubeComponent],
bootstrap: [MyCardComponent],
providers: [
AppsService, SettingsService, LoginService, DownloadService
, {
......@@ -33,5 +33,5 @@ import {CandyComponent} from './candy.component';
],
schemas: [NO_ERRORS_SCHEMA]
})
export class MoeCube {
export class MyCard {
}
......@@ -17,7 +17,7 @@ export class SettingsService {
static defaultLibraries = [
{
'default': true,
path: path.join(remote.app.getPath('appData'), 'MoeCubeLibrary')
path: path.join(remote.app.getPath('appData'), 'MyCardLibrary')
},
];
static SETTING_LOCALE = 'locale';
......
......@@ -207,14 +207,14 @@ export class YGOProComponent implements OnInit, OnDestroy {
if (this.settingsService.getLocale().startsWith('zh')) {
this.servers.push({
id: 'tiramisu',
url: 'wss://tiramisu.moecube.com:7923',
url: 'wss://tiramisu.mycard.moe:7923',
address: '112.124.105.11',
port: 7911,
custom: true,
replay: true
}, {
id: 'tiramisu-athletic',
url: 'wss://tiramisu.moecube.com:8923',
url: 'wss://tiramisu.mycard.moe:8923',
address: '112.124.105.11',
port: 8911,
custom: false,
......@@ -223,14 +223,14 @@ export class YGOProComponent implements OnInit, OnDestroy {
} else {
this.servers.push({
id: 'mercury-us-1-athletic',
url: 'wss://mercury-us-1.moecube.com:7923',
url: 'wss://mercury-us-1.mycard.moe:7923',
address: '104.237.154.173',
port: 7911,
custom: true,
replay: true
}, {
id: 'mercury-us-1',
url: 'wss://mercury-us-1.moecube.com:7923',
url: 'wss://mercury-us-1.mycard.moe:7923',
address: '104.237.154.173',
port: 8911,
custom: false,
......@@ -591,7 +591,7 @@ export class YGOProComponent implements OnInit, OnDestroy {
search.set('locale', this.settingsService.getLocale());
match_started_at = new Date();
this.matching_arena = matching_arena = arena;
this.matching = matching = this.http.post('https://api.moecube.com/ygopro/match', null, {
this.matching = matching = this.http.post('https://api.mycard.moe/ygopro/match', null, {
headers: headers,
search: search
}).map(response => response.json())
......
<!DOCTYPE html>
<html>
<head>
<title>MoeCube</title>
<title>MyCard</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
......@@ -29,12 +29,12 @@
<body>
<moecube>
<mycard>
<!--<div id="loading">MoeCube <span id="version"></span> Loading...</div>-->
<!--<div id="loading">MyCard <span id="version"></span> Loading...</div>-->
<div id="loading-bar">
<span class="navbar-brand">MoeCube</span>
<span class="navbar-brand">MyCard</span>
<i class="fa fa-times close" i18n="" i18n-title="" title="关闭" onclick="window.close()"></i>
</div>
......@@ -47,9 +47,9 @@
<span>.</span>
</p>
</div>
<div id="failed" hidden>发生了错误,请复制以下错误信息并联系 admin@moecube.com</div>
<div id="failed" hidden>发生了错误,请复制以下错误信息并联系 support@mycard.moe</div>
<pre id="error" hidden></pre>
</moecube>
</mycard>
<script>
document.body.classList.add(process.platform);
// document.getElementById('version').innerHTML = require('electron').remote.app.getVersion();
......
......@@ -63,7 +63,7 @@ if (!process.env['NODE_ENV']) {
let updateWindow;
global.autoUpdater = autoUpdater;
// if (process.env['NODE_ENV'] == 'production' && process.platform == 'darwin') {
// autoUpdater.setFeedURL("https://wudizhanche.moecube.com/update/darwin/" + app.getVersion());
// autoUpdater.setFeedURL("https://wudizhanche.mycard.moe/update/darwin/" + app.getVersion());
// }
// else{
// setTimeout(()=>{
......@@ -193,7 +193,7 @@ function createTray() {
label: '退出', type: 'normal', click: app.quit
}
]);
tray.setToolTip('MoeCube');
tray.setToolTip('MyCard');
tray.setContextMenu(contextMenu);
}
......
......@@ -567,8 +567,8 @@
</trans-unit>
<trans-unit datatype="html" id="9d9335d175b40b85f2b98610af517a8b7509c089">
<source>MoeCube 设置</source>
<target>MoeCube Settings</target>
<source>MyCard 设置</source>
<target>MyCard Settings</target>
</trans-unit>
<trans-unit datatype="html" id="b22ce2179c700e2499e1d402fb1d3f4392c7f6af">
......
......@@ -15,7 +15,7 @@ body {
/*padding-right: 0 !important;*/
/*}*/
moecube {
mycard {
height: 100%;
display: flex;
flex-direction: column;
......@@ -94,7 +94,7 @@ body.resizing /deep/ * {
-webkit-user-select: none;
}
/*moecube {*/
/*mycard {*/
/*background-color: white;*/
/*}*/
......
......@@ -17,7 +17,7 @@
"skipLibCheck": true
},
"files": [
"app/moecube.module.ts",
"app/mycard.module.ts",
"app/main.ts"
],
"angularCompilerOptions": {
......
......@@ -34,7 +34,7 @@
<div class="container">
<h1>{{pageText.updateTitle}}</h1>
<p v-for="(msg, index) in pageText.updateMsg" >{{msg}}</p>
<p>{{pageText.updateFailed.p1}} <a href="https://moecube.com" target="_blank">{{pageText.updateFailed.p2}}</a> {{pageText.updateFailed.p3}}</p>
<p>{{pageText.updateFailed.p1}} <a href="https://mycard.moe" target="_blank">{{pageText.updateFailed.p2}}</a> {{pageText.updateFailed.p3}}</p>
<p id="actions">
<button @click="onClose" type="button" class="btn btn-secondary">{{pageText.actions.close}}</button>
<button @click="onUpdate" type="button" class="btn btn-primary">{{pageText.actions.update}}</button>
......
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