assets

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2026 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

应用图标

icon.svg 为本项目原创设计,采用项目的 Apache-2.0 许可证。 双文档和相向箭头表示 OFD/PDF 互转,深蓝底配青绿、暖橙,避免依赖小字辨认格式。

仓库保留 icon.png、icon.ico 和 icon.icns。 Windows 发行脚本在每次打包时,使用固定版本的 github.com/akavel/rsrc@v0.10.2, 将 icon.ico 与 packaging/windows/app.manifest 合并为目标架构的 .syso 资源。 资源只生成在临时构建副本中,无需提交,也不影响普通 go run .。 修改设计后,在安装 Pillow、CairoSVG 的开发环境中运行:

python3 scripts/icons.py

CI 直接使用仓库中的 PNG、ICO 和 ICNS;Windows 资源生成只需 Go, 首次运行时需要下载固定版本的资源生成工具。普通 Go 构建不需要图像工具。

Documentation

Overview

Package assets 保存应用图标及其 SVG 设计源文件。

Index

Constants

This section is empty.

Variables

View Source
var IconPNG []byte

IconPNG 是窗口及关于界面使用的应用图标。

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL