mirror of
https://github.com/packwiz/packwiz.git
synced 2025-12-04 13:34:32 +01:00
Update the pack hash when adding/importing mods
This commit is contained in:
@@ -244,6 +244,7 @@ func (in *Index) RefreshFile(path string) error {
|
||||
|
||||
// Write saves the index file
|
||||
func (in Index) Write() error {
|
||||
// TODO: calculate and provide hash while writing?
|
||||
f, err := os.Create(in.indexFile)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user