# Updates and files

## Updates

CrushSync updates itself from crushftp.com.

- It looks for a newer build 20 seconds after it starts and once a day, and asks before it downloads one.
- **Check for updates** in the [tray menu](Tray-Menu.md) looks now.
- **Install latest version (will restart app)** downloads the newest build without asking and restarts.

The download is checked against its published checksum before it is used. After the restart the syncs continue where they were.

An update replaces CrushSync's window and its sync engine. The Java it runs on comes with the installer; when that needs renewing, run the current installer again. It installs over what you have and keeps your syncs.

## Where the settings are

CrushSync keeps what it writes in one folder per user, apart from the program:

| System | Folder |
|---|---|
| Windows | `%LOCALAPPDATA%\CrushSync\` |
| macOS | `~/Library/Application Support/CrushSync/` |

| In it | What it is |
|---|---|
| `prefs.XML` | the server URL, your login (the passwords encrypted), and the syncs with the point each one has reached |
| the journal file | changes noted but not yet sent |
| `CrushSync.log` | the log; **Locate log file** in the tray menu opens this folder |
| `settings.properties` | Start with Login and the window's position |
| `output.log`, `output.old.log` | what the app printed in this run and the one before; useful for support |

Reinstalling or updating does not touch this folder. Do not delete `prefs.XML` while syncs are set up: CrushSync would compare everything from the start.

Your synced files are not here. They are in the folders you chose.

## The program

| System | Where |
|---|---|
| Windows | `%LOCALAPPDATA%\Programs\CrushSync` |
| macOS | `CrushSync.app`, usually in Applications |
