mirror of
https://github.com/akuker/RASCSI.git
synced 2026-03-10 23:21:38 +00:00
Move python resources into the common package
Reduces duplication of these binary files across multiple clients
This commit is contained in:
@@ -172,7 +172,7 @@ def main():
|
||||
menu_controller.add(CtrlBoardMenuBuilder.SCSI_ID_MENU)
|
||||
menu_controller.add(CtrlBoardMenuBuilder.ACTION_MENU)
|
||||
|
||||
menu_controller.show_splash_screen("resources/splash_start_64.bmp")
|
||||
menu_controller.show_splash_screen("../common/resources/splash_start_64.bmp")
|
||||
|
||||
menu_update_event_handler = CtrlBoardMenuUpdateEventHandler(
|
||||
menu_controller, sock_cmd=sock_cmd, piscsi_cmd=piscsi_cmd
|
||||
|
||||
@@ -14,7 +14,7 @@ class MenuRendererConfig:
|
||||
self.i2c_address = 0x3C
|
||||
self.i2c_port = 1
|
||||
self.display_type = "ssd1306" # luma-oled supported devices, "sh1106", "ssd1306", ...
|
||||
self.font_path = "resources/DejaVuSansMono-Bold.ttf"
|
||||
self.font_path = "../common/resources/DejaVuSansMono-Bold.ttf"
|
||||
self.font_size = 12
|
||||
self.row_selection_pixel_extension = 2
|
||||
self.scroll_behavior = "page" # "extend" or "page"
|
||||
|
||||
Reference in New Issue
Block a user