diff --git a/dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_install-software b/dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_install-software index 832e7e86..99c7c919 100644 --- a/dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_install-software +++ b/dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_install-software @@ -23,10 +23,11 @@ if(osType === 'linux') { // Download the installation map async function downloadInstallData() { const response = await fetch( - "https://gitlab.com/megabyte-labs/misc/dotfiles/-/raw/master/dotfiles/.local/share/chezmoi/software.json" + "https://gitlab.com/megabyte-labs/misc/dotfiles/-/raw/master/dotfiles/.local/share/chezmoi/software.yml" ); if (response.ok) { - return await response.json() + const text = await response.text() + return YAML.parse(text) } else { await $`logg error 'Failed to download the installation map'` }