Skip to content

Linux toolchain, release packaging, and Unity Linux64 support - #1

Merged
pashippercode merged 5 commits into
mainfrom
cursor/linux-release-packaging-e833
Aug 26, 2026
Merged

pashippercode merged 5 commits into
mainfrom
cursor/linux-release-packaging-e833

Conversation

@pashippercode

Copy link
Copy Markdown
Owner

Summary

Adds first-class Linux support for the parts of MajdataViewAlpha that can run cross-platform, plus release packaging and CI.

What works on Linux today

  • Maicaiyin auto-onset engine (NumPy CPU inference)
  • simai_parser.py maidata → Majson conversion
  • Linux release archive via scripts/linux-release.shdist/linux/MajdataViewAlpha-Linux-*.tar.gz

Windows-only (unchanged)

  • MajdataEdit / MajdataLauncher (WPF + bass.dll) — still built on Windows via Unity postprocessor

Changes

  • Committed MajdataEdit.csproj and MajdataLauncher.csproj (gitignore exceptions) for Windows dotnet publish in Unity builds
  • scripts/linux-install.sh, smoke-linux.sh, linux-release.sh
  • AlphaReleasePostprocessor now handles StandaloneLinux64 (packages View + Python tools, skips WPF publish)
  • GitHub Actions linux.yml workflow
  • README-LINUX.md and .cursor/environment.json

Validation

  • bash scripts/linux-install.sh (idempotent)
  • bash scripts/smoke-linux.sh — Maicaiyin infer + simai_parser (14 notes)
  • bash scripts/linux-release.sh — 13MB tarball produced

Usage

./scripts/linux-install.sh
./scripts/smoke-linux.sh
./scripts/linux-release.sh

Unity Linux player: build with Unity 6000.4.2f1 Standalone Linux64, or set MAJDATA_LINUX_VIEW when running the release script.

Open in Web Open in Cursor 

cursoragent and others added 5 commits August 26, 2026 04:40
- Commit MajdataEdit/MajdataLauncher csproj for Windows publish pipelines
- Add scripts/linux-install.sh, smoke-linux.sh, linux-release.sh
- Extend AlphaReleasePostprocessor for StandaloneLinux64 releases
- Add GitHub Actions linux workflow and README-LINUX.md
- Add .cursor/environment.json for Cloud Agent bootstrap

Co-authored-by: Lavendaxy <pashippercode@users.noreply.github.com>
Co-authored-by: Lavendaxy <pashippercode@users.noreply.github.com>
- Add MajdataEdit.Cli (majdata) for auto-onset, parse, and doctor on Linux
- Add PythonRuntimeResolver; AutoOnsetRunner uses venv/system Python on Linux
- Add simai_parser.py CLI (--maidata/--diff/--output)
- Add Wine install/run scripts and majdata-launcher.sh
- Add windows-edit.yml to publish WPF Edit/Launcher artifacts from Windows CI
- Extend linux-release and CI to build and ship native majdata binary

Co-authored-by: Lavendaxy <pashippercode@users.noreply.github.com>
Co-authored-by: Lavendaxy <pashippercode@users.noreply.github.com>
- Extract AutoOnsetRunner/PythonRuntimeResolver into MajdataEdit.Core (net6.0)
- Add MajdataEdit.Avalonia: minimal cross-platform GUI (open/save/auto-onset)
- Wire WPF and CLI to Core; Linux release ships Avalonia + majdata CLI
- Fix linux-release.sh ordering; update CI, launcher, Unity Linux postprocessor
- Document Avalonia as recommended Linux GUI path (no Wine/WindowsDesktop SDK)

Co-authored-by: Lavendaxy <pashippercode@users.noreply.github.com>
@pashippercode
pashippercode marked this pull request as ready for review August 26, 2026 20:44
@pashippercode
pashippercode merged commit f365d81 into main Aug 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants