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

@@ -8,7 +8,7 @@ module TAC
background Gosu::Color::GRAY
label @options[:message], width: 1.0
@sound = Gosu::Sample.new("#{TAC::ROOT_PATH}/media/error_alarm.ogg").play(1, 1, true)
@sound = Gosu::Sample.new("#{TAC::MEDIA_PATH}/error_alarm.ogg").play(1, 1, true)
button "Close", width: 1.0, margin_top: THEME_DIALOG_BUTTON_PADDING do
try_commit