-
Notifications
You must be signed in to change notification settings - Fork 5
/
templates.go
58 lines (39 loc) · 3.1 KB
/
templates.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package templates
import "text/template"
//go:generate go run ../.. bundle -package templates -o bundled.go data
var (
// MakefileUNIX is the template for the makefile on UNIX systems like Linux and BSD
MakefileUNIX = template.Must(template.New("Makefile").Parse(string(resourceMakefile.StaticContent)))
// DesktopFileUNIX is the template the desktop file on UNIX systems like Linux and BSD
DesktopFileUNIX = template.Must(template.New("DesktopFile").Parse(string(resourceAppDesktop.StaticContent)))
// EntitlementsDarwin is a plist file that lists build entitlements for darwin releases
EntitlementsDarwin = template.Must(template.New("Entitlements").Parse(string(resourceEntitlementsDarwinPlist.StaticContent)))
// EntitlementsDarwinMobile is a plist file that lists build entitlements for iOS releases
EntitlementsDarwinMobile = template.Must(template.New("EntitlementsMobile").Parse(string(resourceEntitlementsIosPlist.StaticContent)))
// FyneMetadataInit is the metadata injecting file for fyne metadata
FyneMetadataInit = template.Must(template.New("fyne_metadata_init.got").Parse(string(resourceFynemetadatainitGot.StaticContent)))
// FynePprofInit is the file injected to support pprof
FynePprofInit = template.Must(template.New("fyne_pprof_init.got").Parse(string(resourceFynepprofGot.StaticContent)))
// ManifestAndroid is the default manifest for building an Android application
ManifestAndroid = template.Must(template.New("AndroidManifest").Parse(string(resourceAndroidManifestXml.StaticContent)))
// ManifestWindows is the manifest file for windows packaging
ManifestWindows = template.Must(template.New("Manifest").Parse(string(resourceAppManifest.StaticContent)))
// AppxManifestWindows is the manifest file for windows packaging
AppxManifestWindows = template.Must(template.New("ReleaseManifest").Parse(string(resourceAppxmanifestXML.StaticContent)))
// InfoPlistDarwin is the manifest file for darwin packaging
InfoPlistDarwin = template.Must(template.New("InfoPlist").Parse(string(resourceInfoPlist.StaticContent)))
// XCAssetsDarwin is the Contents.json file for darwin xcassets bundle
XCAssetsDarwin = template.Must(template.New("XCAssets").Parse(string(resourceXcassetsJSON.StaticContent)))
// IndexHTML is the index.html used to serve web package
IndexHTML = template.Must(template.New("index.html").Parse(string(resourceIndexHtml.StaticContent)))
// WebGLDebugJs is the content of https://raw.githubusercontent.com/KhronosGroup/WebGLDeveloperTools/b42e702487d02d5278814e0fe2e2888d234893e6/src/debug/webgl-debug.js
WebGLDebugJs = resourceWebglDebugJs.StaticContent
// SpinnerLight is a spinning gif of Fyne logo with a light background
SpinnerLight = resourceSpinnerlightGif.StaticContent
// CSSLight is a CSS that define color for element on the web splash screen following the light theme
CSSLight = resourceLightCss.StaticContent
// SpinnerDark is a spinning gif of Fyne logo with a dark background
SpinnerDark = resourceSpinnerdarkGif.StaticContent
// CSSDark is a CSS that define color for element on the web splash screen following the dark theme
CSSDark = resourceDarkCss.StaticContent
)