Skip to content

Commit

Permalink
Make it possible for kime to be run privileged by KDE Plasma
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhyub committed Dec 26, 2023
1 parent 3ce269f commit a566051
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions res/kime.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ X-DBUS-StartupType=Unique
X-GNOME-AutoRestart=false
X-GNOME-Autostart-Notify=false
X-KDE-StartupNotify=false
X-KDE-Wayland-VirtualKeyboard=true
Icon=kime-hangul-black
5 changes: 5 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ if [ -z "$KIME_AUTOSTART_DIR" ]; then
KIME_AUTOSTART_DIR=etc/xdg/autostart
fi

if [ -z "$KIME_DESKTOP_ENTRY_DIR" ]; then
KIME_AUTOSTART_DIR=usr/share/applications
fi

if [ -z "$KIME_LIB_DIR" ]; then
KIME_LIB_DIR=usr/lib
fi
Expand Down Expand Up @@ -95,6 +99,7 @@ if [ "${KIME_INSTALL_DOC}" -eq "1" ]; then
fi

install -Dm644 $KIME_OUT/*.desktop -t "$PREFIX/$KIME_AUTOSTART_DIR"
install -Dm644 $KIME_OUT/*.desktop -t "$PREFIX/$KIME_DESKTOP_ENTRY_DIR"
install -Dm755 $KIME_OUT/kime-xdg-autostart -t "$PREFIX/$KIME_BIN_DIR"
install -Dm644 $KIME_OUT/icons/64x64/*.png -t "$PREFIX/$KIME_ICON_DIR/hicolor/64x64/apps"
install -Dm755 $KIME_OUT/libkime_engine.so -t "$PREFIX/$KIME_LIB_DIR"
Expand Down

0 comments on commit a566051

Please sign in to comment.