Skip to content

Commit

Permalink
feat: add RequiresXPACK=true only for WotC mods
Browse files Browse the repository at this point in the history
  • Loading branch information
fearlessiron committed Jun 29, 2023
1 parent f608be5 commit 67c39cc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build_common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,12 @@ class BuildProject {
Write-Host "Read."

Write-Host "Writing mod metadata..."
Set-Content "$($this.xcomModPath)" "[mod]`npublishedFileId=$publishedId`nTitle=$title`nDescription=$description`nRequiresXPACK=true"
if ($this.sdkPath -clike "*Chosen*") {
Set-Content "$($this.xcomModPath)" "[mod]`npublishedFileId=$publishedId`nTitle=$title`nDescription=$description`nRequiresXPACK=true"
}
else {
Set-Content "$($this.xcomModPath)" "[mod]`npublishedFileId=$publishedId`nTitle=$title`nDescription=$description"
}
Write-Host "Written."

# Create CookedPCConsole folder for the mod
Expand Down

0 comments on commit 67c39cc

Please sign in to comment.