Skip to content

Commit 33291ac

Browse files
committed
Brand project as rCMD
1 parent 908243d commit 33291ac

File tree

5 files changed

+48
-7
lines changed

5 files changed

+48
-7
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ application {
5454

5555

5656
tasks.register<Jar>("fatJar") {
57-
archiveFileName.set("mio.jar")
57+
archiveFileName.set("rcmd.jar")
5858

5959
from(sourceSets.main.get().output)
6060

@@ -107,7 +107,7 @@ tasks.register<Copy>("setup") {
107107
setDefaultZephyrWasmBinary()
108108

109109
// Setup configuration file.
110-
val file = File("${System.getenv("HOME")}/.mio/debugger.properties")
110+
val file = File("${System.getenv("HOME")}/.rcmd/debugger.properties")
111111
if (!file.exists()) {
112112
writeDefaultConfig(file)
113113
} else {

src/main/kotlin/be/ugent/topl/mio/DebuggerConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import java.util.*
66
class DebuggerConfig {
77
private val properties = Properties()
88
companion object {
9-
val configDir = "${System.getenv("HOME")}/.mio"
9+
val configDir = "${System.getenv("HOME")}/.rcmd"
1010
}
1111
init {
1212
properties.load(FileInputStream("$configDir/debugger.properties"))

src/main/kotlin/be/ugent/topl/mio/Main.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fun main(args: Array<String>) {
3737
val config = DebuggerConfig()
3838
if (SystemInfo.isMacOS) {
3939
System.setProperty("apple.laf.useScreenMenuBar", "true")
40-
System.setProperty("apple.awt.application.name", "MIO")
40+
System.setProperty("apple.awt.application.name", "rCMD")
4141
System.setProperty("apple.awt.application.appearance", if (config.lightMode) "NSAppearanceNameAqua" else "NSAppearanceNameDarkAqua")
4242
}
4343
else {

src/main/kotlin/be/ugent/topl/mio/ui/AboutScreen.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import be.ugent.topl.mio.DebuggerConfig
44
import com.formdev.flatlaf.FlatDarkLaf
55
import com.formdev.flatlaf.FlatIntelliJLaf
66
import com.formdev.flatlaf.FlatLaf
7+
import com.formdev.flatlaf.extras.FlatSVGIcon
78
import com.formdev.flatlaf.themes.FlatMacDarkLaf
89
import com.formdev.flatlaf.themes.FlatMacLightLaf
910
import com.formdev.flatlaf.util.SystemInfo
@@ -22,10 +23,10 @@ open class AboutScreen(protected val config: DebuggerConfig) : JFrame() {
2223
mainPanel.setLayout(BoxLayout(mainPanel, BoxLayout.Y_AXIS))
2324
mainPanel.border = BorderFactory.createEmptyBorder(20, 20, 20, 20)
2425
mainPanel.add(Box.createVerticalGlue())
25-
mainPanel.add(JLabel(ImageIcon(ImageIcon(this.javaClass.getResource("/warduino-logo.png")).image.getScaledInstance(100, 100, Image.SCALE_SMOOTH))).apply {
26+
mainPanel.add(JLabel(FlatSVGIcon(this.javaClass.getResourceAsStream("/rCMD_Logo.svg"))).apply {
2627
setAlignmentX(CENTER_ALIGNMENT)
2728
})
28-
mainPanel.add(JLabel("MIO Debugger").apply {
29+
mainPanel.add(JLabel("rCMD Debugger").apply {
2930
setAlignmentX(CENTER_ALIGNMENT)
3031
putClientProperty( "FlatLaf.style", "font: 250% \$semibold.font")
3132
})
@@ -39,7 +40,7 @@ open class AboutScreen(protected val config: DebuggerConfig) : JFrame() {
3940
}
4041

4142
protected open fun addOptions(mainPanel: JPanel) {
42-
mainPanel.add(JLabel("Copyright © 2023-2025 TOPL@Ghent University").apply {
43+
mainPanel.add(JLabel("Copyright © 2023-2026 TOPL@Ghent University").apply {
4344
setAlignmentX(CENTER_ALIGNMENT)
4445
})
4546
}

src/main/resources/rCMD_Logo.svg

Lines changed: 40 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)