Make machine configuration authoritative and restore native checkpoints exactly

This commit is contained in:
2026-09-18 09:09:41 +08:00
parent 6a69511276
commit 4a568f1f4c
94 changed files with 10882 additions and 301 deletions

View File

@@ -1,7 +1,8 @@
export const AXIS_ASSET_ROOT = "/linuxcnc/share/axis/images";
import { WEB_SETTINGS, axisImagePath } from "../workspace/web-settings.mjs";
export const AXIS_ASSET_ROOT = `./${WEB_SETTINGS.assets.axis_images}`;
export function axisAsset(name) {
return `${AXIS_ASSET_ROOT}/${name}`;
return axisImagePath(name);
}
export function appendAxisIcon(document, button, asset, label) {