Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Feb 7, 2025
1 parent 85f5c37 commit 19f87cb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,8 @@ runs:
# Rename it to Blazium
mv ${{ inputs.bin-path }}/editor/$file ${{ inputs.bin-path }}/editor/Blazium
elif [ "$platform" == "windows" ]; then
# Find the first subdirectory in the bin path
subdir=$(find "${{ inputs.bin-path }}/editor" -type d -mindepth 1 -maxdepth 1)
# Find the .console.exe file within the subdirectory
file=$(find "$subdir" -type f -name '*.console.exe' | head -n 1)
file=$(find "${{ inputs.bin-path }}/editor" -type f -name '*.console.exe' | head -n 1)
# Rename to Blazium.exe
mv $file ${{ inputs.bin-path }}/editor/Blazium.exe
fi
Expand Down

0 comments on commit 19f87cb

Please sign in to comment.