#!/bin/bash

# Link to the binary
ln -sf '/opt/Atomic Wallet/atomic' '/usr/bin/atomic'

# SUID chrome-sandbox for Electron 5+
chmod 4755 '/opt/Atomic Wallet/chrome-sandbox' || true

update-mime-database /usr/share/mime || true
update-desktop-database /usr/share/applications || true
