mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-23 18:27:35 +01:00
Windows build fix (skip checking files in /values* for test application).
I didn't tracked down where the issue comes from and whether this is expected behaviour (actually I doubt). But when building on Windows, the test trys to create a strings.xml in "values-mcc004-mnc4-en-rUS-ldrtl-sw100dp-w200dp-h300dp-xlarge-long-land-desk-night-xhdpi-finger-keyssoft-12key-navhidden-dpad". This exceeds the max length for file/directory names in Windows and therefore the build aborts.
Because this was currently the only issue that breaks building on Windows (when 073019fa54
is applied), this workaround should do the trick (for now).
This commit is contained in:
parent
073019fa54
commit
98ed17ca9d
@ -161,10 +161,12 @@ public class BuildAndDecodeTest {
|
||||
|
||||
@Test
|
||||
public void qualifiersTest() throws BrutException {
|
||||
if (!System.getProperty("os.name").toLowerCase().contains("windows")) {
|
||||
compareValuesFiles("values-mcc004-mnc4-en-rUS-ldrtl-sw100dp-w200dp-h300dp"
|
||||
+ "-xlarge-long-land-desk-night-xhdpi-finger-keyssoft-12key"
|
||||
+ "-navhidden-dpad/strings.xml");
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void drawableNoDpiTest() throws BrutException, IOException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user