#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-or-later
# HEIC Converter başlatıcı / launcher
UYG=/opt/heic-converter
if [ -x "$UYG/venv/bin/python" ]; then
    exec "$UYG/venv/bin/python" "$UYG/heic_donusturucu.py" "$@"
fi
# Sanal ortam yoksa sistem Python'u denenir / Fall back to system Python
exec python3 "$UYG/heic_donusturucu.py" "$@"
