Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into WSA
Browse files Browse the repository at this point in the history
  • Loading branch information
Minchitthukohtet committed Oct 12, 2024
2 parents c70eb19 + 599e027 commit f10a2e8
Show file tree
Hide file tree
Showing 56 changed files with 1,909 additions and 1,289 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
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
11 changes: 7 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,13 @@ body:
description: Please copy and paste the error or submit a screenshot. Without log, the issue will be closed. /请复制粘贴错误或提交截图。无日志提交会被关闭。
value: |
<details>
<summary>Details</summary>
[//]: <> (Don't modify above)
```
# Replace this line with the log / 将此行用日志替换
```
[//]: <> (Don't modify below)
</details>
validations:
required: true
2 changes: 1 addition & 1 deletion .github/workflows/issue_moderator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check issue
uses: tachiyomiorg/issue-moderator-action@v1
uses: tachiyomiorg/issue-moderator-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
auto-close-rules: |
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/lock-closed-issues.yml
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 }}"
25 changes: 25 additions & 0 deletions .github/workflows/lock.yml
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'
27 changes: 27 additions & 0 deletions .github/workflows/ps2check.yml
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
25 changes: 25 additions & 0 deletions .github/workflows/shellcheck.yml
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'
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
download
output
python3-env
token
135 changes: 0 additions & 135 deletions README.md

This file was deleted.

Binary file removed arm64/gapps/priv-app/SetupWizard/SetupWizard.apk
Binary file not shown.
Binary file removed arm64/gapps/product/overlay/GoogleWebViewOverlay.apk
Binary file not shown.
Binary file not shown.
Binary file removed arm64/system/system/priv-app/WSAHelper/WSAHelper.apk
Binary file not shown.
Binary file added bin/arm64/lspinit
Binary file not shown.
Binary file added bin/arm64/makepri.exe
Binary file not shown.
Binary file added bin/x64/lspinit
Binary file not shown.
Binary file added bin/x64/makepri.exe
Binary file not shown.
File renamed without changes.
19 changes: 19 additions & 0 deletions docs/KernelSU.md
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.
Loading

0 comments on commit f10a2e8

Please sign in to comment.