Skip to content

Commit f6aeb5c

Browse files
committed
v5.0.0 release
1 parent 83f4ed1 commit f6aeb5c

19 files changed

Lines changed: 27 additions & 22 deletions

changelog.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
# v4.0.0 - August 31, 2022
1+
# v5.0.0 - November 06, 2022
22

33
## Highlights
44

5-
- Support for Screen Recorder
6-
- Support for Sound Recorder
7-
- Support for MIUI Package Installer
8-
- Support for Permissions Manager
5+
- Support for Calculator
6+
- Support for Clock
7+
- Support for Xiaomi Account
98

109
## Other changes
1110

12-
- Design improvements
11+
- Design improvements, updates & fixes
1312

1413
---
1514

1.44 KB
Binary file not shown.
202 Bytes
Binary file not shown.
325 Bytes
Binary file not shown.

customize.sh

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SKIPUNZIP=1
1+
SKIPUNZIP=0
22
SKIPMOUNT=false
33
Manufacturer=$(getprop ro.product.vendor.manufacturer)
44
Codename=$(getprop ro.product.device)
@@ -7,6 +7,7 @@ Build=$(getprop ro.build.version.incremental)
77
Android=$(getprop ro.build.version.release)
88
CPU_ABI=$(getprop ro.product.cpu.abi)
99
MIUI=$(getprop ro.miui.ui.version.code)
10+
MODVER=`grep_prop version $MODPATH/module.prop`
1011
MINMIUI=13
1112
MINSDK=31
1213
MAXSDK=0
@@ -15,7 +16,7 @@ MAXSDK=0
1516
print_modname() {
1617
ui_print " "
1718
ui_print "===================================================="
18-
ui_print " MIUI Monet Project"
19+
ui_print " MIUI Monet Project $MODVER"
1920
ui_print " "
2021
sleep 0.05
2122
ui_print " If you have any bugs or issues, please report to"
@@ -34,7 +35,7 @@ install_files() {
3435
. $MODPATH/addon/Volume-Key-Selector/install.sh
3536

3637
ui_print " "
37-
ui_print "- What version for settings app would you like"
38+
ui_print "- What version for Settings app would you like"
3839
ui_print " to install?"
3940
ui_print " "
4041
ui_print " 1. Default icons"
@@ -67,34 +68,34 @@ install_files() {
6768
sleep 1
6869
cp -rf $MODPATH/common/Settings/${Version}/MonetSettings.apk $MODPATH/system/product/overlay
6970
ui_print " "
70-
ui_print "- $TEXT for settings installed"
71+
ui_print "- $TEXT for Settings app installed"
7172

7273
cleaner=$(pm list packages com.miui.cleanmaster 2>&1)
73-
if [ -n $cleaner ]
74+
if [ ! -z $cleaner ]
7475
then
7576
ui_print " "
76-
ui_print "- Installing for CN Cleaner";
77+
ui_print "- Installing for China Cleaner";
7778
cp -rf $MODPATH/common/Cleaner/MonetCleanMaster.apk $MODPATH/system/product/overlay
7879
fi
7980

8081
cleaner=$(pm list packages com.miui.cleaner 2>&1)
81-
if [ -n $cleaner ]
82+
if [ ! -z $cleaner ]
8283
then
8384
ui_print " "
8485
ui_print "- Installing for Global Cleaner";
8586
cp -rf $MODPATH/common/Cleaner/MonetCleanMasterGlobal.apk $MODPATH/system/product/overlay
8687
fi
8788

8889
fileexplorer=$(pm list packages com.android.fileexplorer 2>&1)
89-
if [ -n $fileexplorer ]
90+
if [ ! -z $fileexplorer ]
9091
then
9192
ui_print " "
92-
ui_print "- Installing for CN File Manager";
93+
ui_print "- Installing for China File Manager";
9394
cp -rf $MODPATH/common/FileExplorer/MonetFileExplorer.apk $MODPATH/system/product/overlay
9495
fi
9596

9697
fileexplorer=$(pm list packages com.mi.android.globalFileexplorer 2>&1)
97-
if [ -n $fileexplorer ]
98+
if [ ! -z $fileexplorer ]
9899
then
99100
ui_print " "
100101
ui_print "- Installing for Global File Manager";
@@ -167,6 +168,7 @@ cleanup() {
167168
rm -rf $MODPATH/addon 2>/dev/null
168169
rm -rf $MODPATH/common 2>/dev/null
169170
rm -f $MODPATH/install.sh 2>/dev/null
171+
rm -f $MODPATH/LICENSE 2>/dev/null
170172

171173
OVERLAYS="`ls $MODPATH/system/product/overlay`"
172174

@@ -199,9 +201,7 @@ print_credits() {
199201
# main installer
200202
run_install() {
201203
ui_print " "
202-
# ui_print "- Extracting module files"
203-
unzip -o "$ZIPFILE" -x 'META-INF/*' -d $MODPATH >&2
204-
#unzip -o "$ZIPFILE" -d $MODPATH >&2
204+
# unzip -o "$ZIPFILE" -x 'META-INF/*' -d $MODPATH >&2
205205
print_modname
206206
sleep 1
207207
ui_print " "

module.prop

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id=MIUIMonetProject
22
name=MIUI Monet Project
3-
version=v4.0.0
4-
versionCode=400
3+
version=v5.0.0
4+
versionCode=500
55
author=Geoorg
6-
description=MIUI Monet Project brings wallpaper-based dynamic theme to MIUI 13 system apps on Android 12. Requires Magisk 24.0+
6+
description=MIUI Monet Project brings wallpaper-based dynamic theme to MIUI 13 system apps on Android 12+. Requires Magisk 24.0+
77
updateJson=https://raw.githubusercontent.com/MIUI-Monet-Project/Module/main/update.json
1.17 KB
Binary file not shown.
295 KB
Binary file not shown.
48.5 KB
Binary file not shown.
115 KB
Binary file not shown.

0 commit comments

Comments
 (0)