Skip to content
Snippets Groups Projects
Verified Commit 1a663af3 authored by Louis's avatar Louis :fire:
Browse files

Fix permissions for commands

parent 56b772e3
No related branches found
No related tags found
No related merge requests found
......@@ -18,5 +18,6 @@ COPY commands/godot_project_title.sh /usr/bin/godot_project_title
COPY commands/butler_install.sh /usr/bin/butler_install
COPY commands/butler_upload.sh /usr/bin/butler_upload
RUN godot_install $GODOT_VERSION $PLATFORM && cp ./godot /usr/bin/godot
RUN butler_install $BUTLER_VERSION
\ No newline at end of file
RUN chmod +x /usr/bin/godot_* /usr/bin/butler_* && \
godot_install $GODOT_VERSION $PLATFORM && cp ./godot /usr/bin/godot && \
butler_install $BUTLER_VERSION
\ No newline at end of file
......@@ -4,4 +4,5 @@ NAME="$1"
PRESET="$2"
PROJECT_PATH="$3"
godot --headless --export-debug "${PRESET}" "$(pwd)/${NAME}" "${PROJECT_PATH}/project.godot"
\ No newline at end of file
mkdir -p "$PROJECT_PATH/dist"
godot --headless --export-debug "${PRESET}" "${PROJECT_PATH}/dist/${NAME}" "${PROJECT_PATH}/project.godot"
\ No newline at end of file
......@@ -4,7 +4,7 @@ NAME="$1"
PRESET="$2"
PROJECT_PATH="$3"
OUTPUT_PATH="$(pwd)/${NAME}"
OUTPUT_PATH="${PROJECT_PATH}/dist/${NAME}"
mkdir -p "OUTPUT_PATH"
mkdir -p "${OUTPUT_PATH}"
godot --headless --export-debug "${PRESET}" "${OUTPUT_PATH}/index" "${PROJECT_PATH}/project.godot"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment