Update dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_install-software
This commit is contained in:
parent
9f315c2f2f
commit
668ca940c4
1 changed files with 3 additions and 2 deletions
|
@ -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'`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue