public: add icons with beta badge

This makes it easier to tell versions apart when beta and non-beta are
installed at the same time.

Fixes: https://github.com/pybricks/support/issues/375
This commit is contained in:
David Lechner
2021-07-08 16:46:36 -05:00
parent 2ba6d88c49
commit a0467aed4c
6 changed files with 7 additions and 9 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ jobs:
- name: Set env to beta
if: contains(github.ref, '-beta.') || contains(github.ref, '-rc.')
run: |
echo "REACT_APP_NAME=Pybricks Code (Beta)" >> $GITHUB_ENV
echo "REACT_APP_NAME=Pybricks Beta" >> $GITHUB_ENV
echo "REACT_APP_SUFFIX=-beta" >> $GITHUB_ENV
- uses: actions/setup-node@v1
with:
node-version: '12.x'
+2
View File
@@ -7,6 +7,7 @@
### Changed
- Changed snippet (autocomplete) content and behavior [issue#471].
- Changed gutter background color [issue#472].
- Added *BETA` badge to application icon [support#375].
### Fixed
- Fixed auto-indent not working [issue#470].
@@ -46,6 +47,7 @@ Prerelease changes are documented at [support#48].
[issue#471]: https://github.com/pybricks/pybricks-code/issues/471
[issue#472]: https://github.com/pybricks/pybricks-code/issues/472
[support#48]: https://github.com/pybricks/support/issues/48
[support#375]: https://github.com/pybricks/support/issues/375
[support#378]: https://github.com/pybricks/support/issues/378
[v3.0.0]: https://github.com/pybricks/pybricks-micropython/blob/master/CHANGELOG.md#300---2021-06-08
[v3.1.0a1]: https://github.com/pybricks/pybricks-micropython/blob/master/CHANGELOG.md#310a1---2021-06-23
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

+3 -8
View File
@@ -3,24 +3,19 @@
"name": "%REACT_APP_NAME%",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"src": "logo192%REACT_APP_SUFFIX%.png",
"type": "image/png",
"sizes": "192x192",
"purpose": "any"
},
{
"src": "logo192m.png",
"src": "logo192m%REACT_APP_SUFFIX%.png",
"type": "image/png",
"sizes": "192x192",
"purpose": "maskable"
},
{
"src": "logo512.png",
"src": "logo512%REACT_APP_SUFFIX%.png",
"type": "image/png",
"sizes": "512x512"
}