legends810/testingnew
0
1const { execSync } = require('child_process');2 3// Get git hash with fallback4const getGitHash = () => {5 try {6 return execSync('git rev-parse --short HEAD').toString().trim();7 } catch {8 return 'no-git-info';9 }10};11 12let commitJson = {13 hash: JSON.stringify(getGitHash()),14 version: JSON.stringify(process.env.npm_package_version),15};16 17console.log(`18★═══════════════════════════════════════★19 B O L T . D I Y20 ⚡️ Welcome ⚡️21★═══════════════════════════════════════★22`);23console.log('📍 Current Version Tag:', `v${commitJson.version}`);24console.log('📍 Current Commit Version:', commitJson.hash);25console.log(' Please wait until the URL appears here');26console.log('★═══════════════════════════════════════★');27 