Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ jobs:
fail-fast: false
matrix:
include:
- platform: macos-x86_64
runner: macos-15-intel
- platform: macos-aarch64
runner: macos-15
- platform: windows-x86_64
Expand Down
41 changes: 0 additions & 41 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ into study material, flashcards on a spaced-repetition schedule, and practice. I
serious learners: university students taking several courses, self-learners, and people
studying for a certification.

**Status:** pre-release. Release builds target Linux x64/ARM64, macOS Intel/Apple Silicon,
and Windows x64. Linux AppImages need glibc 2.41 or newer (Debian 13+, Ubuntu 25.04+).
**Status:** pre-release. Release builds target Linux x64/ARM64, macOS on Apple Silicon and
Windows x64. Intel Macs are not supported: ONNX Runtime ships no build for them. Linux AppImages
need glibc 2.39 or newer (Debian 13+, Ubuntu 24.04+).
Comment thread
nicksan222 marked this conversation as resolved.
Resolved

![A short tour of Study: Home, an answer citing the lecture recording, a diagram, a flashcard review, a quiz and search](assets/demo.gif)

Expand All @@ -23,7 +24,7 @@ Download the package for your computer from

- Linux: `study-linux-x86_64.AppImage` or `study-linux-aarch64.AppImage`.
Make it executable (`chmod +x study-linux-*.AppImage`) and launch it.
- macOS: `study-macos-x86_64.dmg` or `study-macos-aarch64.dmg`; copy Study to Applications.
- macOS (Apple Silicon): `study-macos-aarch64.dmg`; copy Study to Applications.
- Windows: run `study-windows-x86_64.exe`, the installer for your user account.

In Settings, check for updates and choose when to install them. Updates are downloaded from
Expand Down Expand Up @@ -259,7 +260,7 @@ files and their licenses.

To release, bump `version` in the workspace `Cargo.toml`, commit, then push a matching tag:
`git tag v0.2.0 && git push origin v0.2.0`. The workflow refuses a tag that does not match the
workspace version, builds all five signed packages, and publishes the release only when every
workspace version, builds all four signed packages, and publishes the release only when every
one exists, with package signatures, `SHA256SUMS` and the `latest.json` update feed. A failed
build can be rerun from Actions.

Expand Down
4 changes: 3 additions & 1 deletion crates/study-ai/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ study-media.workspace = true
sysinfo = { version = "0.39", default-features = false, features = ["system"] }
tempfile = "3"
thiserror = "2"
tokenizers = "0.23"
# Without the default esaxx_fast: its C++ links the static CRT, which collides with the
# dynamic one on Windows, and only speeds up training, which this crate never does.
tokenizers = { version = "0.23", default-features = false, features = ["onig"] }
tokio = { workspace = true, features = ["rt-multi-thread", "time", "fs", "io-util", "process"] }
tracing.workspace = true
transcribe-rs = { version = "0.3.11", features = ["onnx"] }
Expand Down
Binary file modified packaging/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions packaging/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@
set -euo pipefail
cd "$(dirname "$0")/.."

PLATFORMS=(linux-x86_64 linux-aarch64 macos-x86_64 macos-aarch64 windows-x86_64)
PLATFORMS=(linux-x86_64 linux-aarch64 macos-aarch64 windows-x86_64)

# Sets target, format and suffix (the updater's package) for a platform.
platform() {
case "$1" in
linux-x86_64) target=x86_64-unknown-linux-gnu format=appimage suffix=.AppImage ;;
linux-aarch64) target=aarch64-unknown-linux-gnu format=appimage suffix=.AppImage ;;
macos-x86_64) target=x86_64-apple-darwin format=app suffix=.app.tar.gz ;;
macos-aarch64) target=aarch64-apple-darwin format=app suffix=.app.tar.gz ;;
windows-x86_64) target=x86_64-pc-windows-msvc format=nsis suffix=.exe ;;
*) echo "unknown platform: $1 (one of ${PLATFORMS[*]})" >&2; exit 1 ;;
Expand Down