Compare commits
4 Commits
a91556e3e6
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43de4d979d | ||
|
|
d1ea86f694 | ||
|
|
aa8e05f676 | ||
|
|
f45cb3db36 |
4
.github/workflows/flatpak.yml
vendored
@@ -8,10 +8,10 @@ jobs:
|
||||
flatpak:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-49
|
||||
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-50
|
||||
options: --privileged
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Build Flatpak
|
||||
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||
with:
|
||||
|
||||
4
.github/workflows/pyinstaller-linux.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
pyinstaller-linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
# We shouldn't use actions/setup-python since PyGObject is compiled against the system Python
|
||||
- name: Install System Dependencies
|
||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
run: LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu pyinstaller yafi.spec -- --onefile
|
||||
working-directory: pyinstaller
|
||||
- name: Upload PyInstaller Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v6
|
||||
with:
|
||||
path: pyinstaller/dist/YAFI
|
||||
name: yafi-linux-${{ github.sha }}
|
||||
|
||||
14
.github/workflows/pyinstaller-windows.yml
vendored
@@ -8,22 +8,22 @@ jobs:
|
||||
pyinstaller-windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.14'
|
||||
cache: 'pip'
|
||||
|
||||
- name: Cache GTK4
|
||||
id: cache-gtk4
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: C:\gtk
|
||||
key: Gvsbuild_2025.11.1
|
||||
key: Gvsbuild_2026.2.0
|
||||
|
||||
- name: Download GTK4 Gvsbuild zip
|
||||
if: steps.cache-gtk4.outputs.cache-hit != 'true'
|
||||
run: Start-BitsTransfer -Source https://github.com/wingtk/gvsbuild/releases/download/2025.11.1/GTK4_Gvsbuild_2025.11.1_x64.zip -Destination Gvsbuild.zip
|
||||
run: Start-BitsTransfer -Source https://github.com/wingtk/gvsbuild/releases/download/2026.2.0/GTK4_Gvsbuild_2026.2.0_x64.zip -Destination Gvsbuild.zip
|
||||
|
||||
- name: Extract Gvsbuild zip
|
||||
if: steps.cache-gtk4.outputs.cache-hit != 'true'
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
working-directory: pyinstaller
|
||||
|
||||
- name: Upload PyInstaller Artifact (ZIP)
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v6
|
||||
with:
|
||||
path: pyinstaller/dist/YAFI/*
|
||||
name: yafi-windows-${{ github.sha }}
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
working-directory: pyinstaller
|
||||
|
||||
- name: Upload PyInstaller Artifact (Standalone)
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v6
|
||||
with:
|
||||
path: pyinstaller/dist/YAFI.exe
|
||||
name: yafi-windows-standalone-${{ github.sha }}
|
||||
|
||||
@@ -25,8 +25,6 @@ If your Laptop's BIOS supports Framework's EC driver, there is no need to instal
|
||||
|
||||
Otherwise, YAFI supports the [PawnIO](https://pawnio.eu/) driver, and will be automatically used if installed and there is no Framework driver available. YAFI will need to be run as administrator to communicate with the driver.
|
||||
|
||||
Currently the PawnIO driver does not support Framework 13 mainboards with 11th, 12th, or 13th Gen Intel CPUs.
|
||||
|
||||
## Building
|
||||
|
||||
### Flatpak
|
||||
|
||||
@@ -88,6 +88,18 @@
|
||||
</screenshots>
|
||||
|
||||
<releases>
|
||||
<release version="1.0" date="2026-03-21">
|
||||
<url type="details">https://github.com/Steve-Tech/YAFI/releases/tag/1.0</url>
|
||||
<description>
|
||||
<p>The following changes have been made:</p>
|
||||
<ul>
|
||||
<li>New logo matching the GNOME style!</li>
|
||||
<li>Errored temperature sensors will now show as 'Error'.</li>
|
||||
<li>Fix for battery page when battery isn't present.</li>
|
||||
<li>Fix some minor UI bugs.</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="0.7" date="2025-12-25">
|
||||
<url type="details">https://github.com/Steve-Tech/YAFI/releases/tag/0.7</url>
|
||||
<description>
|
||||
|
||||
|
Before Width: | Height: | Size: 161 KiB After Width: | Height: | Size: 160 KiB |
BIN
docs/2-leds.png
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 141 KiB After Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 149 KiB |
|
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 103 KiB |
@@ -1,5 +1,5 @@
|
||||
project('yafi',
|
||||
version: '0.7',
|
||||
version: '1.0',
|
||||
meson_version: '>= 1.0.0',
|
||||
default_options: [ 'warning_level=2', 'werror=false', ],
|
||||
)
|
||||
|
||||
BIN
pyinstaller/yafi.ico
Executable file → Normal file
|
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 398 KiB |
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "yafi"
|
||||
version = "0.7"
|
||||
version = "1.0"
|
||||
authors = [
|
||||
{ name="Steve-Tech" }
|
||||
]
|
||||
@@ -8,11 +8,10 @@ description = "Yet Another Framework Interface"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"cros_ec_python >= 0.3.0",
|
||||
"cros_ec_python >= 0.4.0",
|
||||
"PyGObject"
|
||||
]
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Intended Audience :: End Users/Desktop",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Operating System :: POSIX :: Linux",
|
||||
|
||||
@@ -139,13 +139,13 @@ class YafiApplication(Adw.Application):
|
||||
comments="YAFI is another GUI for the Framework Laptop Embedded Controller.\n\n"
|
||||
+ "It is written in Python with a GTK4 Adwaita theme, and uses the CrOS_EC_Python library to communicate with the EC.\n\n"
|
||||
+ "YAFI is not affiliated with Framework Computer Inc. in any way.",
|
||||
copyright="© 2025 Stephen Horvath",
|
||||
copyright="© 2026 Stephen Horvath",
|
||||
developer_name="Stephen Horvath",
|
||||
developers=["Stephen Horvath https://github.com/Steve-Tech"],
|
||||
artists=["Mirabelle SALLES https://github.com/oiimrosabel"],
|
||||
issue_url="https://github.com/Steve-Tech/YAFI/issues",
|
||||
license_type=Gtk.License.GPL_2_0,
|
||||
version="0.7",
|
||||
version="1.0",
|
||||
website="https://github.com/Steve-Tech/YAFI",
|
||||
)
|
||||
about.add_acknowledgement_section(None, ["Framework Computer Inc. https://frame.work/"])
|
||||
|
||||