- Wrap entire subtitle module content in droppable container for drag and drop anywhere - Remove all emojis from build scripts (build-linux.sh, build.sh, build-windows.sh, alias.sh) - Subtitle module now accepts video/subtitle file drops on any part of the view Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
37 lines
1.4 KiB
Bash
Executable File
37 lines
1.4 KiB
Bash
Executable File
#!/bin/bash
|
|
# VideoTools Convenience Script
|
|
# Source this file in your shell to add the 'VideoTools' command
|
|
|
|
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
# Create alias and function for VideoTools
|
|
alias VideoTools="bash $PROJECT_ROOT/scripts/run.sh"
|
|
|
|
# Also create a rebuild function for quick rebuilds
|
|
VideoToolsRebuild() {
|
|
echo "Rebuilding VideoTools..."
|
|
bash "$PROJECT_ROOT/scripts/build.sh"
|
|
}
|
|
|
|
# Create a clean function
|
|
VideoToolsClean() {
|
|
echo "Cleaning VideoTools build artifacts..."
|
|
cd "$PROJECT_ROOT"
|
|
go clean -cache -modcache -testcache
|
|
rm -f "$PROJECT_ROOT/VideoTools"
|
|
echo "Clean complete"
|
|
}
|
|
|
|
echo "════════════════════════════════════════════════════════════════"
|
|
echo "VideoTools Commands Available"
|
|
echo "════════════════════════════════════════════════════════════════"
|
|
echo ""
|
|
echo "Commands:"
|
|
echo " VideoTools - Run VideoTools (auto-builds if needed)"
|
|
echo " VideoToolsRebuild - Force rebuild of VideoTools"
|
|
echo " VideoToolsClean - Clean build artifacts and cache"
|
|
echo ""
|
|
echo "To make these permanent, add this line to your ~/.bashrc or ~/.zshrc:"
|
|
echo " source $PROJECT_ROOT/scripts/alias.sh"
|
|
echo ""
|