Giter Site home page Giter Site logo

moecube's Introduction

MyCard Build Status Build status NSP Status

Install Dependencies

npm install

Install Dependencies (macOS)

mkdir -p bin
curl --location --retry 5 https://github.com/aria2/aria2/releases/download/release-1.29.0/aria2-1.29.0-osx-darwin.tar.bz2 | tar --strip-components=2 -C bin -jxf - aria2-1.29.0/bin/aria2c

Install Dependencies (Windows)

mkdir -p bin
curl --location --retry 5 --output aria2-1.29.0-win-32bit-build1.zip https://github.com/aria2/aria2/releases/download/release-1.29.0/aria2-1.29.0-win-32bit-build1.zip
unzip -o aria2-1.29.0-win-32bit-build1.zip aria2-1.29.0-win-32bit-build1/aria2c.exe
mv aria2-1.29.0-win-32bit-build1/aria2c.exe bin
rm -rf aria2-1.29.0-win-32bit-build1 aria2-1.29.0-win-32bit-build1.zip
curl -L 'http://downloads.sourceforge.net/project/msys2/REPOS/MSYS2/i686/bsdtar-3.2.1-1-i686.pkg.tar.xz' | tar --strip-components=2 -C bin -Jxf - usr/bin/bsdtar.exe
curl -L 'http://downloads.sourceforge.net/project/msys2/Base/i686/msys2-base-i686-20161025.tar.xz' | tar --strip-components=3 -C bin -Jxf - msys32/usr/bin/msys-2.0.dll msys32/usr/bin/msys-bz2-1.dll msys32/usr/bin/msys-gcc_s-1.dll msys32/usr/bin/msys-iconv-2.dll msys32/usr/bin/msys-lzma-5.dll msys32/usr/bin/msys-lzo2-2.dll msys32/usr/bin/msys-nettle-6.dll msys32/usr/bin/msys-xml2-2.dll msys32/usr/bin/msys-z.dll msys32/usr/bin/sha256sum.exe msys32/usr/bin/msys-intl-8.dll
node_modules\.bin\electron-rebuild

Run

npm start

WebStorm

Editor
    Code Style
        HTML
            Other
                × Keep line breaks
                × Keep line breaks in text

                Wrap attributes: Do not wrap
                × Wrap text
        TypeScript
            Other
                Generated code
                    Quote marks: Single quotes

Languages & Frameworks
    Javascript
        Javascript language version: ECMAScript 6
        √ Prefer Strict mode
        √ Only type-based completion

    TypeScript
        √ Enable TypeScript Compiler
        TSLint
            √ Enable
    Node.js and NPM
        Coding Assistance
            Enable

moecube's People

Contributors

2breakegg avatar h3remi7 avatar uu-z avatar wudizhanche1000 avatar zh99998 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moecube's Issues

build in webstorm

Hi gays , I'm newer, I git clone this project and import it in webstrom, webstrom remind me npm install , then I clink it , webstrom shows me below things like this , did I something wrong;

