diff --git a/apps/dosgame/README.md b/apps/dosgame/README.md new file mode 100644 index 00000000..af23fa7b --- /dev/null +++ b/apps/dosgame/README.md @@ -0,0 +1,52 @@ +# 使用说明 + +需要更多游戏的,从原仓库获取,然后将游戏放到存储卷`dosgame_data`的对应目录下 + +原仓库:[chinese-dos-games](https://github.com/rwv/chinese-dos-games) + +# 原始相关 + +# 🎮 中文 DOS 游戏 + +网址: https://dos.lol + + +中文 DOS 游戏合集,目前共有 1898 款游戏。 + +## 下载游戏文件 + +在根目录下运行 Python 3 脚本 + +``` python +python download_data.py +``` + +若下载出错请参见 [Issue #26](https://github.com/rwv/chinese-dos-games/issues/26) + +## 游戏列表 + +参见 https://dos.lol/games + +## IPFS + +IPNS Hash: [`k2k4r8oyknzob8jjqpj6toer4dw3jc6srsbqlbsalktnw1fopb7iyqd2`](https://ipfs.io/ipns/k2k4r8oyknzob8jjqpj6toer4dw3jc6srsbqlbsalktnw1fopb7iyqd2) + +## 网站源代码 + +请参见 [rwv/chinese-dos-games-web: 🌐 Source code of https://dos.zczc.cz](https://github.com/rwv/chinese-dos-games-web) + +## 版权问题 + +本人明白此项目存在版权上的侵权,如版权方介意的话,请联系 [chinese.dos.games@outlook.com](mailto:chinese.dos.games@outlook.com),本人将立刻删除有关文件。 + +## Contributing + +欢迎提 [Issue](https://github.com/rwv/chinese-dos-games/issues) 和 [Pull request](https://github.com/rwv/chinese-dos-games/pulls) 来增加新的游戏! + +PR 具体参见 [CONTRIBUTING.md](https://github.com/rwv/chinese-dos-games/blob/master/CONTRIBUTING.md) + +## Credits + +* [dreamlayers/em-dosbox: An Emscripten port of DOSBox](https://github.com/dreamlayers/em-dosbox) +* [db48x/emularity: easily embed emulators](https://github.com/db48x/emularity) +* [衡兰若芷制作的DOS游戏合集](https://tieba.baidu.com/p/3962261741) diff --git a/apps/dosgame/data.yml b/apps/dosgame/data.yml new file mode 100644 index 00000000..d43bd1eb --- /dev/null +++ b/apps/dosgame/data.yml @@ -0,0 +1,20 @@ +name: 中文 DOS 游戏 +tags: + - 休闲游戏 +title: 中文 DOS 游戏合集 +type: 休闲游戏 +description: 中文 DOS 游戏合集 +additionalProperties: + key: dosgame + name: 中文 DOS 游戏 + tags: + - Game + shortDescZh: 中文 DOS 游戏合集 + shortDescEn: Chinese DOS games collections + type: tool + crossVersionUpdate: false + limit: 0 + recommend: 0 + website: https://dos.lol/ + github: https://github.com/rwv/chinese-dos-games + document: https://github.com/rwv/chinese-dos-games diff --git a/apps/dosgame/latest/data.yml b/apps/dosgame/latest/data.yml new file mode 100644 index 00000000..6d788420 --- /dev/null +++ b/apps/dosgame/latest/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: 40078 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number diff --git a/apps/dosgame/latest/docker-compose.yml b/apps/dosgame/latest/docker-compose.yml new file mode 100644 index 00000000..13646419 --- /dev/null +++ b/apps/dosgame/latest/docker-compose.yml @@ -0,0 +1,21 @@ +version: '3' +services: + dosgame: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:262" + volumes: + - dosgame_data:/app/static/games + image: oldiy/dosgame-web-docker:latest + labels: + createdBy: "Apps" + +volumes: + dosgame_data: + +networks: + 1panel-network: + external: true diff --git a/apps/dosgame/logo.png b/apps/dosgame/logo.png new file mode 100644 index 00000000..950c5520 Binary files /dev/null and b/apps/dosgame/logo.png differ