Skip to content

Commit

Permalink
v2022.10.20.7 (#5)
Browse files Browse the repository at this point in the history
- 重构UI,减少对弹出框权限的依赖,菜单项加入描述信息、图标	-
- 权限获取功能重构,修复不能正确请求权限的bug
- 增加若干可卸载APP
- 增加若干去广告APP
  • Loading branch information
gucong3000 authored Oct 20, 2022
1 parent 20aba51 commit ae06130
Show file tree
Hide file tree
Showing 48 changed files with 2,802 additions and 1,683 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ insert_final_newline = true

[**/*.{cmd,bat}]
end_of_line = crlf

[**/*.{yml,yaml}]
indent_style = space
indent_size = 2
45 changes: 3 additions & 42 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ module.exports = {
},
},
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly",
colors: true,
com: true,
org: true,
importClass: true,
storages: true,
device: true,
Expand All @@ -27,25 +26,12 @@ module.exports = {
runtime: true,
java: true,
importPackage: true,
YuvImage: true,
ImageFormat: true,
ui: true,
View: true,
activity: true,
context: true,
ObjectAnimator: true,
BinaryBitmap: true,
HybridBinarizer: true,
RGBLuminanceSource: true,
MultiFormatReader: true,
sleep: true,
android: true,
Paint: true,
PorterDuffXfermode: true,
PorterDuff: true,
toastLog: true,
ByteArrayOutputStream: true,
Rect: true,
ActivityCompat: true,
files: true,
requestScreenCapture: true,
http: true,
Expand All @@ -54,21 +40,15 @@ module.exports = {
random: true,
events: true,
press: true,
Tap: true,
gesture: true,
Swipe: true,
getPackageName: true,
shell: true,
floaty: true,
currentPackage: true,
Canvas: true,
launch: true,
FileOutputStream: true,
app: true,
images: true,
launchApp: true,
Bitmap: true,
Buffer: true,
idEndsWith: true,
textEndsWith: true,
descEndsWith: true,
Expand All @@ -79,33 +59,13 @@ module.exports = {
id: true,
desc: true,
descStartsWith: true,
AnimatorSet: true,
click: true,
PendingIntent: true,
dialogs: true,
auto: true,
setClip: true,
Context: true,
getClip: true,
DevicePolicyManager: true,
Intent: true,
ComponentName: true,
Cipher: true,
IvParameterSpec: true,
SecretKeySpec: true,
javax: true,
BASE64Decoder: true,
NotificationManager: true,
NotificationChannel: true,
Uri: true,
media: true,
ServerSocket: true,
DataInputStream: true,
DataOutputStream: true,
Socket: true,
JavaAdapter: true,
WebChromeClient: true,
ValueCallback: true,
captureScreen: true,
timers: true,
selector: true,
Expand All @@ -114,6 +74,7 @@ module.exports = {
waitForActivity: true,
waitForPackage: true,
currentActivity: true,
__non_webpack_require__: true,
DEBUG: true,
},
rules: {
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,44 @@ jobs:
run: |
npm install
npm run build
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: true
prerelease: true

- name: Upload Batch
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./dist/miui_cleaner_cmd/MiuiCleaner.cmd
asset_name: MiuiCleaner.cmd
asset_content_type: text/plain

- name: Upload JavaScript Main
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./dist/miui_cleaner_app/main.js
asset_name: main.js
asset_content_type: text/javascript

- name: Upload JavaScript Service
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./dist/miui_cleaner_app/services.js
asset_name: services.js
asset_content_type: text/javascript
185 changes: 180 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,66 @@
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
# Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,node
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode,node
# Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,node,linux,androidstudio,android
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode,node,linux,androidstudio,android

### Android ###
# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Log/OS Files
*.log

# Android Studio generated files and folders
captures/
.externalNativeBuild/
.cxx/
*.apk
output.json

# IntelliJ
*.iml
.idea/
misc.xml
deploymentTargetDropDown.xml
render.experimental.xml

# Keystore files
*.jks
*.keystore

# Google Services (e.g. APIs or Firebase)
google-services.json

# Android Profiling
*.hprof

### Android Patch ###
gen-external-apklibs

# Replacement of .externalNativeBuild directories introduced
# with Android Studio 3.5.

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
Expand Down Expand Up @@ -193,9 +248,129 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,node
### AndroidStudio ###
# Covers files to be ignored for android development using Android Studio.

# Built application files
*.ap_
*.aab

# Files for the ART/Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin/
gen/
out/

# Gradle files
.gradle

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
# Signing files
.signing/

# Local configuration file (sdk path, etc)

# Proguard folder generated by Eclipse
proguard/

# Log Files

# Android Studio
/*/build/
/*/local.properties
/*/out
/*/*/build
/*/*/production
.navigation/
*.ipr
*.swp

# Keystore files

# Google Services (e.g. APIs or Firebase)
# google-services.json

# Android Patch

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild

# NDK
obj/

# IntelliJ IDEA
*.iws
/out/

# User-specific configurations
.idea/caches/
.idea/libraries/
.idea/shelf/
.idea/workspace.xml
.idea/tasks.xml
.idea/.name
.idea/compiler.xml
.idea/copyright/profiles_settings.xml
.idea/encodings.xml
.idea/misc.xml
.idea/modules.xml
.idea/scopes/scope_settings.xml
.idea/dictionaries
.idea/vcs.xml
.idea/jsLibraryMappings.xml
.idea/datasources.xml
.idea/dataSources.ids
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml
.idea/assetWizardSettings.xml
.idea/gradle.xml
.idea/jarRepositories.xml
.idea/navEditor.xml

# Legacy Eclipse project files
.classpath
.project
.cproject
.settings/

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.war
*.ear

# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
hs_err_pid*

## Plugin-specific files:

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Mongo Explorer plugin
.idea/mongoSettings.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

### AndroidStudio Patch ###

!/gradle/wrapper/gradle-wrapper.jar

# End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,node,linux,androidstudio,android

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

window_dump.xml
Loading

0 comments on commit ae06130

Please sign in to comment.