-
-
Notifications
You must be signed in to change notification settings - Fork 23.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into WSA
- Loading branch information
Showing
56 changed files
with
1,909 additions
and
1,289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
*.py text eol=lf | ||
*.sh text eol=lf | ||
*.exe binary | ||
*.apk binary | ||
*.so binary | ||
*.xml text eol=crlf | ||
*.bat text eol=crlf | ||
*.ps1 text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Lock closed issue | ||
|
||
on: | ||
issues: | ||
types: [closed] | ||
|
||
jobs: | ||
lock: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: OSDKDev/lock-issues@v1 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: 'Lock Threads' | ||
|
||
on: | ||
issues: | ||
types: [closed] | ||
pull_request: | ||
types: [closed] | ||
workflow_dispatch: | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
concurrency: | ||
group: lock | ||
|
||
jobs: | ||
action: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dessant/lock-threads@v4 | ||
with: | ||
exclude-any-issue-labels: 'do-not-autoclose' | ||
exclude-any-pr-labels: 'do-not-autoclose' | ||
include-any-pr-labels: 'spam' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: PSScript checker | ||
|
||
on: | ||
push: | ||
paths: | ||
- '**.ps1' | ||
- '.github/workflows/ps2check.yml' | ||
pull_request: | ||
paths: | ||
- '**.ps1' | ||
- '.github/workflows/ps2check.yml' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
shellcheck: | ||
runs-on: windows-latest | ||
steps: | ||
- name : Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run PSScriptAnalyzer | ||
uses: microsoft/[email protected] | ||
with: | ||
path: .\installer | ||
recurse: true | ||
includeDefaultRules: true | ||
enableExit: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Shell checker | ||
|
||
on: | ||
push: | ||
paths: | ||
- '**.sh' | ||
- '.github/workflows/shellcheck.yml' | ||
pull_request: | ||
paths: | ||
- '**.sh' | ||
- '.github/workflows/shellcheck.yml' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
shellcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name : Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run ShellCheck | ||
id: check | ||
uses: ludeeus/action-shellcheck@master | ||
with: | ||
scandir: './scripts' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
download | ||
output | ||
python3-env | ||
token |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Install KernelSU | ||
|
||
## Install Manager | ||
|
||
1. Download KernelSU Manager from [![Build Manager](https://github.com/tiann/KernelSU/actions/workflows/build-manager.yml/badge.svg?event=push)](https://github.com/tiann/KernelSU/actions/workflows/build-manager.yml?query=event%3Apush+is%3Acompleted+branch%3Amain) (Download the artifact named `manager`). | ||
|
||
1. Unzip the downloaded zip package and get the manager apk named `KernelSU_vx.x.x-xx-.....apk`. | ||
|
||
1. Use the command `adb install <apkname>.apk` to install the manager. | ||
|
||
## Install Kernel | ||
|
||
1. Download pre-build kernel from [![Build Kernel - WSA](https://github.com/tiann/KernelSU/actions/workflows/build-kernel-wsa.yml/badge.svg?event=push)](https://github.com/tiann/KernelSU/actions/workflows/build-kernel-wsa.yml?query=branch%3Amain+event%3Apush+is%3Acompleted) (Remember to download the same architecture). | ||
|
||
1. Unzip the downloaded zip package and get the kernel file named `bzImage`. | ||
|
||
1. Replace the kernel in the folder named `Tools` in the WSA directory with `bzImage`. | ||
|
||
1. Restart WSA and then enjoy. |
Oops, something went wrong.