Skip to content

Commit e667f5b

Browse files
authored
redesign icons (svg logo + favicon) (NewFuture#461)
1 parent 1b48a69 commit e667f5b

7 files changed

Lines changed: 14 additions & 6 deletions

File tree

.build/ddns.svg

Lines changed: 6 additions & 0 deletions
Loading

.build/icon-black.png

-15.7 KB
Binary file not shown.

.build/icon.png

-19.7 KB
Binary file not shown.

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,10 @@ jobs:
190190
nofollow-import-to: tkinter,unittest,pydoc,doctest,distutils,setuptools,lib2to3,test,idlelib,lzma
191191
onefile-tempdir-spec: "{CACHE_DIR}/{PRODUCT}_{VERSION}"
192192
windows-icon-from-ico: ${{ runner.os == 'Windows' && 'favicon.ico' || '' }}
193-
linux-icon: ${{ runner.os == 'Linux' && '.build/icon.png' || '' }}
194-
static-libpython: ${{ runner.os == 'yes' || 'auto' }}
193+
linux-icon: ${{ runner.os == 'Linux' && '.build/ddns.svg' || '' }}
194+
static-libpython: ${{ runner.os == 'Linux' && 'yes' || 'auto' }}
195195
macos-app-name: ${{ runner.os == 'macOS' && 'DDNS' || '' }}
196-
macos-app-icon: ${{ runner.os == 'macOS' && '.build/icon.png' || '' }}
196+
macos-app-icon: ${{ runner.os == 'macOS' && '.build/ddns.svg' || '' }}
197197

198198

199199
- run: ./dist/ddns || test -e config.json

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,14 @@ jobs:
106106
if: runner.os == 'Linux'
107107
run: |
108108
apt-get update && apt install -y patchelf ccache
109-
echo " --static-libpython=yes --linux-icon=.build/icon.png" >> .build/nuitka.cmd
109+
echo " --static-libpython=yes --linux-icon=.build/ddns.svg" >> .build/nuitka.cmd
110110
cp /etc/ssl/certs/ca-certificates.crt cert.pem && export SSL_CERT_FILE=${PWD}/cert.pem
111111
112112
- name: setup on macOS
113113
if: runner.os == 'macOS'
114114
run: |
115115
python3 -m pip install imageio
116-
echo " --macos-app-name=DDNS --macos-app-icon=.build/icon.png" >> .build/nuitka.cmd
116+
echo " --macos-app-name=DDNS --macos-app-icon=.build/ddns.svg" >> .build/nuitka.cmd
117117
118118
- name: Package binary
119119
run: ./.build/nuitka.cmd

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# [DDNS](https://github.com/NewFuture/DDNS)
1+
# [DDNS](https://github.com/NewFuture/DDNS) [<img src=".build/ddns.svg" width="32px" height="32px"/>](https://ddns.newfuture.cc)
2+
23

34
> 自动更新 DNS 解析 到本机 IP 地址,支持 ipv4 和 ipv6 以 本地(内网)IP 和 公网 IP。
45
> 代理模式,支持自动创建域名记录。
56
7+
68
[![PyPI](https://img.shields.io/pypi/v/ddns.svg?label=DDNS&style=social)](https://pypi.org/project/ddns/)
79
[![Build Status](https://github.com/NewFuture/DDNS/actions/workflows/build.yml/badge.svg?event=push)](https://github.com/NewFuture/DDNS/actions/workflows/build.yml)
810
[![Publish Status](https://github.com/NewFuture/DDNS/actions/workflows/publish.yml/badge.svg)](https://github.com/NewFuture/DDNS/releases/latest)

favicon.ico

37 KB
Binary file not shown.

0 commit comments

Comments
 (0)