Skip to content

Commit 4bd3b7f

Browse files
SAPTeamDEVSAPTeamDEV
authored andcommitted
Rebase from Custiful
1 parent 75f88ab commit 4bd3b7f

File tree

13 files changed

+67844
-104
lines changed

13 files changed

+67844
-104
lines changed

.github/workflows/main.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# # This is a basic workflow to help you get started with Actions
2+
3+
# name: CI
4+
5+
# # Controls when the workflow will run
6+
# on:
7+
# # Triggers the workflow on push or pull request events but only for the "master" branch
8+
# push:
9+
# branches: [ "master" ]
10+
# pull_request:
11+
# branches: [ "master" ]
12+
13+
# # Allows you to run this workflow manually from the Actions tab
14+
# workflow_dispatch:
15+
16+
# # A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
# jobs:
18+
# # This workflow contains a single job called "build"
19+
# build:
20+
# # The type of runner that the job will run on
21+
# runs-on: ubuntu-latest
22+
23+
# # Steps represent a sequence of tasks that will be executed as part of the job
24+
# steps:
25+
# # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26+
# - uses: actions/checkout@v3
27+
28+
# # Runs a single command using the runners shell
29+
# - name: Run a one-line script
30+
# run: echo Hello, world!
31+
32+
# # Runs a set of commands using the runners shell
33+
# - name: Run a multi-line script
34+
# run: |
35+
# echo Add other actions to build,
36+
# echo test, and deploy your project.
37+
38+
name: Create Archive
39+
on:
40+
push:
41+
tags:
42+
- '*'
43+
jobs:
44+
build:
45+
runs-on: ubuntu-latest
46+
permissions:
47+
contents: write
48+
steps:
49+
- uses: actions/checkout@master
50+
- name: Archive Release
51+
uses: thedoctor0/zip-release@main
52+
with:
53+
type: 'zip'
54+
filename: 'Custiful-MIUI.zip'
55+
exclusions: '*.git* /*node_modules/* .editorconfig changelog.md Custiful-MIUI.json LICENSE'
56+
57+
- name: Upload Release
58+
uses: ncipollo/release-action@v1
59+
with:
60+
artifacts: "Custiful-MIUI.zip"
61+
token: ${{ secrets.GITHUB_TOKEN }}
62+
draft: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
__MACOSX
22
.DS_Store
3+
Custiful-MIUI.zip

Custiful-MIUI.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"version": "1.0",
3+
"versionCode": 10,
4+
"zipUrl": "https://github.com/SAPTeamDEV/Custiful-MIUI/releases/latest/download/Custiful-MIUI.zip",
5+
"changelog": "https://raw.githubusercontent.com/SAPTeamDEV/Custiful-MIUI/master/changelog.md"
6+
}

README.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

changelog.md

Lines changed: 3 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,3 @@
1-
### v2.0 - 1.29.2022
2-
* Update for magisk 24
3-
* Added zygisk module support
4-
* Misc fixes
5-
6-
### v1.8 - 11.21.2021
7-
* Fix for magisk canary
8-
* Minimum magisk version now 20.4
9-
10-
### v1.7 - 9.9.2021
11-
* Small fix for magisk canary
12-
13-
### v1.6 - 9.12.2020
14-
* Updates for latest magisk - minmagisk is 20 now
15-
* Added back ro.build.product to device_check for older roms
16-
* Moved credits so it'll work with latest magisk mod template
17-
18-
### v1.5 - 3.27.2020
19-
* Have debug log be part of regular log, remove superfluous stuff, module dev can just add what they want
20-
* Removed addon runtime confusion - all scripts are install.sh now
21-
* Added manufacturer option to device_check
22-
* Fixes for Magisk 20.4
23-
24-
### v1.4 - 2.20.2020
25-
* Add more vendor perms
26-
* Fixed uninstall.sh script install behavior - it'll install if there's files outside of modpath or if there's custom logic at the top of it
27-
* Misc bug fixes
28-
29-
### v1.3 - 1.22.2020
30-
* Move debug log to same location as magisk log - Download folder
31-
* Add proper chcon for vendor files - fixes various issues with audioflinger and maybe more with android Q
32-
* Remove empty folders after moving files for DYNLIB
33-
* Fix api check bug
34-
35-
### v1.2 - 1.17.2020
36-
* Fixed bug in debug log
37-
* Fixed DYNLIB so it won't move empty files (replacements) to vendor
38-
* Magisk manager only installs now - will automatically remove module if flashed in recovery
39-
* Removed extra crap that was needed for recovery installs
40-
* Removed common/uninstall and upgrade scripts, no need for them anymore
41-
* Removed mount_part function - no need for it now since recovery is no longer supported - just remount partition as rw
42-
* More in line with regular magisk module template now - flashing zip always installs/upgrades mod. To uninstall, use magisk manager
43-
44-
### v1.1 - 1.11.2020
45-
* No longer use .core - it'll be deprecated soon
46-
* Fix for uninstall
47-
* Fix bug in debug function during uninstalls
48-
* Misc fixes
49-
50-
### v1.0 - 1.4.2020
51-
* Initial release
1+
### v1.0
2+
* Initial release.
3+
* Rebase codes from Custiful Repo.

common/addon/placeholder

Whitespace-only changes.

common/functions.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ prop_process() {
106106
}
107107

108108
# Credits
109-
ui_print "**************************************"
110-
ui_print "* MMT Extended by Zackptg5 @ XDA *"
111-
ui_print "**************************************"
112-
ui_print " "
109+
# ui_print "**************************************"
110+
# ui_print "* MMT Extended by Zackptg5 @ XDA *"
111+
# ui_print "**************************************"
112+
# ui_print " "
113113

114114
# Check for min/max api version
115115
[ -z $MINAPI ] || { [ $API -lt $MINAPI ] && abort "! Your system API of $API is less than the minimum api of $MINAPI! Aborting!"; }

common/install.sh

Whitespace-only changes.

module.prop

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
id=MMT-Ex
2-
name=Magisk Module Template Extended
3-
version=v2.0
1+
id=Custiful-MIUI
2+
name=Custiful - Custom Beautiful Mods - MIUI Edition
3+
version=v1.0
44
versionCode=10
5-
author=Zackptg5
6-
description=Magisk Module Template Extended
7-
updateJson=https://raw.githubusercontent.com/Zackptg5/MMT-Extended/master/update.json
5+
author=SAP Team
6+
description=Make your device better by changing something in your device.
7+
updateJson=https://raw.githubusercontent.com/SAPTeamDEV/Custiful-MIUI/master/Custiful-MIUI.json

0 commit comments

Comments
 (0)