Skip to content

Instantly share code, notes, and snippets.

View natsumerinchan's full-sized avatar
⚒️

Celica Sylphil natsumerinchan

⚒️
View GitHub Profile

Module Installer

These scripts are used to install Magisk/KernelSU modules to Android Device by PC

You should install platform-tools(include adb,fastboot...) at first.

module_installer.ps1 : Support Windows,Linux and Mac.(Need install powershell
and type Set-ExecutionPolicy RemoteSigned,Mac has not tested.)

module_installer.sh : Support Linux.

#!/bin/bash
set -eux
if [ ! "$1" ]; then
echo No text!
else
echo "$1"
fi
From 45735c0f8ff96a1d1c14373b3e4a7aff6aeb0c1d Mon Sep 17 00:00:00 2001
From: DozNaka <[email protected]>
Date: Mon, 11 Apr 2022 20:43:45 -0400
Subject: [PATCH] Makefile: Use CCACHE for faster compilation
---
Makefile | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/Makefile b/Makefile
name: Apk Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
@natsumerinchan
natsumerinchan / bilibili-daily-task.yml
Created May 23, 2023 05:11
BiliBili Auto Checkin
# 每日任务
name: bilibili-daily-task
on:
workflow_dispatch: # 手动触发
schedule: # 计划任务触发
- cron: '0 0 * * *'
name: Android NDK CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
#!/bin/sh
set -eux
GKI_ROOT=$(pwd)
echo "[+] GKI_ROOT: $GKI_ROOT"
if test -d "$GKI_ROOT/common/drivers"; then
DRIVER_DIR="$GKI_ROOT/common/drivers"
elif test -d "$GKI_ROOT/drivers"; then
#!/bin/bash
#Install Latest Stable 1Panel Release
osCheck=`uname -a`
if [[ $osCheck =~ 'x86_64' ]];then
architecture="amd64"
elif [[ $osCheck =~ 'arm64' ]] || [[ $osCheck =~ 'aarch64' ]];then
architecture="arm64"
elif [[ $osCheck =~ 'armv7l' ]];then
architecture="armv7"