diff --git a/LaunchServer/source/command/hash/DownloadAssetCommand.java b/LaunchServer/source/command/hash/DownloadAssetCommand.java old mode 100644 new mode 100755 index c911685..5242820 --- a/LaunchServer/source/command/hash/DownloadAssetCommand.java +++ b/LaunchServer/source/command/hash/DownloadAssetCommand.java @@ -15,7 +15,7 @@ import launchserver.command.Command; public final class DownloadAssetCommand extends Command { - private static final String ASSET_URL_MASK = "https://launcher.sashok724.net/download/assets/%s.zip"; + private static final String ASSET_URL_MASK = "http://launcher.sashok724.net/download/assets/%s.zip"; public DownloadAssetCommand(LaunchServer server) { super(server); diff --git a/LaunchServer/source/command/hash/DownloadClientCommand.java b/LaunchServer/source/command/hash/DownloadClientCommand.java old mode 100644 new mode 100755 index 06944df..5f792c1 --- a/LaunchServer/source/command/hash/DownloadClientCommand.java +++ b/LaunchServer/source/command/hash/DownloadClientCommand.java @@ -19,7 +19,7 @@ import launchserver.command.CommandException; public final class DownloadClientCommand extends Command { - private static final String CLIENT_URL_MASK = "https://launcher.sashok724.net/download/clients/%s.zip"; + private static final String CLIENT_URL_MASK = "http://launcher.sashok724.net/download/clients/%s.zip"; public DownloadClientCommand(LaunchServer server) { super(server); diff --git a/Launcher/runtime/config.js b/Launcher/runtime/config.js old mode 100644 new mode 100755 index 72ed470..a80f1d7 --- a/Launcher/runtime/config.js +++ b/Launcher/runtime/config.js @@ -1,6 +1,6 @@ // ====== LAUNCHER CONFIG ====== // var config = { - dir: "sashok724", // Launcher directory + dir: "launcher", // Launcher directory title: "sashok724's Launcher", // Window title icons: [ "favicon.png" ], // Window icon paths diff --git a/Launcher/source-testing/Kek.java b/Launcher/source-testing/Kek.java new file mode 100755 index 0000000..119cc4a --- /dev/null +++ b/Launcher/source-testing/Kek.java @@ -0,0 +1,24 @@ +package launcher; + +import java.util.Arrays; + +public final class Kek { + private Kek() { + } + + public static void main(String... args) throws Throwable { + char[][] sine = new char[21][250]; + for (char[] aSine : sine) { + Arrays.fill(aSine, ' '); + } + + for (int x = 0; x < 250; x++) { + double pi = StrictMath.PI * 2.0D / 250.0D * x; + sine[(int) ((StrictMath.cos(pi) + 1.0D) / 2.0D * 20)][x] = '.'; + } + + for (char[] aSine : sine) { + System.out.println(aSine); + } + } +}