Add project-tools #142

Merged
Francesco Siddi merged 26 commits from ZedDB/blender-studio-pipeline:project-helper-tools into main 2023-08-31 20:33:04 +02:00
Showing only changes of commit 6498ca6f84 - Show all commits

View File

@ -0,0 +1,10 @@
#!/bin/bash
PROJECT_NAME="Pets"
DESKTOP_FILE_DST="$HOME/.local/share/applications/blender_$PROJECT_NAME.desktop"
BLENDER_BIN_PATH=$(realpath ../../local/blender/linux/blender)
cp ../../local/blender/linux/blender.desktop $DESKTOP_FILE_DST
# Update the .desktop file data
sed -i -e "s:Exec=blender:Exec=$BLENDER_BIN_PATH:" -e "s:Blender:Blender $PROJECT_NAME:" "$DESKTOP_FILE_DST"