Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bissanim committed Oct 23, 2022
0 parents commit 1712c4c
Show file tree
Hide file tree
Showing 42 changed files with 3,341 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.sh text eol=lf
*.exe binary
*.apk binary
*.so binary
*.xml text eol=crlf
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [yujincheng08]
88 changes: 88 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Bug report/反馈 Bug
description: Report errors or unexpected behavior./反馈错误或异常行为。
labels: [bug]
title: "[Bug] Short description."
body:
- type: markdown
attributes:
value: |
Thanks for reporting issues of MagiskOnWSALocal!
To make it easier for us to help you please enter detailed information below.
感谢给 MagiskOnWSALocal 汇报问题!
为了使我们更好地帮助你,请提供以下信息。
为了防止重复汇报,标题请务必使用英文。
- type: textarea
attributes:
label: Steps to reproduce/复现步骤
value: |
1.
2.
3.
validations:
required: true
- type: textarea
attributes:
label: Expected behaviour/预期行为
placeholder: Tell us what should happen/正常情况下应该发生什么
validations:
required: true
- type: textarea
attributes:
label: Actual behaviour/实际行为
placeholder: Tell us what happens instead/实际上发生了什么
validations:
required: true
- type: input
attributes:
label: MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希
description: Don't use 'latest'. Copy and paste full commit SHA, otherwise your issue will be closed./不要填用“最新”。复制并粘贴完整 commit SHA,不然 issue 会被关闭。
validations:
required: true
- type: textarea
attributes:
label: Linux distribution info/Linux 发行版信息
validations:
required: true
- type: input
attributes:
label: Windows version/Windows 版本
placeholder: 10.0.22000.978
validations:
required: true
- type: textarea
attributes:
label: Build Parameters/构建参数
description: The script prints the build information each time you start a build. It looks like this, please copy and paste it./每次开始构建时脚本都会打印构建信息,它看起来是这样的,请复制并粘贴上来。
placeholder: |
COMMAND_LINE=--arch x64 --release-type retail --magisk-ver stable --gapps-brand MindTheGapps --gapps-variant pico --root-sol magisk
INFO: Architecture: x64
INFO: Release Type: retail
INFO: Magisk Version: stable
INFO: GApps Brand: MindTheGapps
INFO: GApps Variant: pico
INFO: Root Solution: magisk
Build: RELEASE_TYPE=Retail
validations:
required: true
- type: checkboxes
id: latest
attributes:
label: Version requirement/版本要求
options:
- label: I am using latest commit of MagiskOnWSALocal/我正在使用最新 commit 的版本
required: true
- type: textarea
attributes:
label: Logs/日志
description: Please copy and paste the error or submit a screenshot. Without log, the issue will be closed. /请复制粘贴错误或提交截图。无日志提交会被关闭。
value: |
<details>
<summary>Details</summary>
</details>
validations:
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question/提问
url: https://github.com/LSPosed/MagiskOnWSALocal/discussions/new?category=Q-A
about: Please ask and answer questions here./如果有任何疑问请在这里提问
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Feature request/新特性请求
description: Suggest an idea./提出建议
labels: [enhancement]
title: "[Feature Request] Short description."
body:
- type: textarea
attributes:
label: Is your feature request related to a problem?/你的请求是否与某个问题相关?
placeholder: A clear and concise description of what the problem is./请清晰准确表述该问题。
validations:
required: true
- type: textarea
attributes:
label: Describe the solution you'd like/描述你想要的解决方案
placeholder: A clear and concise description of what you want to happen./请清晰准确描述新特性的预期行为
validations:
required: true
- type: textarea
attributes:
label: Additional context/其他信息
placeholder: Add any other context or screenshots about the feature request here./其他关于新特性的信息或者截图
validations:
required: false
11 changes: 11 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!--
Please include a summary of the change and which issue is fixed.
Also make sure you've tested your code and also done a self-review of it.
DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.
-->

Checklist

- [ ] Referenced all related issues in the PR body (e.g. "Closes #xyz")
- [ ] Have tested the modifications
27 changes: 27 additions & 0 deletions .github/workflows/issue_moderator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Issue moderator

on:
issues:
types: [opened]
pull_request:
types: [opened, edited]

jobs:
autoclose:
runs-on: ubuntu-latest
steps:
- name: Check issue
uses: tachiyomiorg/issue-moderator-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
auto-close-rules: |
[
{
"type": "title",
"regex": ".*Short description.*",
"message": "You did not fill out the description in the title"
}
]
auto-close-ignore-label: do-not-autoclose
- name: Check PR
uses: sumally/github-check-tasklist-action@v1
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
download
output
15 changes: 15 additions & 0 deletions Custom-GApps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# How to install custom GApps

1. Build WSA without gapps to let the script download needed files

`./build.sh --gapps-brand none`
1.
- For OpenGApps

Place custom OpenGApps to `download` folder and rename to `OpenGApps-{arch}-{variant}.zip` (e.g. `OpenGApps-x64-pico.zip`)
- For MindTheGapps

Place custom MindTheGapps to `download` folder and rename to `MindTheGapps-{arch}.zip` (e.g. `MindTheGapps-x64.zip`)
1. Build WSA offline

`./build.sh --offline --gapps-brand {brand} --gapps-variant {variant}`
Loading

0 comments on commit 1712c4c

Please sign in to comment.