bug fixes for gavldac's solve improvement

This commit is contained in:
Josh Ashton
2024-04-08 10:33:44 -06:00
parent 8ac780faeb
commit 1ce9c4c408
20 changed files with 6 additions and 4 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -297,7 +297,7 @@ public class Nav extends JPanel {
*/
private void openFile(String filename) {
//file path is not working for everyone had to append src/ to run
File f = new File("src/resources/" + filename + ".sdku");
File f = new File("resources/" + filename + ".sdku");
// If the file does not exist, print an error message and return.
if(f == null || !f.exists() || f.isDirectory() || !f.canRead()) {
System.out.println(
+4 -2
View File
@@ -185,8 +185,10 @@ public class Settings {
fontName + ".ttf";
else if(os.startsWith("mac"))
fontFilepath = "/Library/Fonts/" + fontName + ".ttf";
else
fontFilepath = "/usr/share/fonts/" + fontName + ".ttf";
else {
fontName = "HackNerdFontMono-Regular";
fontFilepath = "/usr/share/fonts/TTF/" + fontName + ".ttf";
}
// Register the font with the GraphicsEnvironment.
try {
BIN
View File
Binary file not shown.