Update dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_install-software

This commit is contained in:
Brian Zalewski 2022-11-28 01:16:51 +00:00
parent 9f315c2f2f
commit 668ca940c4

View file

@ -23,10 +23,11 @@ if(osType === 'linux') {
// Download the installation map // Download the installation map
async function downloadInstallData() { async function downloadInstallData() {
const response = await fetch( 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) { if (response.ok) {
return await response.json() const text = await response.text()
return YAML.parse(text)
} else { } else {
await $`logg error 'Failed to download the installation map'` await $`logg error 'Failed to download the installation map'`
} }