gify({ dlcDirectory })
                });
                const data = await response.json();
                if (data.success) {
                    alert('DLC directory updated successfully. Please restart the server for changes to take effect.');
                } else {
                    alert('Failed to update DLC directory: ' + (data.error || 'Unknown error'));
                }
            } catch (error) {
                alert('Failed to update DLC directory: ' + error);
            }
        }
