Skip to content

fix: misc viewer bugs and favicon #6

fix: misc viewer bugs and favicon

fix: misc viewer bugs and favicon #6

Workflow file for this run

name: Release
on:
push:
tags:
- v*
jobs:
build-firmware:
uses: ./.github/workflows/firmware.yml
build-pcb:
uses: ./.github/workflows/kicad.yml
build-native:
uses: ./.github/workflows/native.yml
deploy-web:
uses: ./.github/workflows/web.yml
release:
name: release
runs-on: ubuntu-latest
needs: [build-firmware, build-native, build-pcb]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- run: |
zip -r fsk-energymeter-firmware-${{ github.ref_name }}.zip fsk-energymeter-firmware
(cd build.fsk-energymeter-macos-arm64 && zip -r ../fsk-energymeter-macos-arm64-${{ github.ref_name }}.app.zip .)
mv build.fsk-energymeter-windows-x64/fsk-energymeter.exe fsk-energymeter-windows-x64-${{ github.ref_name }}.exe
mv build.fsk-energymeter-linux-x64/fsk-energymeter*.AppImage fsk-energymeter-linux-x64-${{ github.ref_name }}.AppImage
zip -r fsk-energymeter-pcb-${{ github.ref_name }}.zip fsk-energymeter-pcb
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: |
fsk-energymeter-firmware-*.zip
fsk-energymeter-windows-x64-*
fsk-energymeter-macos-arm64-*
fsk-energymeter-linux-x64-*
fsk-energymeter-pcb-*.zip
commit: ${{ github.sha }}
tag: ${{ github.ref_name }}
body: |
### Firmware
Use the [STM32CubeProgrammer](https://www.st.com/en/development-tools/stm32cubeprog.html) with the [ST-Link](https://smartstore.naver.com/misoparts/products/5263743411) to upload the firmware ELF to the device.\
Make sure the `Shared` option is set to `Enabled` in the ST-LINK configuration.
### FSK-EEM Viewer
#### Web
https://luftaquila.github.io/fsk-energymeter/
#### Windows
When the popup `Windows protected your PC` appears, click <ins>More Info</ins> and click `Run anyway` to run the executable.
#### MacOS
Run the following commands before open the `fsk-energymeter` for the first time.\
Unless, it will say `"fsk-energymeter" is damaged and can’t be opened.` because the packages are not signed.
```sh
cd /path/to/fsk-energymeter
xattr -c fsk-energymeter.app
chmod +x fsk-energymeter.app/Contents/MacOS/fsk-energymeter
```
The Device Configuration tab is not supported in the MacOS due to a lack of WebSerial API. Use the web version instead.
#### Linux
FSK-EEM Viewer is not tested on the Linux yet. Welcome for the testing!