mirror of
https://github.com/packwiz/packwiz.git
synced 2025-11-19 01:24:32 +01:00
WIP caching system for Modrinth/CurseForge pack export
This commit is contained in:
@@ -44,3 +44,11 @@ func GetPackwizInstallBinFile() (string, error) {
|
||||
}
|
||||
return filepath.Join(binPath, exeName), nil
|
||||
}
|
||||
|
||||
func GetPackwizCache() (string, error) {
|
||||
localStore, err := GetPackwizLocalStore()
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
return filepath.Join(localStore, "cache"), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user