Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync command #56

Open
Xikaro opened this issue Oct 25, 2024 · 2 comments
Open

sync command #56

Xikaro opened this issue Oct 25, 2024 · 2 comments
Labels
new command New command request

Comments

@Xikaro
Copy link

Xikaro commented Oct 25, 2024

Is there a planned function, something like the "refresh" command? When the folder mods already contains mod changes, i.e. updated manually or via the launcher, and pakku updated them in pakku-lock.json, based on the file name and version, if the version has changed
Screenshot_162

@Xikaro
Copy link
Author

Xikaro commented Oct 25, 2024

@juraj-hrivnak
Copy link
Owner

juraj-hrivnak commented Oct 25, 2024

The sync command could detect the project files in your modpack add ask you whether you want to update, add (or remove?) projects from the lock file.

Also a watch command could be useful to detect these things and sync automatically, but also hard to implement properly.

Under the hood, there are already functions in the Pakku API to do that. You can use a sha1 hash for Modrinth and a Murmur2 hast for CurseForge, to get a project.

@juraj-hrivnak juraj-hrivnak changed the title Minecraft Development Environment sync command Oct 25, 2024
@juraj-hrivnak juraj-hrivnak added the enhancement Enhancement of an existing feature label Oct 25, 2024
@juraj-hrivnak juraj-hrivnak added new command New command request and removed enhancement Enhancement of an existing feature labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new command New command request
Projects
Status: Ready🚀
Development

No branches or pull requests

2 participants