Application to create basic MPC Sample starter projects from your desktop
|
|
13 цаг өмнө | |
|---|---|---|
| build | 1 өдөр өмнө | |
| cmd | 2 өдөр өмнө | |
| docs | 13 цаг өмнө | |
| frontend | 1 өдөр өмнө | |
| internal | 13 цаг өмнө | |
| pull-requests | 13 цаг өмнө | |
| testdata | 2 өдөр өмнө | |
| tools | 1 өдөр өмнө | |
| .gitignore | 2 өдөр өмнө | |
| LICENSE | 2 өдөр өмнө | |
| README.md | 1 өдөр өмнө | |
| Taskfile.yml | 1 өдөр өмнө | |
| dialogs.go | 1 өдөр өмнө | |
| go.mod | 2 өдөр өмнө | |
| go.sum | 2 өдөр өмнө | |
| main.go | 16 цаг өмнө | |
| main_test.go | 2 өдөр өмнө |
Application to create basic MPC Sample starter projects from your desktop.
The 0.5 releases are betas for testing. Expect rough edges, and keep copies of projects you care about.
.xpj file plus a <name>_[ProjectData] folder with the samples.Builds are not signed yet, so each system warns the first time you open MPCkit.
mpckit.exe. If SmartScreen says "Windows protected your PC", choose More info, then Run anyway. MPCkit uses the WebView2 runtime, which is part of Windows 11 and current Windows 10.mpckit.app to Applications and open it. macOS will say it can't check the app for malicious software. Open System Settings → Privacy & Security, scroll to the message about MPCkit and choose Open Anyway, then confirm.chmod +x mpckit) and run it. It needs the GTK 4 and WebKitGTK 6.0 libraries, which current desktop distributions include or offer in their package manager.MPCkit is a Wails v3 app: Go for all file work, Svelte + TypeScript for the window.
You need:
go install github.com/wailsapp/wails/v3/cmd/wails3@v3.1.0wails3 doctor lists.Then, from the repository root (cmd, PowerShell or a shell):
wails3 doctor # checks the tools above
wails3 dev # builds and opens the app; reloads on changes
wails3 build # builds bin/mpckit (bin\mpckit.exe on Windows)
The first run installs the frontend packages and generates frontend/bindings from the Go service.
wails3 build stamps the version (APP_VERSION in Taskfile.yml, kept in step with version in build/config.yml) and the commit it was built from, so About shows, for example, "Version 0.5.1" and "Build 2354f57" ("-dirty" if there were uncommitted changes). wails3 dev shows "dev".
Releasing a new version: set it in APP_VERSION (Taskfile.yml), version in build/config.yml, build/windows/info.json (four places), build/windows/wails.exe.manifest, build/windows/nsis/wails_tools.nsh, build/darwin/Info.plist and Info.dev.plist (two places each) and build/linux/nfpm/nfpm.yaml. After the merge, tag the merge commit v<version>.
The app icon is drawn by go run ./tools/icon build/appicon.png. The Windows and macOS icon files are generated from that PNG during the build.
Tests: go test ./.... On Linux without the GTK packages, use CGO_ENABLED=0 go test -tags purego ./... instead.
go run ./cmd/mpckit-cli builds a project from the command line, go run ./tools/checkpoint-a builds the device test pack (see its README), and go run ./tools/xpjdiff A.xpj B.xpj compares two projects (the .xpj contents and the data folders).
MPCkit is an independent project. It is not affiliated with, endorsed by or supported by Akai Professional or inMusic Brands. Akai, MPC and MPC Sample are trademarks of their respective owners and are used here only to describe the device MPCkit works with.
MIT. See LICENSE.