Change names of compiled files

This commit is contained in:
libraryaddict 2020-11-12 10:56:18 +13:00
parent a896721754
commit f84ced34f6
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ public class SoundManager {
}
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");
for (String line : lines) {

View File

@ -62,7 +62,7 @@ public class CompileMethods {
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)) {
byte[] array = StringUtils.join(list, "\n").getBytes(StandardCharsets.UTF_8);