mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-19 01:49:32 +08:00
Opt: Use absolute ADB path
- AzurLaneUncensored failed to push when using relative path
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import re
|
||||
|
||||
import numpy as np
|
||||
from PIL import Image
|
||||
|
||||
from module.base.mask import Mask
|
||||
@@ -50,6 +49,7 @@ def handle_sensitive_text(text):
|
||||
str:
|
||||
"""
|
||||
text = re.sub('File \"(.*?)AzurLaneAutoScript', 'File \"C:\\\\fakepath\\\\AzurLaneAutoScript', text)
|
||||
text = re.sub('\[Adb_binary\] (.*?)AzurLaneAutoScript', '[Adb_binary] C:\\\\fakepath\\\\AzurLaneAutoScript', text)
|
||||
return text
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user