D:\Projects\xx\moecube\moecube\node_modules\raw-socket>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp
\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\hellen\AppData\Local\Programs\Python\Python37-32\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at maybeClose (internal/child_process.js:978:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Projects\xx\moecube\moecube\node_modules\raw-socket
gyp ERR! node -v v11.2.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\7zip-bin-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hellen\AppData\Roaming\npm-cache_logs\2018-11-25T08_22_56_415Z-debug.log

Process finished with exit code 1

关于用户中心给出的功能要求

1.提供用户战绩和成就信息的查看

可以让用户自己和他人查看用户的积分、胜负率、场次、排名、称号头衔、成就等

2.提供用户资料信息的修改和查看

可以让自己查看和修改昵称、个性签名、联系方式、兴趣爱好、地址、个人资料(生日、性别、真实姓名等)、头像等
让他人可查看以及增加标签、评论等

3.提供用户安全信息的修改

让用户可以设置和修改密码、验证邮箱、验证手机(如果有)、密保问题等

4.提供用户隐私设置

让用户自行设置是否允许他人查看个人资料、战绩、成就等

关于好友系统提出的功能需求

1.可以自由添加和删除好友

这个操作是单向的 用户的操作不能影响到对方的名单
不能出现删除了某个好友 你的名字也从对方名单消失
也不能出现添加了某个好友 你的名字出现在对方名单
添加好友时会给予对方提示 对方可以回加 删除好友不会。
只有双向好友才能进行功能性互动(对好友进行评论、贴标签 给其推荐好友 进入好友房间不需要密码等)
单向好友只能对对方起关注作用(上下线提示、用户名醒目)

2.好友的显示方式

好友列表的成员在在线列表置前或者醒目显示
好友列表的成员的房间在列表中置前或者醒目显示
好友的私聊信息高亮或者提示音醒目

3.屏蔽名单(黑名单)

被加入黑名单的成员不能添加该用户为好友
被加入黑名单的成员不能看到该用户的聊天室发言 反之亦然
被加入黑名单的成员不能看到该用户的房间 反之亦然
被加入黑名单的成员不能看到该用户的个人资料、战绩成就等信息
被加入黑名单的成员不能看到在线列表的该用户 反之亦然
添加他人入黑名单 需要先解除双向好友关系
添加他人入黑名单 会将对方好友名单中的添加者删除
可以解除黑名单 解除后为陌生人关系

help me

http://my-card.in/ ,this website when i open , it appear this (This website is offline No cached version is available)。how to fix ?many days already。please help。

2014-01-27 杂项

1、注册时把「@」设为违禁符号
2、在大厅的「房间筛选」中增加搜索房间的功能,例如按用户名或按房名

Linux 端 mycard 不支持联机?

Ubuntu 20.04 LTS
用的是 MyCard 官网上下载的 AppImage 客户端,
导入东方Project游戏的时候,点击联机就提示“Unsupported platform”。
snap 版本还没试,请问 snap 版本支持联机吗?

关于卡组同步提出的功能需求

1、原[卡组编辑]的变更
卡组右方的[编辑] {即铅笔}按钮删除,改为点击卡组名称即编辑该卡组
卡组右方的[导出]按钮在有同步卡组功能后删除考虑
卡组编辑的下拉条考虑
若位置不够,可考虑把host.png的大小由300×300更改为380×300

2、玩家选择需要同步的卡组
登陆到大厅后,原本的卡组编辑变为同步卡组编辑(在大厅中的按钮名字可以不变),左侧为原来的卡组列表,右侧为已同步卡组列表
原来的卡组列表新增以下按钮:
单个卡组:同步
总按钮:全部同步
 选择全部同步时,弹出确认框让玩家确认

已同步卡组列表和原卡组列表的显示基本一致。未读取完毕时显示[正在读取中],读取完毕后,按照卡组的情况,用不同的名字显示卡组名:
灰色:服务器有该卡组,但mycard端没有该卡组。
红色:服务器端和mycard端都有该卡组,但mycard端的最后修改时间较近
绿色:服务器端和mycard端都有该卡组,但服务器端的最后修改时间较近
蓝色:服务器端和mycard端都有该卡组,两者的最后修改时间相同(默认卡组颜色)
同步卡组列表可提供的功能:
单个卡组:删除(删除服务器端的该卡组)
     更新(将本地的该卡组更新到服务器端)
     下载(将服务器端的卡组下载到本地,并覆盖同名卡组)
     分享(同卡组编辑的[分享])
     打印(同卡组编辑的[打印])
总按钮:全部更新
 选择全部更新时,弹出确认框让玩家确认
    全部下载
 同[全部更新]
    全部删除
 同[全部更新]
至于关闭按钮,和卡组编辑的关闭用同一个就行,卡组编辑关掉的时候这个窗口也关掉

3、关于同步的自动&手动
在设置里做个修改自动和手动的不就可以了吗!

关于大厅信息的改进

1、更改提示
将大厅中提示的[service-unavailable]修改为能被看懂的[大厅人满]或之类

2、优化kick和ban的表现
将kick和ban后说话提示的[网络连接中断]更改为[你被踢出聊天室]或[你被禁止进入该聊天室],并返回登陆界面再提示

3、更改提示的位置
将上面所说的提示全部放在登陆界面里提示,不进入大厅。

[Linux] desktop file is lacking a Categories= entry

The desktop file is lacking a Categories= entry in the *.desktop file.

According to the menu spec,

By including one of the Main Categories in an application's desktop entry file, the application will be ensured that it will show up in a section of the application menu dedicated to this category. If multiple Main Categories are included in a single desktop entry file, the entry may appear more than once in the menu.

Hence, please add at least one of the following in the Categories= key.

Main Category Description Notes
AudioVideo Application for presenting, creating, or processing multimedia (audio/video)
Audio An audio application Desktop entry must include AudioVideo as well
Video A video application Desktop entry must include AudioVideo as well
Development An application for development
Education Educational software
Game A game
Graphics Application for viewing, creating, or processing graphics
Network Network application such as a web browser
Office An office type application
Science Scientific software
Settings Settings applications Entries may appear in a separate menu or as part of a "Control Center"
System System application, "System Tools" such as say a log viewer or network monitor
Utility Small utility application, "Accessories"

In addition, you could specify one or more from the longer list of Additional Categories.

Please test the result with desktop-file-validate and make sure it passes.

electron-builder offers native support for this since v19.22.1.

Reference: AppImage/appimage.github.io#2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.