Skip to content

Commit

Permalink
Update RT file references
Browse files Browse the repository at this point in the history
  • Loading branch information
ME1312 committed Feb 19, 2021
1 parent d9cdccb commit ab4b0f7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Expand Up @@ -65,7 +65,7 @@ public static Engine getInstance() {
if (manifest.getMainAttributes().getValue("Implementation-Version") != null && manifest.getMainAttributes().getValue("Implementation-Version").length() > 0)
engine.setBuild(new Version(manifest.getMainAttributes().getValue("Implementation-Version")));

Util.isException(() -> engine.setIcon(Engine.class.getResourceAsStream("/net/ME1312/Galaxi/Engine/RT/Files/GalaxiIcon.png")));
Util.isException(() -> engine.setIcon(Engine.class.getResourceAsStream("/net/ME1312/Galaxi/Engine/Runtime/Files/GalaxiIcon.png")));
Util.isException(() -> UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()));
code.catalogLibrary(engine.get().getClass());
code.catalogLibrary(this.app.get().getClass());
Expand Down
Expand Up @@ -50,7 +50,7 @@ final class FileLogger implements LogMessenger {
writer = iwriter = new FileOutputStream(file);
} else {
file = new File(dir, name + ".log.htm");
Util.copyFromJar(FileLogger.class.getClassLoader(), "net/ME1312/Galaxi/Engine/RT/Files/GalaxiLog.htm", file.getAbsolutePath());
Util.copyFromJar(FileLogger.class.getClassLoader(), "net/ME1312/Galaxi/Engine/Runtime/Files/GalaxiLog.htm", file.getAbsolutePath());

iwriter = new FileOutputStream(file, true);
iwriter.write(("<h1>" + nameX + "</h1>\n").getBytes("UTF-8"));
Expand Down
Expand Up @@ -6,7 +6,7 @@
body {
color: #dcdcdc;
background-color: #282c2d;
font-family: JetBrains Mono NL Thin;
font-family: JetBrains Mono NL ExtraLight;
font-size: 12px;
white-space: pre-wrap;
}
Expand Down
Expand Up @@ -471,7 +471,7 @@ public void componentResized(ComponentEvent e) {
fontSize = (int) (12 * scale);
String font;
try {
Font f = Font.createFont(Font.TRUETYPE_FONT, ConsoleWindow.class.getResourceAsStream("/net/ME1312/Galaxi/Engine/RT/Files/GalaxiFont.ttf"));
Font f = Font.createFont(Font.TRUETYPE_FONT, ConsoleWindow.class.getResourceAsStream("/net/ME1312/Galaxi/Engine/Runtime/Files/GalaxiFont.ttf"));
GraphicsEnvironment.getLocalGraphicsEnvironment().registerFont(f);
font = f.getFontName();
input.setFont(f);
Expand Down
Binary file not shown.

0 comments on commit ab4b0f7

Please sign in to comment.