Add project-tools #142
5
scripts/project-helper-tools/install_desktop_file.sh
Normal file → Executable file
5
scripts/project-helper-tools/install_desktop_file.sh
Normal file → Executable file
@ -1,8 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Make sure we are in this files directory
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
PROJECT_NAME="Pets"
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user