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 c5af6d45b8 - Show all commits

5
scripts/project-helper-tools/install_desktop_file.sh Normal file → Executable file
View File

@ -1,8 +1,11 @@
#!/bin/bash #!/bin/bash
# Make sure we are in this files directory
cd "$(dirname "$0")"
PROJECT_NAME="Pets" PROJECT_NAME="Pets"
DESKTOP_FILE_DST="$HOME/.local/share/applications/blender_$PROJECT_NAME.desktop" DESKTOP_FILE_DST="$HOME/.local/share/applications/blender_$PROJECT_NAME.desktop"
BLENDER_BIN_PATH=$(realpath ../../local/blender/linux/blender) BLENDER_BIN_PATH=$(realpath ./run_blender.py)
cp ../../local/blender/linux/blender.desktop $DESKTOP_FILE_DST cp ../../local/blender/linux/blender.desktop $DESKTOP_FILE_DST