Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Latest commit

 

History

History
38 lines (38 loc) · 3.36 KB

TODO.md

File metadata and controls

38 lines (38 loc) · 3.36 KB
  • (Optional) Improve README.md;
  • Create function to get the correct url of the latest Waterfox version. Automate it in the script;
  • (Optional) Beautify the scripts files;
  • Decide what to do with the getWFXVersion and getLocalWFXVersion functions. Gone!;
  • pgrep to check if there is a waterfox process is running;
  • Apply Bash best practices to the script. At least try to improve the code;
  • (Optional) Fedora SilverBlue user install (non system wide);
  • Uninstall script. Separated file for the /usr/lib64/. Since its not and distro install /usr/lib64/ or /usr/lib/ are not the right place to extract it;
  • Uninstall method: Remove install folder, icons and remove profile also(??);
  • Chosing between development (alpha/beta/rc) and production. Set a different folder for development (suffix -dev,-alpha,-rc);
  • Choice of dir: /opt/, /usr/local/ or ${HOME}/apps/waterfox/ (probably only on SilverBlue). I will amost certain to set it to /opt/ as default. Or set /opt/ as default for sudo and ${HOME}/apps/waterfox/ for non sudo installs;
  • Cleaning up after Installation. Probably not necessary since it is using /tmp/ as the place to store the files;
    • Message the user that it is there;
  • Give choice to keep the download file. Copying it from /tmp/ to ~/Downloads/;
  • (Optional) Give the ability to choose between cURL or Wget;
  • Check the existence of cURL or Wget and set one of them to handle the variables and functions;
  • Use the backslash () before executables to avoid aliases;
  • (Optional) Remove waterfox.desktop creation from inside the script and set it to be downloaded from
    https://raw.githubusercontent.com/msmafra/waterfox-install/master/waterfox.desktop;
  • Check beforehand the existance of the programs needed for the script to run;
  • Create an waterfox Bash file to be used on /usr/local/bin or even /usr/bin/ (or elsewhere). Separated from the script on embeded;
  • (Consider) Install the script as a system install, update check or uninstall helper;
  • (Consider) Check and downloaded files checksum (??);
  • Do not forget to update the README.MD file with the new information;
  • Using a main() function???;
  • (Consider) Transform most of the variables with subshell, commands etc into functions;
  • (Consider) Use t _ or __ before function names (????). Best practices (??);
  • User shift on functions that acept parameters;
  • Lowercase variables names on 0.x versions;
  • Merge waterfox.desktop with the waterfox.desktop for KDE also from AUR. Set version to 1.1;
    https://raw.githubusercontent.com/hawkeye116477/waterfox-deb/master/waterfox-kde/waterfox.desktop
  • (Consider) On the uninstallation script instead of using rm to remove the files use mv to move the files and folders to /tmp/waterfox-uninstallation, so everything will be removed on restart or shutdown. Alert the user;
  • (Consider) Colorize outputed messages;
  • Open Waterfox after install;
  • (Consider) adding another "utilities" to the script: Open with Profile Manager, Quick version check;
  • (Consider) adding a backup profile option before install ou uninstall;
  • Add a disclaimer and/or DISCLAIMER.md file;
  • Adapt the scripts to the new naming and versioning scheme;