Skip to content

Error in install.bat #15

Description

@adrianre12

When installing the skills manually using install.bat there is an error that is not caught and invalid junctions are made.

PS F:\llama\repos\se-dev-skills\install> .\install.bat F:\llama.pi\agent\skills
The system cannot find the path specified.
Installing Space Engineers Developer Skills
Source: F:\llama\repos\se-dev-skills\install
Target: F:\llama.pi\agent\skills

[INSTALL] se-dev-game-code
Junction created for F:\llama.pi\agent\skills\se-dev-game-code <<===>> F:\llama\repos\se-dev-skills\install\se-dev-game-code
[INSTALL] se-dev-mod
Junction created for F:\llama.pi\agent\skills\se-dev-mod <<===>> F:\llama\repos\se-dev-skills\install\se-dev-mod
[INSTALL] se-dev-plugin
Junction created for F:\llama.pi\agent\skills\se-dev-plugin <<===>> F:\llama\repos\se-dev-skills\install\se-dev-plugin
[INSTALL] se-dev-torch
Junction created for F:\llama.pi\agent\skills\se-dev-torch <<===>> F:\llama\repos\se-dev-skills\install\se-dev-torch
[INSTALL] se-dev-script
Junction created for F:\llama.pi\agent\skills\se-dev-script <<===>> F:\llama\repos\se-dev-skills\install\se-dev-script
[INSTALL] se-dev-server-code
Junction created for F:\llama.pi\agent\skills\se-dev-server-code <<===>> F:\llama\repos\se-dev-skills\install\se-dev-server-code

Installation complete: 6 installed, 0 failed

The error is in line 18
set "SKILLS_DIR=%SCRIPT_DIR%..\skills"
The SCRIPT_DIR is set to the helpers directory which is one level lower than expected.
Changing it to
set "SKILLS_DIR=%SCRIPT_DIR%....\skills"
Fixes the links

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions