Skip to content

Commit

Permalink
1.6.1 Release & Add log timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-TSNG committed May 16, 2021
1 parent bcd81bd commit 9ca7145
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 46 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ android {
applicationId "com.tsng.hidemyapplist"
minSdkVersion 24
targetSdkVersion 30
versionCode 31
versionName "1.6.Beta5"
buildConfigField "int", "SERVICE_VERSION", "31"
versionCode 32
versionName "1.6.1"
buildConfigField "int", "SERVICE_VERSION", "32"
}

android.applicationVariants.all {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import java.io.FileNotFoundException
import java.io.FileReader
import java.io.FileWriter
import java.lang.reflect.Method
import java.text.SimpleDateFormat
import java.util.*
import kotlin.concurrent.thread

class PackageManagerService : IXposedHookLoadPackage {
Expand All @@ -45,7 +47,8 @@ class PackageManagerService : IXposedHookLoadPackage {
synchronized(mLock) {
val logFile = File("$dataDir/runtime.log")
if (logFile.length() / 1024 > config.MaxLogSize) logFile.delete()
FileWriter(logFile, true).use { it.appendLine(log) }
val date = SimpleDateFormat("yyyy-MM-dd HH:mm:ss ", Locale.getDefault()).format(Date())
FileWriter(logFile, true).use { it.appendLine(date + log) }
}
}

Expand Down
12 changes: 4 additions & 8 deletions updates/latest_version.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"Stable": {
"VersionCode": 25,
"VersionName": "V1.5.4",
"DownloadURL": "https://github.com/Dr-TSNG/Hide-My-Applist/releases/tag/V1.5.4"
"VersionCode": 32,
"VersionName": "V1.6.1",
"DownloadURL": "https://github.com/Dr-TSNG/Hide-My-Applist/releases/tag/V1.6.1"
},
"Beta": {
"VersionCode": 31,
"VersionName": "V1.6.Beta5",
"DownloadURL": "https://github.com/Dr-TSNG/Hide-My-Applist/releases/tag/V1.6.Beta5"
}
"Beta": false
}
25 changes: 8 additions & 17 deletions updates/stable-en.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
<b>Please read the about page carefully!</b><br/>
<b>Tint: Except for intercepting file detections, there is no need to check target apps in Xposed module scope</b><br/>
<b>V1.5.4</b>
<p>Add update check</p>
<p>Fix some bugs</p>
<b>V1.5.3.2</b>
<p>Fix file detection bugs</p>
<b>V1.5.3.1</b>
<p>Add syscall detections (Impossible to intercept for a while)</p>
<p>Add invalid template name notification</p>
<p>Make search bar case insensitive</p>
<b>V1.5.3</b>
<p>Add hide module icon in launcher option</p>
<p>Add stop system service option</p>
<p>Add interception counts</p>
<p>No longer need to allow module app autostart</p>
<b>V1.5.2.1</b>
<p>Change file interception strategies to prevent some crashes</p>
<p>Fix intent queries interception not work on realme devices</p>
<b>V1.6.1</b>
<p>Change some colors</p>
<p>Add log page</p>
<p>Add /data/data/packagename detections</p>
<p>Add whitelist function, remove hide all apps option <font color="red">(For who checked "Hide all apps", you should switch the template to whitelist mode manually)</font></p>
<p>Remove exclude webview option, add exclude system apps option (Use with whitelist)</p>
<p>Remove hide TWRP option</p>
<p>Fix a regex bug</p>
25 changes: 8 additions & 17 deletions updates/stable-zh.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
<b>请仔细阅读关于页面的使用帮助!</b><br/>
<b>提示:除了拦截文件检测外,不需要在EdXposed/LSPosed作用域中勾选目标APP</b><br/>
<b>V1.5.4</b>
<p>添加更新检测</p>
<p>修复一些bug</p>
<b>V1.5.3.2</b>
<p>修复文件检测bug</p>
<b>V1.5.3.1</b>
<p>添加syscall检测</p>
<p>添加非法模板名提示</p>
<p>搜索框不区分大小写</p>
<b>V1.5.3</b>
<p>添加隐藏桌面图标功能</p>
<p>添加停止系统服务功能</p>
<p>添加拦截次数统计</p>
<p>加入配置缓存,不再需要自启动</p>
<b>V1.5.2.1</b>
<p>更改文件拦截策略,解决部分qq模块(QN、QQCleaner)崩溃的问题(用pm的模块照样会炸)</p>
<p>修复intent queries拦截在realme手机上失效的问题</p>
<b>V1.6.1</b>
<p>修改一些配色</p>
<p>增加日志功能</p>
<p>加入/data/data/packagename检测</p>
<p>增加白名单功能,移除隐藏所有app选项<font color="red">(之前勾选了隐藏所有app的请手动把模板设成白名单模式)</font></p>
<p>移除排除Webview选项,增加排除系统应用选项(和白名单配合使用)</p>
<p>移除隐藏TWRP</p>
<p>修复正则bug</p>

0 comments on commit 9ca7145

Please sign in to comment.