diff --git a/postinstall.sh b/postinstall.sh index 0bc932a..939b21f 100644 --- a/postinstall.sh +++ b/postinstall.sh @@ -2,7 +2,7 @@ # Post install script for Fedora # Author: Jacob Schantli -# Version: 0.90 +# Version: 0.91 # ----------------------------------------------------------------------------- # Global Configuration @@ -26,6 +26,8 @@ DNF_PACKAGES=( "git" "fzf" "syncthing" + "fuse" + "fuse-libs" ) FLATPAK_PACKAGES=( @@ -47,9 +49,8 @@ FLATPAK_PACKAGES=( "io.github.swordpuffin.rewaita" "page.tesk.Refine" "io.gitlab.adhami3310.Converter" - "com.bitwarden.desktop" + #"com.bitwarden.desktop" - Not used anymore as I switched to 1Password "com.usebottles.bottles" - "com.ulaa.Ulaa" "com.bambulab.BambuStudio" "com.collaboraoffice.Office" "org.mozilla.Thunderbird" @@ -256,6 +257,19 @@ install_software() { check_status "gemini-cli installation" "non-critical" } +install_1password() { + log_info "----------------------------------------------------" + log_info "Installing 1Password" + log_info "----------------------------------------------------" + if rpm -q 1password > /dev/null 2>&1; then + log_info "1Password already installed." + else + log_info "Downloading and installing 1Password..." + sudo dnf install -y https://downloads.1password.com/linux/rpm/stable/x86_64/1password-latest.rpm + check_status "1Password installation" "non-critical" + fi +} + install_cachyos() { log_info "----------------------------------------------------" log_info "Installing CachyOS kernel" @@ -433,6 +447,7 @@ show_menu() { echo "8. Install LinuxToys" echo "9. Install Shell Environment (Starship, MyBash)" echo "10. Install GNOME Extensions" + echo "11. Install 1Password" echo "0. Exit" echo "====================================================" read -p "Enter your choice [0-10]: " choice @@ -457,6 +472,7 @@ while true; do install_fonts install_repos install_software + install_1password install_cachyos install_linuxtoys install_shell_env @@ -469,6 +485,7 @@ while true; do install_fonts install_repos install_software + install_1password # install_cachyos (Skipped) install_linuxtoys install_shell_env @@ -484,6 +501,7 @@ while true; do 8) install_linuxtoys ;; 9) install_shell_env ;; 10) install_gnome_extensions ;; + 11) install_1password ;; 0) log_info "Exiting..." exit 0 @@ -502,4 +520,4 @@ done log_info "----------------------------------------------------" log_info "Post-install script completed successfully!" log_info "Please restart your shell or run 'source ~/.bashrc' to see the changes." -log_info "----------------------------------------------------" +log_info "----------------------------------------------------" \ No newline at end of file