diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6209817..425ae4d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,9 +8,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@main - - uses: actions/setup-go@master - with: - go-version: 1.18 + - name: 'Install runtimes (via asdf)' + uses: asdf-vm/actions/install@v1 - name: 'Vet' run: go vet - name: 'Build' diff --git a/bin/wled-backup_linux_armv6 b/bin/wled-backup_linux_armv6 index 3a701f6..917f0d1 100755 Binary files a/bin/wled-backup_linux_armv6 and b/bin/wled-backup_linux_armv6 differ diff --git a/bin/wled-backup_linux_armv7 b/bin/wled-backup_linux_armv7 index 2cb1835..4e7ca29 100755 Binary files a/bin/wled-backup_linux_armv7 and b/bin/wled-backup_linux_armv7 differ diff --git a/bin/wled-backup_linux_x64 b/bin/wled-backup_linux_x64 index 83ba658..5dd592b 100755 Binary files a/bin/wled-backup_linux_x64 and b/bin/wled-backup_linux_x64 differ diff --git a/bin/wled-backup_mac_arm64 b/bin/wled-backup_mac_arm64 index d87a7ca..b742fac 100755 Binary files a/bin/wled-backup_mac_arm64 and b/bin/wled-backup_mac_arm64 differ diff --git a/bin/wled-backup_mac_x64 b/bin/wled-backup_mac_x64 index 87d7349..698e594 100755 Binary files a/bin/wled-backup_mac_x64 and b/bin/wled-backup_mac_x64 differ diff --git a/bin/wled-backup_win_x64.exe b/bin/wled-backup_win_x64.exe index 4c6c38e..74947f8 100755 Binary files a/bin/wled-backup_win_x64.exe and b/bin/wled-backup_win_x64.exe differ diff --git a/cmd/export.go b/cmd/export.go index ac32b83..4332624 100644 --- a/cmd/export.go +++ b/cmd/export.go @@ -79,12 +79,12 @@ func (cmd *ExportCmd) Run() { func downloadConfig(host string, destDir string) { fmt.Printf("Downloading config for host '%s'\n", host) - url := fmt.Sprintf("http://%s/edit?download=cfg.json", host) + url := fmt.Sprintf("http://%s/edit?download=/cfg.json", host) util.DownloadFile(fmt.Sprintf("%s.config.json", destDir), url) } func downloadPresets(host string, destDir string) { fmt.Printf("Downloading presets for host '%s'\n", host) - url := fmt.Sprintf("http://%s/edit?download=presets.json", host) + url := fmt.Sprintf("http://%s/edit?download=/presets.json", host) util.DownloadFile(fmt.Sprintf("%s.presets.json", destDir), url) }