release: v1.0.0 — KeSp Controller multi-platform

- Rename package to KeSp_controller
- Version 1.0.0
- GitHub Actions workflow for Linux/Windows/macOS releases
- Auto-build on tag push (v*)
- Window title and version strings updated

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Mae PUGIN 2026-04-07 16:23:12 +02:00
parent c42ed86d12
commit b06bf08cc3
6 changed files with 84 additions and 17 deletions

67
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,67 @@
name: Release
on:
push:
tags: ['v*']
jobs:
build:
strategy:
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
name: KeSp_controller-linux-x86_64
- os: windows-latest
target: x86_64-pc-windows-msvc
name: KeSp_controller-windows-x86_64.exe
- os: macos-13
target: x86_64-apple-darwin
name: KeSp_controller-macos-intel
- os: macos-latest
target: aarch64-apple-darwin
name: KeSp_controller-macos-arm64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- name: Install system deps (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libudev-dev
- name: Build
run: cargo build --release --target ${{ matrix.target }}
- name: Rename binary
shell: bash
run: |
src="target/${{ matrix.target }}/release/KeSp_controller"
[ -f "${src}.exe" ] && src="${src}.exe"
cp "$src" "${{ matrix.name }}"
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.name }}
path: ${{ matrix.name }}
release:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/download-artifact@v4
- uses: softprops/action-gh-release@v2
with:
files: |
KeSp_controller-linux-x86_64/KeSp_controller-linux-x86_64
KeSp_controller-windows-x86_64.exe/KeSp_controller-windows-x86_64.exe
KeSp_controller-macos-intel/KeSp_controller-macos-intel
KeSp_controller-macos-arm64/KeSp_controller-macos-arm64

24
Cargo.lock generated
View file

@ -2,6 +2,18 @@
# It is not intended for manual editing. # It is not intended for manual editing.
version = 4 version = 4
[[package]]
name = "KeSp_controller"
version = "1.0.0"
dependencies = [
"rfd",
"serde",
"serde_json",
"serialport",
"slint",
"slint-build",
]
[[package]] [[package]]
name = "ab_glyph" name = "ab_glyph"
version = "0.2.32" version = "0.2.32"
@ -2555,18 +2567,6 @@ dependencies = [
"wasm-bindgen", "wasm-bindgen",
] ]
[[package]]
name = "kase-controller"
version = "0.6.0"
dependencies = [
"rfd",
"serde",
"serde_json",
"serialport",
"slint",
"slint-build",
]
[[package]] [[package]]
name = "keyboard-types" name = "keyboard-types"
version = "0.7.0" version = "0.7.0"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "kase-controller" name = "KeSp_controller"
version = "0.6.0" version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]

View file

@ -30,7 +30,7 @@ export component StatusBar inherits Rectangle {
// Version // Version
Text { Text {
text: "v0.6.0"; text: "v1.0.0";
color: Theme.fg-secondary; color: Theme.fg-secondary;
font-size: 11px; font-size: 11px;
vertical-alignment: center; vertical-alignment: center;

View file

@ -45,7 +45,7 @@ component DarkTab inherits Rectangle {
} }
export component MainWindow inherits Window { export component MainWindow inherits Window {
title: "KaSe Controller"; title: "KeSp Controller";
preferred-width: 1000px; preferred-width: 1000px;
preferred-height: 700px; preferred-height: 700px;
min-width: 600px; min-width: 600px;

View file

@ -132,7 +132,7 @@ export component TabSettings inherits Rectangle {
spacing: 8px; spacing: 8px;
Text { text: "About"; color: Theme.fg-primary; font-size: 14px; font-weight: 600; } Text { text: "About"; color: Theme.fg-primary; font-size: 14px; font-weight: 600; }
Text { text: "KeSp Controller v0.6.0"; color: Theme.fg-secondary; font-size: 12px; } Text { text: "KeSp Controller v1.0.0"; color: Theme.fg-secondary; font-size: 12px; }
Text { text: "Split keyboard configurator"; color: Theme.fg-secondary; font-size: 12px; } Text { text: "Split keyboard configurator"; color: Theme.fg-secondary; font-size: 12px; }
Text { text: "Made with Slint"; color: Theme.accent-purple; font-size: 11px; } Text { text: "Made with Slint"; color: Theme.accent-purple; font-size: 11px; }
} }