Add Snap package icon

This commit is contained in:
Adnan Hodzic 2023-08-13 11:07:48 +02:00
parent aa8d0ddb9a
commit 360e7b8027
4 changed files with 16 additions and 1 deletions

View File

@ -13,7 +13,7 @@ def read(name):
return f.read()
# Used for the tar.gz/snap releases
VERSION = "1.9.9"
VERSION = "2.0"
setup(
name="auto-cpufreq",

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=auto-cpufreq
Comment=Automatic CPU speed & power optimizer for Linux
Exec=auto-cpufreq-gtk
StartupWMClass=app.py
Terminal=false
Icon=${SNAP}/meta/gui/auto-cpufreq.png
Categories=System;

BIN
snap/gui/auto-cpufreq.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -62,12 +62,17 @@ apps:
- etc-auto-cpufreq-conf
auto-cpufreq-gtk:
command: bin/auto-cpufreq-gtk
#desktop: usr/share/applications/auto-cpufreq.desktop
environment:
PYTHONPATH: $SNAP/usr/lib/python3/site-packages:$SNAP/usr/lib/python3/dist-packages:$PYTHONPATH
LC_ALL: C.UTF-8
LANG: C.UTF-8
PKG_MARKER: SNAP
plugs:
- desktop
- desktop-legacy
- wayland
- x11
- cpu-control
- system-observe
- hardware-observe