mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-06 10:45:47 +08:00
Update Related instructions
This commit is contained in:
@@ -162,6 +162,10 @@ class YukiHookXposedProcessor : SymbolProcessorProvider {
|
|||||||
environment {
|
environment {
|
||||||
if (codePath.isBlank()) error(msg = "Project CodePath not available")
|
if (codePath.isBlank()) error(msg = "Project CodePath not available")
|
||||||
if (sourcePath.isBlank()) error(msg = "Project SourcePath not available")
|
if (sourcePath.isBlank()) error(msg = "Project SourcePath not available")
|
||||||
|
/**
|
||||||
|
* Gradle 在这里自动处理了 Windows 和 Unix 下的反斜杠路径问题
|
||||||
|
* 为了防止万一还是做了一下反斜杠处理防止旧版本不支持此用法
|
||||||
|
*/
|
||||||
val separator = when {
|
val separator = when {
|
||||||
codePath.contains("\\") -> "\\"
|
codePath.contains("\\") -> "\\"
|
||||||
codePath.contains("/") -> "/"
|
codePath.contains("/") -> "/"
|
||||||
|
Reference in New Issue
Block a user