fix: Fixed double nixpkgs. Added nix packages for Stremio and Oh My Zsh

This commit is contained in:
N1C4T
2026-01-10 14:14:59 +04:00
parent 895323d6ce
commit 2d70766a19
4 changed files with 7 additions and 6 deletions

View File

@@ -58,7 +58,7 @@ export function generateSimpleCommand(selectedAppIds: Set<string>, distroId: Dis
case 'arch': return `yay -S --needed --noconfirm ${pkgList}`;
case 'fedora': return `sudo dnf install -y ${pkgList}`;
case 'opensuse': return `sudo zypper install -y ${pkgList}`;
case 'nix': return `nix-env -iA ${packages.map(p => `nixpkgs.${p.pkg}`).join(' ')}`;
case 'nix': return `nix-env -iA ${packages.filter(p => p.pkg.trim()).map(p => `nixpkgs.${p.pkg.trim()}`).join(' ')}`;
case 'flatpak': return `flatpak install flathub -y ${pkgList}`;
case 'snap':
if (packages.length === 1) return `sudo snap install ${pkgList}`;