diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62a4f5b61e..f80646b915 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,7 +47,7 @@ jobs: - name: Check for dirty working directory run: git diff --exit-code - name: Build client bundles - run: npm run build -- --no-typecheck --no-lint --define STATE_SERVERS=$(cat config/state_servers.json | tr -d " \t\n\r") --define NEUROGLANCER_BUILD_INFO='${{ env.BUILD_INFO }}' + run: npm run build -- --no-typecheck --no-lint --define STATE_SERVERS=$(cat config/state_servers.json | tr -d " \t\n\r") --define NEUROGLANCER_BUILD_INFO='${{ env.BUILD_INFO }}' --define CUSTOM_BINDINGS=$(cat config/custom-keybinds.json | tr -d " \t\n\r") - name: Write build info run: echo ${{ env.BUILD_INFO }} >> ./dist/min/version.json shell: bash diff --git a/config/custom-keybinds.json b/config/custom-keybinds.json new file mode 100644 index 0000000000..870f6a742c --- /dev/null +++ b/config/custom-keybinds.json @@ -0,0 +1,18 @@ +{ + "keym": { + "layer": "segmentation", + "tool": "grapheneMergeSegments", + "provider": "graphene" + }, + "keyc": { + "layer": "segmentation", + "tool": "grapheneMulticutSegments", + "provider": "graphene" + }, + "keyf": { + "layer": "segmentation", + "tool": "grapheneFindPath", + "provider": "graphene" + }, + "keyx": false +}