13 lines
286 B
Bash
Executable file
13 lines
286 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
URL=$1
|
|
|
|
mkdir -p /tmp/flash
|
|
pushd /tmp/flash
|
|
curl $URL -o firmware.zip
|
|
unzip ./firmware.zip
|
|
pushd ./zsa_moonlander_office-qwerty-german-developer-c_source
|
|
cp -f ./* ~/dotfiles/moonlander/qmk_firmware/keyboards/zsa/moonlander/keymaps/main/
|
|
popd
|
|
popd
|
|
rm -rf /tmp/flash
|