mirror of
https://github.com/koho/frpmgr.git
synced 2025-10-20 16:03:47 +08:00
New logo (#238)
* New logo * Improve the about page * Add files via upload * Format svg files
This commit is contained in:
@ -1,4 +1,3 @@
|
|||||||
package frpmgr
|
package frpmgr
|
||||||
|
|
||||||
//go:generate go run iconize.go -d icon
|
|
||||||
//go:generate go run resource.go
|
//go:generate go run resource.go
|
||||||
|
BIN
icon/app.ico
Normal file
BIN
icon/app.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 50 KiB |
432
icon/app.svg
432
icon/app.svg
@ -1,427 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<svg width="196" height="196" viewBox="0 0 196 196" xmlns="http://www.w3.org/2000/svg">
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
<circle cx="98" cy="98" r="98" fill="#307fec"/>
|
||||||
|
<path d="M0 0C9.14866886.037533 17.22012512 2.42754171 25.875 5.3125 25.24816224 9.20323238 24.06490291 12.41180682 22.40625 15.98046875 21.91769531 17.03814453 21.42914063 18.09582031 20.92578125 19.18554688 20.41402344 20.27931641 19.90226562 21.37308594 19.375 22.5 18.86324219 23.60537109 18.35148437 24.71074219 17.82421875 25.84960938 14.22879464 33.60491071 14.22879464 33.60491071 12.875 36.3125c6.6.0 13.2.0 20 0-2.74311757 8.2293527-5.81983443 14.5072504-10 22-6.6.0-13.2.0-20 0-.66 1.98-1.32 3.96-2 6C-.30574675 66.89295828-1.51012196 69.4485972-2.75 72-7.20837762 81.30592927-11.1713474 90.78137319-15.125 100.3125c-11.55.0-23.1.0-35 0 1.12511809-6.75070855 1.12511809-6.75070855 2.92578125-10.4609375C-46.81443359 89.04976563-46.42964844 88.24796875-46.03320312 87.421875-45.63037109 86.60203125-45.22753906 85.7821875-44.8125 84.9375-44.42126953 84.12539062-44.03003906 83.31328125-43.62695312 82.4765625c1.48804651-3.07973806 2.98287133-6.15404921 4.54638671-9.19628906C-37.35389762 69.91812423-35.79432282 66.56321047-34.42578125 63.0390625-31.06119644 54.44632958-27.11915997 46.09069224-23.3125 37.6875c1.57027085-3.47078555 3.13906321-6.94223608 4.70703125-10.4140625C-18.22574921 26.43367371-17.84602966 25.59390991-17.45480347 24.72869873c2.79794821-6.20059747 5.53869159-12.4246724 8.22062683-18.67636108C-6.76291797.33468549-6.2733019.13332521.0.0z"
|
||||||
<svg
|
fill="#fcfdfe" transform="translate(86.125,50.6875)"/>
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
<path d="M0 0C5.49110072-.07550699 10.98188377-.12922511 16.47338867-.16479492c1.85877765-.01486511 3.71752171-.03516313 5.57617188-.06152344C56.20891765-.69780069 56.20891765-.69780069 69 7 69.88558594 7.51433594 69.88558594 7.51433594 70.7890625 8.0390625 73.62173603 9.79773659 75.12383176 11.18574763 77 14c.265625 2.92578125.265625 2.92578125.25 6.3125C77.25773437 21.97732422 77.25773437 21.97732422 77.265625 23.67578125 77 27 77 27 75 33c-11.55.0-23.1.0-35 0C40.33 31.02 40.66 29.04 41 27 41.92939473 18.83651171 41.92939473 18.83651171 39 11.5 30.21072208 4.17560173 20.01523416 2.92347445 8.9375 1.875c-.86560547-.08636719-1.73121094-.17273437-2.62304688-.26171875C4.21011156 1.40400971 2.10511876 1.20130332.0 1 0 .67.0.34.0.0z"
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
fill="#f8fafe" transform="translate(83,45)"/>
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
zoomAndPan="magnify"
|
|
||||||
contentStyleType="text/css"
|
|
||||||
id="svg2"
|
|
||||||
sodipodi:docname="Crystal_Clear_app_linneighborhood.new.svg"
|
|
||||||
version="1.1"
|
|
||||||
width="407"
|
|
||||||
preserveAspectRatio="xMidYMid meet"
|
|
||||||
inkscape:version="0.48.5 r10040"
|
|
||||||
height="407">
|
|
||||||
<metadata
|
|
||||||
id="metadata146">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title></dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<sodipodi:namedview
|
|
||||||
objecttolerance="10"
|
|
||||||
bordercolor="#666666"
|
|
||||||
inkscape:window-height="834"
|
|
||||||
inkscape:zoom="0.55698257"
|
|
||||||
id="namedview84"
|
|
||||||
gridtolerance="10"
|
|
||||||
inkscape:current-layer="svg2"
|
|
||||||
inkscape:window-y="27"
|
|
||||||
inkscape:cy="158.05771"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:cx="6.7187214"
|
|
||||||
showgrid="false"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="1440"
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
borderopacity="1"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
fit-margin-top="0"
|
|
||||||
fit-margin-left="0"
|
|
||||||
fit-margin-right="0"
|
|
||||||
fit-margin-bottom="0" />
|
|
||||||
<defs
|
|
||||||
id="defs4">
|
|
||||||
<linearGradient
|
|
||||||
id="linearGradient3936"
|
|
||||||
inkscape:collect="always">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop3938" />
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:0;"
|
|
||||||
offset="1"
|
|
||||||
id="stop3940" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
id="linearGradient4370"
|
|
||||||
inkscape:collect="always">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop4372" />
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:0;"
|
|
||||||
offset="1"
|
|
||||||
id="stop4374" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
id="linearGradient4279"
|
|
||||||
inkscape:collect="always">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop4281" />
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:0;"
|
|
||||||
offset="1"
|
|
||||||
id="stop4283" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
id="linearGradient4036"
|
|
||||||
inkscape:collect="always">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop4038" />
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:0;"
|
|
||||||
offset="1"
|
|
||||||
id="stop4040" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
id="linearGradient4024">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop4026" />
|
|
||||||
<stop
|
|
||||||
offset="0.5"
|
|
||||||
style="stop-color:#ffffff;stop-opacity:0.49803922;"
|
|
||||||
id="stop4034" />
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:0;"
|
|
||||||
offset="1"
|
|
||||||
id="stop4028" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
id="linearGradient3685">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:0.30000001"
|
|
||||||
offset="0"
|
|
||||||
id="stop3687" />
|
|
||||||
<stop
|
|
||||||
style="stop-color:#ffffff;stop-opacity:0"
|
|
||||||
offset="1"
|
|
||||||
id="stop3689" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
gradientTransform="matrix(0.97422123,0,0,1.0442282,-152.37144,-243.18363)"
|
|
||||||
inkscape:collect="always"
|
|
||||||
id="linearGradient3868"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
x1="369"
|
|
||||||
y1="614.86218"
|
|
||||||
x2="369"
|
|
||||||
y2="478.36218"
|
|
||||||
xlink:href="#linearGradient3685" />
|
|
||||||
<linearGradient
|
|
||||||
gradientTransform="matrix(-0.12477578,0.62894977,-1.344634,-0.08139473,448.14031,-32.957024)"
|
|
||||||
inkscape:collect="always"
|
|
||||||
id="linearGradient4032"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
spreadMethod="reflect"
|
|
||||||
x1="84.270332"
|
|
||||||
y1="158.15402"
|
|
||||||
y2="158.15402"
|
|
||||||
x2="398.27032"
|
|
||||||
xlink:href="#linearGradient4024" />
|
|
||||||
<linearGradient
|
|
||||||
x1="149.80469"
|
|
||||||
xlink:href="#linearGradient4036"
|
|
||||||
y1="360.66406"
|
|
||||||
x2="365.625"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
y2="360.66406"
|
|
||||||
id="linearGradient4042"
|
|
||||||
inkscape:collect="always"
|
|
||||||
gradientTransform="matrix(-0.05429007,-0.74636342,-1.5075144,0.03084743,772.50444,499.09629)" />
|
|
||||||
<filter
|
|
||||||
x="-0.29278594"
|
|
||||||
y="-0.30742526"
|
|
||||||
width="1.5855719"
|
|
||||||
id="filter4247"
|
|
||||||
height="1.6148505"
|
|
||||||
inkscape:collect="always"
|
|
||||||
color-interpolation-filters="sRGB">
|
|
||||||
<feGaussianBlur
|
|
||||||
stdDeviation="3.2523829"
|
|
||||||
inkscape:collect="always"
|
|
||||||
id="feGaussianBlur4249" />
|
|
||||||
</filter>
|
|
||||||
<filter
|
|
||||||
x="-0.35134313"
|
|
||||||
y="-0.36891031"
|
|
||||||
width="1.7026863"
|
|
||||||
id="filter4255"
|
|
||||||
height="1.7378206"
|
|
||||||
inkscape:collect="always"
|
|
||||||
color-interpolation-filters="sRGB">
|
|
||||||
<feGaussianBlur
|
|
||||||
stdDeviation="3.9028595"
|
|
||||||
inkscape:collect="always"
|
|
||||||
id="feGaussianBlur4257" />
|
|
||||||
</filter>
|
|
||||||
<filter
|
|
||||||
x="-0.35134313"
|
|
||||||
y="-0.36891031"
|
|
||||||
width="1.7026863"
|
|
||||||
id="filter4259"
|
|
||||||
height="1.7378206"
|
|
||||||
inkscape:collect="always"
|
|
||||||
color-interpolation-filters="sRGB">
|
|
||||||
<feGaussianBlur
|
|
||||||
stdDeviation="3.9028595"
|
|
||||||
inkscape:collect="always"
|
|
||||||
id="feGaussianBlur4261" />
|
|
||||||
</filter>
|
|
||||||
<filter
|
|
||||||
x="-0.35134313"
|
|
||||||
y="-0.36891031"
|
|
||||||
width="1.7026863"
|
|
||||||
id="filter4263"
|
|
||||||
height="1.7378206"
|
|
||||||
inkscape:collect="always"
|
|
||||||
color-interpolation-filters="sRGB">
|
|
||||||
<feGaussianBlur
|
|
||||||
stdDeviation="3.9028595"
|
|
||||||
inkscape:collect="always"
|
|
||||||
id="feGaussianBlur4265" />
|
|
||||||
</filter>
|
|
||||||
<filter
|
|
||||||
x="-0.35134313"
|
|
||||||
y="-0.36891031"
|
|
||||||
width="1.7026863"
|
|
||||||
id="filter4271"
|
|
||||||
height="1.7378206"
|
|
||||||
inkscape:collect="always"
|
|
||||||
color-interpolation-filters="sRGB">
|
|
||||||
<feGaussianBlur
|
|
||||||
stdDeviation="3.9028595"
|
|
||||||
inkscape:collect="always"
|
|
||||||
id="feGaussianBlur4273" />
|
|
||||||
</filter>
|
|
||||||
<linearGradient
|
|
||||||
x1="213.15121"
|
|
||||||
xlink:href="#linearGradient4279"
|
|
||||||
y1="252.88338"
|
|
||||||
x2="242.87743"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
y2="252.88338"
|
|
||||||
id="linearGradient4285"
|
|
||||||
inkscape:collect="always"
|
|
||||||
gradientTransform="matrix(-1.8191796,0,0,1,610.04675,-50.01213)" />
|
|
||||||
<linearGradient
|
|
||||||
x1="213.27011"
|
|
||||||
xlink:href="#linearGradient4370"
|
|
||||||
y1="252.88338"
|
|
||||||
x2="242.75851"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
y2="252.88338"
|
|
||||||
id="linearGradient4376"
|
|
||||||
inkscape:collect="always"
|
|
||||||
gradientTransform="matrix(-4.3200016,-8.8839851,-0.82294491,0.0107314,1396.8773,2227.0713)" />
|
|
||||||
<linearGradient
|
|
||||||
x1="210.78125"
|
|
||||||
xlink:href="#linearGradient3936"
|
|
||||||
y1="257.83203"
|
|
||||||
x2="239.90234"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
y2="257.83203"
|
|
||||||
id="linearGradient3942"
|
|
||||||
inkscape:collect="always"
|
|
||||||
gradientTransform="matrix(-0.74242242,-0.5447124,0.51896924,-0.77924984,254.64457,522.83946)" />
|
|
||||||
</defs>
|
|
||||||
<path
|
|
||||||
d="m 402.75789,203.5 a 199.25789,199.25789 0 0 1 -398.51578,0 199.25789,199.25789 0 1 1 398.51578,0 z"
|
|
||||||
id="path2830"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="fill:#183f8e;fill-opacity:1;stroke:#0b1e46;stroke-width:7.80000019;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
|
||||||
<path
|
|
||||||
d="M 36.62747,220.83189 C 51.67425,307.12428 62.75993,396.04902 204.19353,398.35069 358.47758,374.2341 361.03402,302.45167 377.60492,235.45109 337.09511,301.76722 284.16517,350.61049 202.24509,358.67001 104.88013,353.98314 77.1934,281.10538 36.62747,220.83189 z"
|
|
||||||
id="path3663"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="fill:url(#linearGradient3868);fill-opacity:1;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 383.06193,177.62039 c 0,0 -2.63803,13.19016 -4.8992,14.69761 -2.26117,1.50744 -13.94389,13.94388 -13.94389,13.94388 l -2.26117,7.53723 1.13059,21.85798 -10.55213,16.20506 -2.63803,15.45133 -7.53724,9.7984 -20.72739,0 -13.19016,-7.16037 -6.40665,-13.94388 -3.76862,-9.04469 1.13059,-10.92899 4.52234,-11.30585 -6.78351,-16.58191 0,-14.69761 -15.8282,-3.39176 -21.10425,0.37687 -18.84309,-18.46623 -0.37686,-27.13404 10.92899,-18.08936 16.95878,-15.07447 29.77207,-1.13059 13.19016,10.55213 31.65639,-1.13058 0,-3.76862 -11.68272,-13.56702 -5.27606,0 -2.63803,3.39175 c 0,0 -1.50745,-3.76861 -1.50745,-2.26117 0,1.50745 0.75372,4.52234 0.75372,4.52234 l -4.52234,-6.40665 0,4.89921 -3.6708,-3.44062 -6.7188,-12.353926 -3.6845,0.21674 -1.95062,2.60083 4.33471,6.718796 6.06859,5.20165 -0.43347,2.16736 -3.03429,-2.16736 -0.86695,1.95062 0.21674,2.60083 -2.38409,-0.86694 0.21673,-3.90124 -9.10289,-13.220866 -13.22087,-0.65021 -4.76818,4.55145 -2.81756,10.403296 -5.41839,1.30042 -1.08368,2.81756 -11.05351,-3.0343 0,-17.122106 2.3841,-2.38409 c 1.81765,-0.88212 5.37275,-0.89641 11.70371,-0.6502 3.94024,-0.32222 2.32657,-6.19836 0,-12.7874 l -2.81756,-1.51715 2.81756,-1.73388 4.33471,0.6502 11.27025,-3.90124 6.28533,-6.93553 6.7188,-8.66943 3.68451,0.86695 4.11797,-3.90124 4.06343,-9.24691 c 9.68955,8.27679 20.00533,16.62146 27.49814,24.79876 32.11834,32.45403 53.72083,67.452026 51.80744,95.868386 -5.32863,0.34435 -5.25327,3.70738 -8.49669,7.17955 l -12.23575,0.38802 -12.13719,-14.30455 -11.27025,-17.33884 9.7531,20.15641 9.53637,16.90537 15.38822,0 -0.59101,3.63483 z"
|
|
||||||
id="path4122"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 199.74621,215.24232 -2.11534,9.16648 -7.75626,9.8716 -0.70511,13.39717 -15.51251,14.10228 -2.82046,11.98694 -13.39717,12.69206 -15.51251,9.87159 -3.52557,15.51251 -2.82045,16.21763 3.52557,13.39717 -12.69206,-1.41023 -4.23068,-5.64091 c 0,0 -6.34603,-9.16649 -4.9358,-13.39717 1.41023,-4.23069 1.41023,-33.84548 1.41023,-33.84548 l 1.41023,-21.85854 c 0,0 -0.70754,-14.39556 -2.11535,-17.62785 -1.06966,-2.45591 -16.8481,-17.1798 -14.95322,-19.07468 l -4.08486,-14.06568 0.70512,-12.69206 7.75625,-9.8716 L 89.74841,177.16616 87.8641,166.78388 69.3001,160.24342 54.4927,146.84625 48.14668,124.98771 49.5569,97.488264 c -4.30241,7.365846 -4.17276,15.618106 -3.52557,23.973876 l -1.76808,1.5133 -1.13059,-9.79841 -1.88431,-9.7984 6.78351,-16.205046 c 0,0 20.79061,-19.85867 22.23484,-20.7274 2.50607,-1.50744 1.68473,-6.70752 1.17618,-6.70752 l 25.82263,-20.90822 12.57167,14.04872 3.76862,7.9141 c 0,0 4.1461,0.33391 5.65293,0.37686 3.53828,0.10086 8.01172,-25.27388 6.40665,-26.00346 l 12.43643,4.52234 12.8133,-1.13058 12.43644,18.46622 -7.50684,14.83284 2.9845,0.24163 7.53723,0.37686 -1.13058,8.66782 -9.42155,-4.52234 0,-4.8992 -12.43643,0 0.37686,4.8992 8.29096,4.52234 -2.63804,10.55213 -9.04468,-3.39176 -9.04468,7.53724 -7.91409,2.63803 -1.50745,8.290956 -4.14548,7.16037 -10.17527,7.53723 -1.50744,5.27607 2.26117,5.65292 -1.50745,1.88431 -3.39176,-0.37686 -2.26117,-6.02979 -2.63803,-3.01489 -10.55213,1.13058 -13.56702,5.27607 -3.39175,13.19016 2.26117,3.39175 9.42154,1.88431 2.63803,-4.52234 10.92899,-0.37686 -4.14548,6.02979 4.52234,6.78351 5.65293,2.63803 -2.63803,5.65292 6.78351,8.29096 10.17526,-4.52234 22.23485,-0.37686 6.02978,9.42154 13.19016,5.27607 9.42155,6.78351 9.04468,10.17526 13.56702,3.39176 9.63748,10.86475 z"
|
|
||||||
id="path4091"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 143.37788,156.13929 a 4.14548,3.0148947 0 0 1 -8.29096,0 4.14548,3.0148947 0 1 1 8.29096,0 z"
|
|
||||||
id="path4101"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;fill-rule:nonzero;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="M 214.52594,6.5398948 C 302.46431,20.561174 355.47357,52.086404 346.87978,114.4826 322.4798,198.5275 248.02366,196.39738 179.38024,204.27431 70.00917,182.56946 66.45439,142.54809 63.50845,102.42131 70.67184,26.720464 138.88855,12.871314 214.52594,6.5398948 z"
|
|
||||||
id="path3683"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="fill:url(#linearGradient4032);fill-opacity:1;stroke:none"
|
|
||||||
inkscape:transform-center-y="56.105886" />
|
|
||||||
<path
|
|
||||||
d="m 165.23587,142.76068 a 0.94215429,1.319016 0 1 1 -0.14323,-0.69912"
|
|
||||||
id="path4106"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;fill-rule:nonzero;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 126.04224,149.35576 c 2.15158,4.70346 9.09922,7.09931 -5.27606,7.9141 -6.49976,-0.83396 -7.98706,-7.97717 -18.08937,-13.19016 9.39282,-2.25218 15.76779,3.04028 23.36543,5.27606 z"
|
|
||||||
id="path4097"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 166.74331,130.51266 a 0.94215429,2.638032 0 1 1 -0.14322,-1.39824"
|
|
||||||
id="path4108"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;fill-rule:nonzero;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 165.61272,181.76587 a 1.1305852,1.1305852 0 1 1 -0.17188,-0.59925"
|
|
||||||
id="path4110"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;fill-rule:nonzero;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 160.71351,180.8237 a 0.37686172,0.94215429 0 1 1 -0.0573,-0.49937"
|
|
||||||
id="path4112"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;fill-rule:nonzero;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 228.17177,182.89645 a 1.8843086,1.8843086 0 1 1 -0.28646,-0.99874"
|
|
||||||
id="path4114"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;fill-rule:nonzero;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 223.64941,188.17252 a 0.94215429,1.8843086 0 1 1 -0.14323,-0.99875"
|
|
||||||
id="path4116"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;fill-rule:nonzero;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 221.38826,193.44858 a 0.75372344,1.1305852 0 1 1 -0.11458,-0.59925"
|
|
||||||
id="path4118"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;fill-rule:nonzero;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 381.93134,229.51162 -10.55213,9.42155 -6.02978,16.20505 3.76861,8.29096 9.04469,-5.27607 3.39175,-11.30585 2.63803,-8.66782 -2.26117,-8.66782 z"
|
|
||||||
id="path4120"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 279.40315,61.499814 -2.60083,1.08368 -2.60083,1.73388 -3.25103,1.73389 -2.16736,-1.51715 1.30042,-3.68451 -2.38409,-5.41838 -0.43347,-4.76819 -0.65021,-3.03429 -2.81756,-1.08368 2.38409,-2.16736 4.98492,0 0,2.60083 4.76818,6.7188 3.6845,3.90124 -0.21673,3.90124 z"
|
|
||||||
id="path4124"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 265.53207,62.800224 0.43347,-3.25103 -0.86694,-3.90124 -2.60083,-0.21673 -4.33471,2.81756 -0.43347,3.90124 c 0,0 3.25103,1.51715 4.33471,1.51715 1.08368,0 3.46777,-0.86695 3.46777,-0.86695 z"
|
|
||||||
id="path4126"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 234.99702,10.573344 c 0.001,3.50761 -13.24553,12.13081 -13.24553,12.13081 l -18.85599,5.63512 -6.50207,10.40331 c 0,0 -8.45268,1.30041 -9.31962,0.21674 -0.86695,-1.08368 -6.50207,-8.45269 -6.50207,-8.45269 0,0 -10.46552,-3.03944 -9.53636,-4.76818 1.67578,-3.11786 -19.91653,-11.10653 -20.7305,-10.45534 22.24425,-6.3867792 52.84194,-9.8068792 84.69214,-4.70977 z"
|
|
||||||
id="path4128"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;stroke:none" />
|
|
||||||
<path
|
|
||||||
d="m 231.72133,42.860554 7.15227,0.21674 2.60083,-2.81756 0.6502,-3.90124 -5.63512,-0.86694 -6.7188,0.86694 -3.0343,3.0343 0.21674,0.43347 4.76818,3.03429 z"
|
|
||||||
id="path4130"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;stroke:none" />
|
|
||||||
<path
|
|
||||||
inkscape:transform-center-x="-5.386165"
|
|
||||||
id="path3890"
|
|
||||||
d="m 208.94837,237.33272 c -61.305,1.25445 -108.37961,38.33046 -105.14407,82.81158 3.23553,44.48112 55.55597,79.52326 116.86097,78.26881 61.305,-1.25445 108.3796,-38.33046 105.14407,-82.81157 -3.23553,-44.48113 -55.55597,-79.52327 -116.86097,-78.26882 z"
|
|
||||||
style="opacity:0.46835441;fill:url(#linearGradient4042);fill-opacity:1;fill-rule:evenodd;stroke:none"
|
|
||||||
inkscape:transform-center-y="-69.571298"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
id="path4277"
|
|
||||||
d="m 169.11869,202.87125 c 0,99.15656 11.69838,179.53883 26.12908,179.53883 14.43068,0 26.12906,-80.38227 26.12906,-179.53883 0,-99.15656 -11.69838,-179.538837 -26.12906,-179.538837 -14.4307,0 -26.12908,80.382277 -26.12908,179.538837 z"
|
|
||||||
style="fill:none;stroke:url(#linearGradient4285);stroke-width:5;stroke-miterlimit:4;stroke-opacity:1"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
id="path4277-1"
|
|
||||||
d="M 141.69738,76.507699 C 60.096991,77.571788 21.726927,135.56357 55.995469,206.03605 90.263968,276.50844 184.19426,332.77501 265.79465,331.71092 347.39504,330.64683 385.76511,272.65504 351.49661,202.18265 317.22807,131.71017 223.29776,75.44361 141.69738,76.507699 z"
|
|
||||||
style="fill:none;stroke:url(#linearGradient4376);stroke-width:5;stroke-miterlimit:4;stroke-opacity:1"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
id="path4044-6-7-2"
|
|
||||||
d="m 206.93359,339.08203 c 0,7.01143 -5.96808,12.69531 -13.33007,12.69531 -7.362,0 -13.33008,-5.68388 -13.33008,-12.69531 0,-7.01143 5.96808,-12.69531 13.33008,-12.69531 7.36199,0 13.33007,5.68388 13.33007,12.69531 z"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#f9f9f9;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;filter:url(#filter4263)"
|
|
||||||
transform="matrix(0.99132302,0,0,1.0198451,23.878498,-253.73902)"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
id="path4044-6-7-2-2"
|
|
||||||
d="m 206.93359,339.08203 c 0,7.01143 -5.96808,12.69531 -13.33007,12.69531 -7.362,0 -13.33008,-5.68388 -13.33008,-12.69531 0,-7.01143 5.96808,-12.69531 13.33008,-12.69531 7.36199,0 13.33007,5.68388 13.33007,12.69531 z"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#f9f9f9;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;filter:url(#filter4271)"
|
|
||||||
transform="matrix(0.88117602,0,0,0.90652897,4.961992,-223.17678)"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
id="path4044"
|
|
||||||
d="m 206.93359,339.08203 c 0,7.01143 -5.96808,12.69531 -13.33007,12.69531 -7.362,0 -13.33008,-5.68388 -13.33008,-12.69531 0,-7.01143 5.96808,-12.69531 13.33008,-12.69531 7.36199,0 13.33007,5.68388 13.33007,12.69531 z"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#f9f9f9;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;filter:url(#filter4247)"
|
|
||||||
transform="matrix(1.4193929,0,0,1.4633411,-118.05725,-194.61686)"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
id="path3934"
|
|
||||||
d="m 212.19864,192.60789 c 52.76137,-79.22298 99.54177,-140.504607 104.48693,-136.876359 4.94517,3.628253 -33.81752,70.792439 -86.57889,150.015419 -52.76137,79.22298 -99.54176,140.50461 -104.48693,136.87636 -4.94517,-3.62825 33.81752,-70.79244 86.57889,-150.01542 z"
|
|
||||||
style="fill:none;stroke:url(#linearGradient3942);stroke-width:4.64010096;stroke-miterlimit:4;stroke-opacity:1"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
id="path4044-6-7"
|
|
||||||
d="m 206.93359,339.08203 c 0,7.01143 -5.96808,12.69531 -13.33007,12.69531 -7.362,0 -13.33008,-5.68388 -13.33008,-12.69531 0,-7.01143 5.96808,-12.69531 13.33008,-12.69531 7.36199,0 13.33007,5.68388 13.33007,12.69531 z"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#f9f9f9;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;filter:url(#filter4259)"
|
|
||||||
transform="matrix(1.10147,0,0,1.1331612,66.8255,-256.41909)"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
id="path4044-6"
|
|
||||||
d="m 206.93359,339.08203 c 0,7.01143 -5.96808,12.69531 -13.33007,12.69531 -7.362,0 -13.33008,-5.68388 -13.33008,-12.69531 0,-7.01143 5.96808,-12.69531 13.33008,-12.69531 7.36199,0 13.33007,5.68388 13.33007,12.69531 z"
|
|
||||||
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#f9f9f9;stroke-width:0;stroke-miterlimit:4;stroke-opacity:1;filter:url(#filter4255)"
|
|
||||||
transform="matrix(1.211617,0,0,1.2464773,-13.370076,-206.53428)"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
sodipodi:nodetypes="cscsscssscsssc"
|
|
||||||
id="path3957"
|
|
||||||
d="m 162.83483,386.89854 c 22.48747,-15.69642 11.27745,-17.27867 20.38403,-20.23002 13.91318,-4.50911 43.35225,6.76461 43.35225,6.76461 0,0 22.1813,7.16185 33.3236,9.98354 6.09329,1.54307 10.46554,-13.73761 16.74815,-13.54242 11.68148,0.36291 22.9682,5.88013 22.9682,5.88013 0,0 -15.10414,4.57739 -18.85157,7.81631 -7.53806,6.51517 -29.6514,10.5094 -42.06951,12.75363 -12.4181,2.24424 -25.53685,1.669 -38.152,1.34654 -14.4392,-0.36908 -41.29393,-4.48846 -41.29393,-4.48846 0,0 -17.43773,-0.66839 -24.23775,-5.38617 -5.86455,-4.06876 -15.59404,1.55575 -15.47862,-12.87574 0.0574,-7.1704 9.93198,3.44129 19.79228,6.32411 11.10693,3.2473 23.51487,5.65394 23.51487,5.65394 z"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.7;fill:#e3e6f1;fill-opacity:1;stroke:none" />
|
|
||||||
<ellipse
|
|
||||||
rx="198.83333"
|
|
||||||
ry="196.16666"
|
|
||||||
style="fill:none;stroke:#0b1e46;stroke-width:5"
|
|
||||||
cx="238.16667"
|
|
||||||
cy="241.83334"
|
|
||||||
id="ellipse144"
|
|
||||||
sodipodi:cx="238.16667"
|
|
||||||
sodipodi:cy="241.83334"
|
|
||||||
sodipodi:rx="198.83333"
|
|
||||||
sodipodi:ry="196.16666"
|
|
||||||
transform="translate(-34.65789,-38.342106)" />
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 2.3 KiB |
@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<svg height="32" width="32" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="2" x2="2" y1="30" y2="2"><stop offset="0" stop-color="#197cf1"/><stop offset="1" stop-color="#20bcfa"/></linearGradient><linearGradient id="d" gradientUnits="userSpaceOnUse" x1="23" x2="30" xlink:href="#a" y1="13" y2="20"/><linearGradient id="a"><stop offset="0" stop-color="#292c2f"/><stop offset="1" stop-opacity="0"/></linearGradient><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="6" x2="26" xlink:href="#a" y1="6" y2="26"/><linearGradient id="e" gradientUnits="userSpaceOnUse" x1="2" x2="2" y1="30" y2="2"><stop offset="0" stop-color="#54d883"/><stop offset="1" stop-color="#abf9c7"/></linearGradient><rect fill="url(#b)" height="28" rx="14" width="28" x="2" y="2"/><path d="M16 2A13.965 13.965 0 0 0 2.078 14.53l.543.07L6 17l7.188 4.133 1.47 8.799A13.97 13.97 0 0 0 30 16c0-7.756-6.244-14-14-14z" fill="url(#c)" fill-rule="evenodd" opacity=".2"/><path d="M29.73 13.27L25 18l3.758 3.758a13.984 13.984 0 0 0 .972-8.488z" fill="url(#d)" fill-rule="evenodd" opacity=".2"/><path d="M16 2a14 14 0 0 0-13.059 9H3l3-1 1 1 1 1v-2l2-1V8l2-1 2-2v1l1-1-1-1h2v1l2-1-1-1v-.95A14 14 0 0 0 16 2zm10.375 4.625L26 7v1h1.469a14 14 0 0 0-1.094-1.375zm1.316 1.684L27 9l-2 2-1 1-1 3v1l1 1 1 1 2 1 2.791-.688A14 14 0 0 0 30 16a14 14 0 0 0-2.309-7.691zM4 13l-1 1h-.838c-.05.34-.088.681-.113 1.023v.002L4 16l1 1 2 1 1 1-1 1v2l1 2 2 2v2.629A14 14 0 0 0 16 30c.17-.003.34-.009.51-.018L17 29v-1l2-1 1-1v-2l1-1v-1l-1-1-3-1-1-1-1-1h-1l-1-1-3-1-2 1H6v-2H5v-2z" fill="url(#e)"/><path d="M29.979 15.414A14 14 0 0 1 16 29 14 14 0 0 1 2.021 15.586 14 14 0 0 0 2 16a14 14 0 0 0 14 14 14 14 0 0 0 14-14 14 14 0 0 0-.021-.586z" fill="#292c2f" opacity=".2"/></svg>
|
|
Before Width: | Height: | Size: 1.8 KiB |
BIN
icon/dot.ico
Normal file
BIN
icon/dot.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
1042
icon/installer.svg
1042
icon/installer.svg
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 40 KiB |
46
iconize.go
46
iconize.go
@ -1,46 +0,0 @@
|
|||||||
//go:build ignore
|
|
||||||
|
|
||||||
// generates .ico files from images.
|
|
||||||
|
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"flag"
|
|
||||||
"os"
|
|
||||||
"os/exec"
|
|
||||||
"path/filepath"
|
|
||||||
"strings"
|
|
||||||
)
|
|
||||||
|
|
||||||
const iconExt = ".ico"
|
|
||||||
|
|
||||||
var dir string
|
|
||||||
|
|
||||||
func init() {
|
|
||||||
flag.StringVar(&dir, "d", "icon", "The directory of image files.")
|
|
||||||
flag.Parse()
|
|
||||||
}
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
files, err := os.ReadDir(dir)
|
|
||||||
if err != nil {
|
|
||||||
println(err.Error())
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
for _, f := range files {
|
|
||||||
if f.IsDir() {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
path := filepath.Join(dir, f.Name())
|
|
||||||
ext := filepath.Ext(path)
|
|
||||||
if ext == iconExt {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
output := strings.TrimSuffix(path, ext) + iconExt
|
|
||||||
res, err := exec.Command(".deps/convert.exe", "-background", "none", path,
|
|
||||||
"-define", "icon:auto-resize=256,192,128,96,64,48,40,32,24,20,16", "-compress", "zip", output).CombinedOutput()
|
|
||||||
if err != nil {
|
|
||||||
println(err.Error(), string(res))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||||
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST manifest.xml
|
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST manifest.xml
|
||||||
IDI_ICON ICON "../icon/installer.ico"
|
IDI_ICON ICON "../icon/app.ico"
|
||||||
IDR_MSI RCDATA EXPAND(MSI_FILE)
|
IDR_MSI RCDATA EXPAND(MSI_FILE)
|
||||||
|
|
||||||
#define VERSIONINFO_TEMPLATE(block_id, lang_id, charset_id, file_desc, product_name) \
|
#define VERSIONINFO_TEMPLATE(block_id, lang_id, charset_id, file_desc, product_name) \
|
||||||
|
@ -76,7 +76,7 @@ var (
|
|||||||
// Colors
|
// Colors
|
||||||
var (
|
var (
|
||||||
ColorBlue = walk.RGB(0, 38, 247)
|
ColorBlue = walk.RGB(0, 38, 247)
|
||||||
ColorDarkBlue = walk.RGB(11, 53, 137)
|
ColorDarkBlue = walk.RGB(0, 51, 153)
|
||||||
ColorLightBlue = walk.RGB(49, 94, 251)
|
ColorLightBlue = walk.RGB(49, 94, 251)
|
||||||
ColorGray = walk.RGB(109, 109, 109)
|
ColorGray = walk.RGB(109, 109, 109)
|
||||||
ColorDarkGray = walk.RGB(85, 85, 85)
|
ColorDarkGray = walk.RGB(85, 85, 85)
|
||||||
@ -114,7 +114,7 @@ func init() {
|
|||||||
}
|
}
|
||||||
TextRegular = Font{Family: defaultFontFamily, PointSize: 9}
|
TextRegular = Font{Family: defaultFontFamily, PointSize: 9}
|
||||||
TextMedium = Font{Family: defaultFontFamily, PointSize: 10}
|
TextMedium = Font{Family: defaultFontFamily, PointSize: 10}
|
||||||
TextLarge = Font{Family: defaultFontFamily, PointSize: 16}
|
TextLarge = Font{Family: defaultFontFamily, PointSize: 12}
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -47,20 +47,20 @@ func (ap *AboutPage) Page() TabPage {
|
|||||||
Title: Bind(fmt.Sprintf("vm.NewVersion ? '%s' : '%s'", i18n.Sprintf("New Version!"), i18n.Sprintf("About"))),
|
Title: Bind(fmt.Sprintf("vm.NewVersion ? '%s' : '%s'", i18n.Sprintf("New Version!"), i18n.Sprintf("About"))),
|
||||||
Image: Bind("vm.NewVersion ? vm.TabIcon : ''"),
|
Image: Bind("vm.NewVersion ? vm.TabIcon : ''"),
|
||||||
DataBinder: DataBinder{AssignTo: &ap.db, Name: "vm", DataSource: &ap.viewModel},
|
DataBinder: DataBinder{AssignTo: &ap.db, Name: "vm", DataSource: &ap.viewModel},
|
||||||
Layout: VBox{},
|
Layout: HBox{Margins: Margins{Left: 24, Top: 24, Right: 24, Bottom: 24}, Spacing: 24},
|
||||||
Children: []Widget{
|
Children: []Widget{
|
||||||
|
ImageView{Image: loadLogoIcon(72), Alignment: AlignHNearVNear},
|
||||||
Composite{
|
Composite{
|
||||||
Layout: HBox{},
|
Alignment: AlignHNearVNear,
|
||||||
|
Layout: VBox{MarginsZero: true},
|
||||||
Children: []Widget{
|
Children: []Widget{
|
||||||
ImageView{Image: loadLogoIcon(96), Alignment: AlignHCenterVNear},
|
Label{Text: AppLocalName, Font: res.TextLarge, TextColor: res.ColorDarkBlue},
|
||||||
|
Label{Text: i18n.Sprintf("Version: %s", version.Number)},
|
||||||
|
Label{Text: i18n.Sprintf("FRP version: %s", version.FRPVersion)},
|
||||||
|
Label{Text: i18n.Sprintf("Built on: %s", version.BuildDate)},
|
||||||
Composite{
|
Composite{
|
||||||
Layout: VBox{Margins: Margins{Left: 12}},
|
Layout: HBox{Margins: Margins{Top: 9, Bottom: 9}},
|
||||||
Children: []Widget{
|
Children: []Widget{
|
||||||
Label{Text: AppName, Font: res.TextLarge, TextColor: res.ColorDarkBlue},
|
|
||||||
Label{Text: i18n.Sprintf("Version: %s", version.Number)},
|
|
||||||
Label{Text: i18n.Sprintf("FRP version: %s", version.FRPVersion)},
|
|
||||||
Label{Text: i18n.Sprintf("Built on: %s", version.BuildDate)},
|
|
||||||
VSpacer{Size: 3},
|
|
||||||
PushButton{
|
PushButton{
|
||||||
Enabled: Bind("!vm.Checking"),
|
Enabled: Bind("!vm.Checking"),
|
||||||
Text: Bind(fmt.Sprintf("vm.NewVersion ? ' %s' : (vm.Checking ? '%s' : '%s')",
|
Text: Bind(fmt.Sprintf("vm.NewVersion ? ' %s' : (vm.Checking ? '%s' : '%s')",
|
||||||
@ -76,17 +76,11 @@ func (ap *AboutPage) Page() TabPage {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
Image: Bind("vm.NewVersion ? vm.UpdateIcon : ''"),
|
Image: Bind("vm.NewVersion ? vm.UpdateIcon : ''"),
|
||||||
MinSize: Size{Width: 250, Height: 38},
|
MinSize: Size{Width: 200},
|
||||||
},
|
},
|
||||||
|
HSpacer{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
HSpacer{},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
Composite{
|
|
||||||
Layout: VBox{Margins: Margins{Left: 123}},
|
|
||||||
Alignment: AlignHNearVNear,
|
|
||||||
Children: []Widget{
|
|
||||||
Label{Text: i18n.Sprintf("For comments or to report bugs, please visit the project page:")},
|
Label{Text: i18n.Sprintf("For comments or to report bugs, please visit the project page:")},
|
||||||
LinkLabel{
|
LinkLabel{
|
||||||
Alignment: AlignHNearVCenter,
|
Alignment: AlignHNearVCenter,
|
||||||
@ -106,7 +100,7 @@ func (ap *AboutPage) Page() TabPage {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
VSpacer{},
|
HSpacer{},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user