Home Page
  • January 14, 2025, 01:40:21 pm *
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Official site launch very soon, hurrah!


Author Topic: Update - Permission check before updating Flatpaks  (Read 1459 times)

Dakusan

  • Programmer Person
  • Administrator
  • Hero Member
  • *****
  • Posts: 553
    • View Profile
    • Dakusan's Domain
Update - Permission check before updating Flatpaks
« on: December 20, 2024, 11:30:22 am »


I updated the Checking permissions before updating Flatpaks post with the following changes:

  • Split post into the following sections:
    • My final updated copy of the script
    • List of the changes I made from the AI produced script
    • The commands I gave the AI
    • The final script the AI produced
  • Made more updates to the final script:
    • Added “askQuestion” function since there are now multiple places in the script that ask questions
    • Added $NoNewline to outputColor (for “askQuestion” function)
    • Changed get-updates command from “flatpak remote-ls --updates” to “echo n | flatpak update” (with a regex extraction). Also now confirms the update list with the user.
Logged