mirror of
https://github.com/mamoe/mirai.git
synced 2026-09-03 13:13:00 +08:00
Load resources
This commit is contained in:
@@ -27,7 +27,7 @@ class PrimaryView : View() {
|
||||
|
||||
left = vbox {
|
||||
|
||||
imageview(Image(FileInputStream("logo.png")))
|
||||
imageview(Image(PrimaryView::class.java.classLoader.getResourceAsStream("logo.png")))
|
||||
|
||||
// bot list
|
||||
jfxListView(controller.botList) {
|
||||
|
||||
BIN
mirai-console-graphical/src/main/resources/logo.png
Normal file
BIN
mirai-console-graphical/src/main/resources/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
Reference in New Issue
Block a user