Skip to content

Commit

Permalink
split folders between main and aliased version
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkyAI committed Mar 13, 2021
1 parent edb43c7 commit bf181d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pack/src/main/kotlin/voodoo/pack/MMCFatPack.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ object MMCFatPack : AbstractPack("mmc-fat") {
val directories = Directories.get()

val cacheDir = directories.cacheHome
val zipRootDir = cacheDir.resolve("MMC_FAT").resolve(modpack.id).resolve(modpack.version)
val zipRootDir = cacheDir.resolve("MMC_FAT").resolve(modpack.id).resolve(versionAlias ?: modpack.version)
val instanceDir = zipRootDir.resolve(modpack.id)
val title = modpack.title.blankOr ?: modpack.id
zipRootDir.deleteRecursively()
Expand Down
4 changes: 2 additions & 2 deletions samples/wrapper/wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#generated by: voodoo generateWrapper
#Wed Jan 13 00:41:09 CET 2021
distributionUrl=https\://nikky.moe/maven/moe/nikky/voodoo/voodoo/0.6.0-60/voodoo-0.6.0-60-all.jar
#Sat Mar 13 02:18:03 CET 2021
distributionUrl=https\://nikky.moe/maven/moe/nikky/voodoo/voodoo/0.6.0-72/voodoo-0.6.0-72-all.jar
distributionPath=wrapper/bin

0 comments on commit bf181d6

Please sign in to comment.