Skip to content

Commit

Permalink
fix: 上次提交遗漏的。。。
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSkidder committed Sep 16, 2024
1 parent e9998a0 commit fdc3979
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shared/java/top/fpsmaster/utils/os/FileUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ object FileUtils {
var artists: File
var omaments: File
var round: File
var background: File
var hasBackground = false

init {
cache = file(ProviderManager.mcProvider.getGameDir(), ".cache")
Expand All @@ -31,6 +33,9 @@ object FileUtils {
music = file(netease, "songs")
artists = file(netease, "artists")
omaments = file(cache, "omaments")
background = File(dir,"background.png")
if (background.exists())
hasBackground = true
}

fun file(parent: File, child: String): File {
Expand Down

1 comment on commit fdc3979

@SuperSkidder
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

close #47

Please sign in to comment.