Files
Windows-11-Clipboard-Histor…/aur/win11-clipboard-history-bin.install
Gustavo Carvalho 18ed605943 refactor: multi distro overhaul (#52)
* feat: enhance capabilities and permissions for autostart and global shortcuts

* feat: implement desktop environment detection and global shortcut registration

* feat: add permission checker module for uinput access verification and configuration

* feat: add autostart and global shortcut plugins; integrate permission checker functions

* feat: add LXQt and LXDE support for global shortcuts

* feat: add permission_checker and shortcut_setup modules to the library

* feat: implement SetupWizard for first-run setup and autostart configuration

* feat: overhaul install script for improved distribution detection and installation methods

* feat: add autostart and global shortcut plugins to dependencies

* feat: enhance Makefile with improved installation and cleanup processes

* feat: enhance release workflow with version syncing and installation instructions

* docs: update contributing guidelines to include required dependencies

* docs: update README with Rust version, installation instructions, and new features

* feat: improve installation process for uinput module and udev rules

* feat: add support for AlmaLinux and improve WebKitGTK compatibility handling

* feat: enhance post-removal script to handle multiple module configuration filenames

* feat: add XDG_SESSION_CLASS to environment variables in wrapper script

* fix: improve error handling for MATE keybinding slots

* chore: remove xml formatting

* feat: ensure input group exists and add user only on live system during installation

* feat: add architecture detection for DEB and RPM packages

* fix: correct logic for uinput module configuration in post-installation script

* fix: improve error message for missing win11-clipboard-history binary

* feat: enhance permission fixing by checking for required commands

* fix: improve shortcut registration by ensuring thread completion

* style: shortcut registration formatting

* feat: add support for CachyOS

* feat: enhance distribution detection and installation process

* chore: update version to 0.4.0 in package.json, Cargo.toml, and tauri.conf.json

* chore: update version to 0.4.0 in package-lock.json

* fix: update Cloudsmith repository name to clipboard-manager

* feat: add PKGBUILD and installation script for win11-clipboard-history-bin

* chore: remove VERSION variable from Makefile

* fix: improve error message for binary not found in wrapper script

* feat: enhance installation process with Cloudsmith repository support
2025-12-22 23:03:19 -03:00

32 lines
1.7 KiB
Plaintext

post_install() {
echo "==> Loading uinput module..."
modprobe uinput 2>/dev/null || true
echo "==> Reloading udev rules..."
udevadm control --reload-rules 2>/dev/null || true
udevadm trigger --subsystem-match=misc 2>/dev/null || true
echo ""
echo "╔════════════════════════════════════════════════════════════════╗"
echo "║ Win11 Clipboard History installed! ║"
echo "╠════════════════════════════════════════════════════════════════╣"
echo "║ IMPORTANT: You may need to log out and back in for input ║"
echo "║ permissions to take effect. ║"
echo "║ ║"
echo "║ Quick fix (no logout needed): ║"
echo "║ sudo setfacl -m u:\$USER:rw /dev/uinput ║"
echo "║ ║"
echo "║ Launch the app and follow the Setup Wizard! ║"
echo "╚════════════════════════════════════════════════════════════════╝"
echo ""
}
post_upgrade() {
post_install
}
post_remove() {
echo "==> Win11 Clipboard History has been removed."
echo "==> Note: udev rules in /usr/lib/udev/rules.d/ may still exist."
}