Change names of compiled files
This commit is contained in:
parent
a896721754
commit
f84ced34f6
@ -97,7 +97,7 @@ public class SoundManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void loadSounds() {
|
private void loadSounds() {
|
||||||
try (InputStream stream = LibsDisguises.getInstance().getResource("ANTI_PIRACY_ENCODED_WITH_SOUNDS")) {
|
try (InputStream stream = LibsDisguises.getInstance().getResource("ANTI_PIRACY_SECRET_FILE")) {
|
||||||
String[] lines = new String(ReflectionManager.readFully(stream), StandardCharsets.UTF_8).split("\n");
|
String[] lines = new String(ReflectionManager.readFully(stream), StandardCharsets.UTF_8).split("\n");
|
||||||
|
|
||||||
for (String line : lines) {
|
for (String line : lines) {
|
||||||
|
@ -62,7 +62,7 @@ public class CompileMethods {
|
|||||||
list.add(sound.toString());
|
list.add(sound.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
File soundsFile = new File("target/classes/ANTI_PIRACY_ENCODED_WITH_SOUNDS");
|
File soundsFile = new File("target/classes/ANTI_PIRACY_SECRET_FILE");
|
||||||
|
|
||||||
try (FileOutputStream fos = new FileOutputStream(soundsFile)) {
|
try (FileOutputStream fos = new FileOutputStream(soundsFile)) {
|
||||||
byte[] array = StringUtils.join(list, "\n").getBytes(StandardCharsets.UTF_8);
|
byte[] array = StringUtils.join(list, "\n").getBytes(StandardCharsets.UTF_8);
|
||||||
|
Loading…
Reference in New Issue
Block a user