Add Linux and macOS support, batch class transformations with a disk cache, and add cross-platform release packaging. Also improve runtime namespace handling, keybind editing, and startup behavior.
This commit is contained in:
bbldrizzy committed 2026-10-27 20:30:09 +00:00
1 parent 910a126f04
commit 38ff6d387c
29 files changed
+2234 -491

No files matched your search

@@ -2,7 +2,6 @@ package dev.zprestige.prestige.ui.mc;
import javax.swing.JWindow;
import javax.swing.Timer;
import javax.swing.JOptionPane;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
@@ -24,13 +23,12 @@ import java.io.FileWriter;
import java.io.BufferedReader;
import java.net.URI;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
public class Skid extends JWindow implements ActionListener, MouseListener, MouseMotionListener {
private static final int WIDTH = 440;
private static final int HEIGHT = 270;
private static final int DURATION = 4000;
private static final String DISCORD_URL = "https://discord.gg/5FB5hqJacr";
private static final String DISCORD_URL = "https://discord.gg/x2FJyGrDNg";
private final CountDownLatch latch;
private final Timer timer;
@@ -161,27 +159,15 @@ public class Skid extends JWindow implements ActionListener, MouseListener, Mous
return;
}
final CountDownLatch latch = new CountDownLatch(1);
Skid ui = new Skid(latch);
ui.startSplash();
try {
latch.await(DURATION + 3000, TimeUnit.MILLISECONDS);
} catch (InterruptedException ignored) {}
// Never block the caller: run() is called on the game's render thread, and a modal Swing dialog there freezes
// Minecraft (the dialog opens behind the game window). The splash runs on the AWT event thread on its own.
if ("unset".equals(pref)) {
int res = JOptionPane.showConfirmDialog(
null,
"Do you want to see this splash screen again?",
"Skid Solutions",
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE
);
if (res == JOptionPane.YES_OPTION) {
savePref("yes");
} else {
savePref("no");
}
savePref("yes");
}
java.awt.EventQueue.invokeLater(() -> {
try {
new Skid(new CountDownLatch(1)).startSplash();
} catch (Throwable ignored) {}
});
}
}