Refactored ROOT_PATH to be a subfolder in the current user's home directory (configs and settings will not need to be manually moved between updates)

This commit is contained in:
2023-11-18 15:24:07 -06:00
parent f98edc1744
commit 4bdc12ce46
22 changed files with 113 additions and 99 deletions

View File

@@ -1,6 +1,6 @@
module TAC
THEME_FONT = "#{TAC::ROOT_PATH}/media/fonts/NotoSans-Bold.ttf"
THEME_BOLD_FONT = "#{TAC::ROOT_PATH}/media/fonts/NotoSans-Black.ttf"
THEME_FONT = "#{TAC::MEDIA_PATH}/fonts/NotoSans-Bold.ttf"
THEME_BOLD_FONT = "#{TAC::MEDIA_PATH}/fonts/NotoSans-Black.ttf"
THEME = {
TextBlock: {
text_static: true,
@@ -27,7 +27,7 @@ module TAC
},
ToggleButton: {
width: 18,
checkmark_image: "#{TAC::ROOT_PATH}/media/icons/checkmark.png",
checkmark_image: "#{TAC::MEDIA_PATH}/icons/checkmark.png",
},
}