Capsule - CC:Tweaked package manager

Started by zimavi, Aug 18, 2024, 02:57 PM

Previous topic - Next topic

zimavi

Capsule - is a (probably) simple CC:Tweaked package manager

As a Linux user, I've tried to make the usage experience as Linux-like as possible.
This program works simply when you update the repository (you can specify the repository yourself. Only one at the time is supported) it stores it at "/etc/caplsule/repository.json" (all paths can be tweaked inside code. They are variables) and installed packages at "/etc/capsule/package.list". When you install the package, it will be installed at "/usr/bin/" (as originally I was making it for my os which has PATH to this folder).

The Capsule can upgrade all installed packages (as long as they are in the updated repository), validate them using checksums and calculate them to avoid mismatches between third-party tools and the package manager.

Link to the repository file (if you want to make one yourself): https://github.com/zimavi/cc_pacman_api/blob/main/repo.json
Pastebin to the program itself: https://pastebin.com/GF9tLvZ6