Rename app to radiantwave: embed and provision assets, drop proclamations
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package main
|
||||
|
||||
import "embed"
|
||||
|
||||
// assetsFS bundles the static assets (fonts, shaders, and terms-of-service
|
||||
// pages) into the binary so they can be provisioned to the per-user data
|
||||
// directory at startup, independent of the nix store layout.
|
||||
//
|
||||
// Audio is excluded: it is large, gitignored, and downloaded at runtime.
|
||||
//
|
||||
//go:embed share/radiantwave/fonts share/radiantwave/shaders share/radiantwave/tos
|
||||
var assetsFS embed.FS
|
||||
Reference in New Issue
Block a user