Switch remote deploy to vendored source builds
Move remote deployment to a vendored source bundle built on the target host via Docker so redeploys no longer require local cross-compilation or host Go installation. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
38
vendor/git.sr.ht/~jackmordaunt/go-toast/v2/tmpl/xml.go.tmpl
vendored
Normal file
38
vendor/git.sr.ht/~jackmordaunt/go-toast/v2/tmpl/xml.go.tmpl
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<toast activationType="{{.ActivationType}}" launch="{{.ActivationArguments}}" duration="{{.Duration}}">
|
||||
<visual>
|
||||
<binding template="ToastGeneric">
|
||||
{{if .HeroIcon}}
|
||||
<image placement="hero" src="{{.HeroIcon}}" />
|
||||
{{end}}
|
||||
{{if .Icon}}
|
||||
<image placement="appLogoOverride" src="{{.Icon}}" {{if .IconCrop}} hint-crop="{{.IconCrop}}" {{end}} />
|
||||
{{end}}
|
||||
{{if .Title}}
|
||||
<text hint-maxLines="1"><![CDATA[{{.Title}}]]></text>
|
||||
{{end}}
|
||||
{{if .Body}}
|
||||
<text><![CDATA[{{.Body}}]]></text>
|
||||
{{end}}
|
||||
</binding>
|
||||
</visual>
|
||||
{{if ne .Audio "silent"}}
|
||||
<audio src="{{.Audio}}" loop="{{.Loop}}" />
|
||||
{{else}}
|
||||
<audio silent="true" />
|
||||
{{end}}
|
||||
{{if .Actions}}
|
||||
<actions>
|
||||
{{range .Inputs}}
|
||||
<input id="{{.ID}}" title="{{.Title}}" placeHolderContent="{{.Placeholder}}" {{if .Selections}} type="selection" {{else}} type="text" {{end}}>
|
||||
{{range .Selections}}
|
||||
<selection id="{{.ID}}" content="{{.Content}}" />
|
||||
{{end}}
|
||||
</input>
|
||||
{{end}}
|
||||
{{range .Actions}}
|
||||
<action activationType="{{.Type}}" content="{{.Content}}" arguments="{{.Arguments}}" {{if .InputID}} hint-inputId="{{.InputID}}" {{end}} />
|
||||
{{end}}
|
||||
</actions>
|
||||
{{end}}
|
||||
</toast>
|
||||
Reference in New Issue
Block a user