# ============================================================
#  iServ Download Client
#  Version 1.0
# ============================================================

## Quick Start

1. Open config.txt and set your API KEY
2. Set orders_dir_path to the folder where orders should be saved
3. Run main/main.exe

## Files

main/main.exe          - Main application
updater.exe            - Auto-updater (runs automatically)
config.txt             - Configuration file (EDIT THIS)
synchronize_folders.txt - Folder sync settings (optional)
time.txt               - Days to keep orders
vc_redist.x64.exe      - Visual C++ Runtime (install if needed)

## Configuration (config.txt)

KEY                    - Your company API key (required!)
                         Get it from ifurn.pro admin panel

orders_dir_path        - Where to save downloaded orders
                         Example: C:\orders

every_minutes          - Check interval (minimum 3 minutes)

host                   - Computer name for identification (optional)

CONVERT_SVG            - Convert SVG to EMF (1=yes, 0=no)

CONVERT_LABELS_TO_PDF  - Convert labels to PDF (1=yes, 0=no)

PRINTER_NAME           - Printer for labels

## Folder Synchronization (synchronize_folders.txt)

You can configure automatic copying of files/folders.
Format: SOURCE > DESTINATION TYPE

Example:
C:\orders\cuting > D:\backup\cutting file
C:\orders\projects > D:\backup\projects folder

## Troubleshooting

- If program closes immediately, check KEY in config.txt
- If no orders download, verify your API key is correct
- Check 1.log file for detailed error messages
- Install vc_redist.x64.exe if you get DLL errors

## Support

Contact ifurn.pro support for API key issues.

