linutil icon indicating copy to clipboard operation
linutil copied to clipboard

Rework aurhelper functionality

Open nnyyxxxx opened this issue 5 months ago • 0 comments

Merge #282 before this!! very important!!

Type of Change

  • [x] New feature
  • [x] Refactoring

Description

Check this out Chris!

I'd recommend trying it out before merging just to see if you like it or not (the prompt is ugly ik, we could probably add some sort of color to it and format it differently).

Information

  • The prompt could get reworked if this gets merged, I don't have any ideas right now so I'll make a PR if this one gets merged.
  • This includes functionality for not just installing an AUR helper through aurhelper-setup.sh but also everywhere that checkAURHelper is! I know you'll love this feature Chris!
  • The installation of AUR Helpers only gets called if there are no AUR Helpers on the system (Paru, Yay) && the packager is pacman.

Testing

Tested.

Impact

Minimizes code, minimizes files, creates a interactive prompt for the user to select which aur helper to install all in 1 script.

Issue related to PR

  • Closes #374
  • Closes #378
  • Resolves #377
  • Resolves #413
  • Resolves #415

Additional Information

Checklist

  • [x] My code adheres to the coding and style guidelines of the project.
  • [x] I have performed a self-review of my own code.
  • [x] I have commented my code, particularly in hard-to-understand areas.
  • [x] My changes generate no errors/warnings/merge conflicts.

nnyyxxxx avatar Sep 14 '24 16:09 nnyyxxxx