mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-07-27 23:54:13 +02:00
Add Snap package icon
This commit is contained in:
parent
aa8d0ddb9a
commit
360e7b8027
2
setup.py
2
setup.py
@ -13,7 +13,7 @@ def read(name):
|
|||||||
return f.read()
|
return f.read()
|
||||||
|
|
||||||
# Used for the tar.gz/snap releases
|
# Used for the tar.gz/snap releases
|
||||||
VERSION = "1.9.9"
|
VERSION = "2.0"
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="auto-cpufreq",
|
name="auto-cpufreq",
|
||||||
|
10
snap/gui/auto-cpufreq.desktop
Normal file
10
snap/gui/auto-cpufreq.desktop
Normal 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
BIN
snap/gui/auto-cpufreq.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 104 KiB |
@ -62,12 +62,17 @@ apps:
|
|||||||
- etc-auto-cpufreq-conf
|
- etc-auto-cpufreq-conf
|
||||||
auto-cpufreq-gtk:
|
auto-cpufreq-gtk:
|
||||||
command: bin/auto-cpufreq-gtk
|
command: bin/auto-cpufreq-gtk
|
||||||
|
#desktop: usr/share/applications/auto-cpufreq.desktop
|
||||||
environment:
|
environment:
|
||||||
PYTHONPATH: $SNAP/usr/lib/python3/site-packages:$SNAP/usr/lib/python3/dist-packages:$PYTHONPATH
|
PYTHONPATH: $SNAP/usr/lib/python3/site-packages:$SNAP/usr/lib/python3/dist-packages:$PYTHONPATH
|
||||||
LC_ALL: C.UTF-8
|
LC_ALL: C.UTF-8
|
||||||
LANG: C.UTF-8
|
LANG: C.UTF-8
|
||||||
PKG_MARKER: SNAP
|
PKG_MARKER: SNAP
|
||||||
plugs:
|
plugs:
|
||||||
|
- desktop
|
||||||
|
- desktop-legacy
|
||||||
|
- wayland
|
||||||
|
- x11
|
||||||
- cpu-control
|
- cpu-control
|
||||||
- system-observe
|
- system-observe
|
||||||
- hardware-observe
|
- hardware-observe
|
||||||
|
Loading…
x
Reference in New Issue
Block a user