@monkeyscanjump/cloudflare-dyndns
Version:
A robust TypeScript application that automatically updates Cloudflare DNS records when your public IP address changes. Perfect for maintaining consistent domain names for home servers, WireGuard VPN, self-hosted services, or any system with a dynamic IP a
24 lines (18 loc) • 608 B
JavaScript
/**
* Script that sets executable permissions for the cloudflare-dyndns application
* Also creates configuration directory for global installations
*
* @module make-executable
*/
const utils = require('./utils');
console.log('Setting executable permissions for cloudflare-dyndns...');
// Make scripts executable on Unix systems
utils.makeScriptsExecutable();
// Create global config directory if this is a global installation
if (utils.isGlobalInstall()) {
if (utils.ensureGlobalConfigDir()) {
utils.copyEnvExample();
}
}
console.log('\nSetup completed successfully!');