# SDA Sync Linux Package

This package contains everything needed to install `sda-sync` on a Linux desktop
without Poetry or a local source checkout.

## Contents

-   `sda-sync/`: bundled application directory
-   `install.sh`: local user installer
-   `uninstall.sh`: local user uninstall helper

## Install

Run:

```bash
./install.sh
```

Default install location:

```bash
$HOME/.local/opt/sda-sync
```

You can override the install location:

```bash
./install.sh /some/other/path/sda-sync
```

You can also control the launcher icon variant:

```bash
./install.sh "$HOME/.local/opt/sda-sync" auto
./install.sh "$HOME/.local/opt/sda-sync" dark
./install.sh "$HOME/.local/opt/sda-sync" light
```

`auto` uses GNOME `color-scheme` detection when available. If GNOME dark mode
cannot be detected, it falls back to `iconw.png`.

Autostart is enabled by default. You can control it explicitly:

```bash
./install.sh "$HOME/.local/opt/sda-sync" auto on
./install.sh "$HOME/.local/opt/sda-sync" auto off
```

Autostart creates:

```bash
~/.config/autostart/sda-sync.desktop
```

## Uninstall

```bash
./uninstall.sh
```
