{"id":20679137,"url":"https://github.com/tylearymf/unihacker-docker","last_synced_at":"2025-07-23T14:34:26.777Z","repository":{"id":63158029,"uuid":"565046379","full_name":"tylearymf/unihacker-docker","owner":"tylearymf","description":"UniHacker for Docker","archived":false,"fork":false,"pushed_at":"2022-11-18T12:42:23.000Z","size":108,"stargazers_count":43,"open_issues_count":2,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T00:39:53.113Z","etag":null,"topics":["ci","docker","unihacker"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tylearymf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-12T06:52:45.000Z","updated_at":"2025-04-14T03:58:11.000Z","dependencies_parsed_at":"2023-01-22T08:30:17.897Z","dependency_job_id":null,"html_url":"https://github.com/tylearymf/unihacker-docker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tylearymf/unihacker-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylearymf%2Funihacker-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylearymf%2Funihacker-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylearymf%2Funihacker-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylearymf%2Funihacker-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tylearymf","download_url":"https://codeload.github.com/tylearymf/unihacker-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylearymf%2Funihacker-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266694573,"owners_count":23969795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci","docker","unihacker"],"created_at":"2024-11-16T21:24:08.939Z","updated_at":"2025-07-23T14:34:26.580Z","avatar_url":"https://github.com/tylearymf.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unihacker-docker [English Doc](https://github.com/tylearymf/unihacker-docker/blob/main/README_EN.md)\n\n[![Docker Stars](https://img.shields.io/docker/stars/tylearymf/unihacker.svg)](https://hub.docker.com/r/tylearymf/unihacker)\n[![Docker Pulls](https://img.shields.io/docker/pulls/tylearymf/unihacker.svg)](https://hub.docker.com/r/tylearymf/unihacker)\n\n[UniHacker](https://github.com/tylearymf/UniHacker)\n\n# Docker 镜像\n\n[unihacker image](https://hub.docker.com/r/tylearymf/unihacker)\n\n[unity image](https://hub.docker.com/r/unityci/editor)\n\n# 前置步骤\n\n## 运行Unity必须指定volume \n\n* volume opt ：用于查找 Unity 文件\n* volume root ：用于生成许可证文件\n\n```\n1. docker volume create \u003cunity volume name\u003e\n2. docker volume create \u003cunity license volume name\u003e\n3. docker run -it -v \u003cunity volume name\u003e:/opt -v \u003cunity license volume name\u003e:/root --name=\u003cunity container name\u003e unityci/editor:\u003cunity tag\u003e\n\n如：\n1. docker volume create unity2021.3.12f1-android\n2. docker volume create unitylicense\n3. docker run -it -v unity2021.3.12f1-android:/opt -v unitylicense:/root --name=unity-2021.3.12f1-android unityci/editor:ubuntu-2021.3.12f1-android-1.0.1\n```\n\n## 运行UnityHub必须指定Volume\n\n* volume opt : 用于查找 Unity Hub 文件\n\n```\n1. docker volume create \u003cunity hub volume name\u003e\n2. docker run -it -v \u003cunity hub volume name\u003e:/opt --name=\u003cUnity container name\u003e unityci/editor:\u003cunity tag\u003e\n\n如：\n1. docker volume create unityhub3.0.0\n2. docker run -it -v unityhub3.0.0:/opt --name=unity-hub1 unityci/hub:latest\n```\n\n# 使用说明\n\n## UNITY 环境变量\n\n* UNITY_PATH\n\n  * Unity文件路径，如 'opt/unity/Editor/Unity'\n* 默认值：无\n\n## UNITY HUB 环境变量\n\n* HUB_PATH\n  * Unity Hub文件路径，如 'opt/unityhub/unityhub'\n  * 默认值：无\n* NEED_LOGIN\n  * 是否需要登录，如 'True' 或 'False'，忽略大小写\n  * 默认值：False\n* DISABLE_UPDATE\n  * 是否禁用更新，如 ’True‘ 或 ’False‘，忽略大小写\n  * 默认值：False\n\n## 公共环境变量\n\n* EXEC_METHOD\n\n  * 执行哪个方法\n  * PATCH\n    * 执行破解\n  * RESTORE\n    * 执行还原\n  * CHECK\n    * 查看状态\n\n## UNITY 命令说明\n\n```\ndocker run --rm -it --name=unihacker -e UNITY_PATH=\u003cUnity路径\u003e -e EXEC_METHOD=\u003c要执行的方法\u003e --volumes-from \u003cUnity的容器名\u003e tylearymf/unihacker latest\n\n如：docker run --rm -it --name=unihacker --volumes-from unity-2021.3.12f1-android -e UNITY_PATH=/opt/unity/Editor/Unity -e EXEC_METHOD=PATCH tylearymf/unihacker latest\n```\n\n## UNITY HUB 命令说明\n\n```\ndocker run --rm -it --name=unihacker -e HUB_PATH=\u003cUnityHub路径\u003e -e EXEC_METHOD=\u003c要执行的方法\u003e -e NEED_LOGIN=\u003c是否需要登录\u003e -e DISABLE_UPDATE=\u003c是否禁用更新\u003e --volumes-from \u003cUnityHub的容器名\u003e tylearymf/unihacker latest\n\n如：docker run --rm -it --name=unihacker -e HUB_PATH=/opt/unityhub/unityhub -e EXEC_METHOD=PATCH -e NEED_LOGIN=True -e DISABLE_UPDATE=True --volumes-from unity-hub1 tylearymf/unihacker latest\n\n如：docker run --rm -it --name=unihacker -e HUB_PATH=/opt/unityhub/unityhub -e EXEC_METHOD=PATCH --volumes-from unity-hub1 tylearymf/unihacker latest\n```\n\n# 注意\n\n最后，在破解Unity后，你需要在Unity容器中执行下这个命令\n\n```\nchmod +x \u003cUnity路径\u003e/Editor/Unity\n\n如：chmod +x /opt/unity/Editor/Unity\n```\n\n# 免责声明\n\n本软件的任何使用仅用于非营利性的教育和测试目的。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylearymf%2Funihacker-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylearymf%2Funihacker-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylearymf%2Funihacker-docker/lists"}