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

@@ -2,7 +2,7 @@ module TAC
class PracticeGameClock
THEME = {
TextBlock: {
font: "Canterell",
font: "NotoSans-Bold",
color: Gosu::Color.new(0xee_ffffff)
},
Button: {
@@ -23,7 +23,7 @@ module TAC
},
ToggleButton: {
width: 18,
checkmark_image: "#{File.expand_path("..", __dir__)}/media/icons/checkmark.png",
checkmark_image: "#{MEDIA_PATH}/icons/checkmark.png",
}
}
end