fix linux install script not applying icon shortcut
This commit is contained in:
parent
ffd952b1f0
commit
24541f7b41
1 changed files with 3 additions and 0 deletions
3
assets/install.sh
Normal file → Executable file
3
assets/install.sh
Normal file → Executable file
|
|
@ -11,16 +11,19 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|||
|
||||
BIN_DIR="$HOME/.local/bin/olcxja.miarven"
|
||||
APP_DIR="$HOME/.local/share/applications"
|
||||
ICON_DIR="$HOME/.local/share/icons"
|
||||
|
||||
echo "1. Copying files..."
|
||||
mkdir -p "$BIN_DIR"
|
||||
mkdir -p "$APP_DIR"
|
||||
|
||||
|
||||
cp -r "$SCRIPT_DIR/"* "$BIN_DIR/"
|
||||
|
||||
echo "2. Creating shortcut..."
|
||||
|
||||
mv "$BIN_DIR/olcxja.miarven.desktop" "$APP_DIR/olcxja.miarven.desktop"
|
||||
mv "$BIN_DIR/icon.png" "$ICON_DIR/olcxja.miarven.png"
|
||||
|
||||
echo "3. Adding executable permissions..."
|
||||
chmod +x "$APP_DIR/olcxja.miarven.desktop"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue