From 668ca940c46081ec6cec9e71cadf6d596c6f09c4 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Mon, 28 Nov 2022 01:16:51 +0000 Subject: [PATCH] Update dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_install-software --- .../chezmoi/home/dot_local/bin/executable_install-software | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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'` }