mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-21 08:54:32 +02:00
Manually replace FAPI deps with QFAPI/QSL when using Quilt (fixes #212)
This commit is contained in:
@@ -589,3 +589,11 @@ func (m *cfDownloadMetadata) DownloadFile() (io.ReadCloser, error) {
|
||||
}
|
||||
return resp.Body, nil
|
||||
}
|
||||
|
||||
func mapDepOverride(depID uint32, isQuilt bool) uint32 {
|
||||
if isQuilt && depID == 306612 {
|
||||
// Transform FAPI dependencies to QFAPI/QSL dependencies when using Quilt
|
||||
return 634179
|
||||
}
|
||||
return depID
|
||||
}
|
||||
|
Reference in New Issue
Block a user