Change names of compiled files
This commit is contained in:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user