the images could be generated from the dolly svg but that would probably require bringing in a large dependency like inkscape and wouldn't bring huge benifits imo (&& just sticking it in tree was mentioned as best in the discord)
appview/pages/pwa-icons/pwa-144.png
appview/pages/pwa-icons/pwa-144.png
This is a binary file and will not be displayed.
appview/pages/pwa-icons/pwa-192.png
appview/pages/pwa-icons/pwa-192.png
This is a binary file and will not be displayed.
appview/pages/pwa-icons/pwa-48.png
appview/pages/pwa-icons/pwa-48.png
This is a binary file and will not be displayed.
appview/pages/pwa-icons/pwa-512.png
appview/pages/pwa-icons/pwa-512.png
This is a binary file and will not be displayed.
appview/pages/pwa-icons/pwa-72.png
appview/pages/pwa-icons/pwa-72.png
This is a binary file and will not be displayed.
appview/pages/pwa-icons/pwa-96.png
appview/pages/pwa-icons/pwa-96.png
This is a binary file and will not be displayed.
+32
appview/state/state.go
+32
appview/state/state.go
···
205
205
"icons": [
206
206
{
207
207
"src": "/favicon.svg",
208
+
"type": "image/xml+svg",
209
+
"sizes": "any",
210
+
"purpose": "any"
211
+
},
212
+
{
213
+
"src": "/static/pwa-512.png",
214
+
"type": "image/png",
215
+
"sizes": "512x512"
216
+
},
217
+
{
218
+
"src": "/static/pwa-192.png",
219
+
"type": "image/png",
220
+
"sizes": "192x192"
221
+
},
222
+
{
223
+
"src": "/static/pwa-144.png",
224
+
"type": "image/png",
208
225
"sizes": "144x144"
226
+
},
227
+
{
228
+
"src": "/static/pwa-96.png",
229
+
"type": "image/png",
230
+
"sizes": "96x96"
231
+
},
232
+
{
233
+
"src": "/static/pwa-72.png",
234
+
"type": "image/png",
235
+
"sizes": "72x72"
236
+
},
237
+
{
238
+
"src": "/static/pwa-48.png",
239
+
"type": "image/png",
240
+
"sizes": "48x48"
209
241
}
210
242
],
211
243
"start_url": "/",
+2
flake.nix
+2
flake.nix
···
167
167
mkdir -p appview/pages/static
168
168
# no preserve is needed because watch-tailwind will want to be able to overwrite
169
169
cp -fr --no-preserve=ownership ${packages'.appview-static-files}/* appview/pages/static
170
+
cp -fr appview/pages/pwa-icons/* appview/pages/static
170
171
export TANGLED_OAUTH_JWKS="$(${packages'.genjwks}/bin/genjwks)"
171
172
'';
172
173
env.CGO_ENABLED = 1;
···
200
201
program = toString (pkgs.writeShellScript "watch-appview" ''
201
202
echo "copying static files to appview/pages/static..."
202
203
${pkgs.coreutils}/bin/cp -fr --no-preserve=ownership ${packages'.appview-static-files}/* appview/pages/static
204
+
${pkgs.coreutils}/bin/cp -fr appview/pages/pwa-icons/* appview/pages/static
203
205
${air-watcher "appview" ""}/bin/run
204
206
'');
205
207
};