🎓
PSG Bunker
Attendance Tracker for PSG Tech
// ====== APK DOWNLOAD URL ======
const APK_DOWNLOAD_URL = 'https://github.com/manusanjay545/PSG-Bunker/raw/main/static/PSGBunker.apk';
function downloadApp() {
// Show downloading message
const toast = document.createElement('div');
toast.id = 'download-toast';
toast.innerHTML = '⬇️ Starting download...';
toast.style.cssText = `
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: linear-gradient(135deg, #4a9eff, #3a8eef);
color: white;
padding: 16px 24px;
border-radius: 12px;
z-index: 10000;
box-shadow: 0 4px 20px rgba(74, 158, 255, 0.4);
font-weight: 500;
`;
document.body.appendChild(toast);
// Open download in new tab
window.open(APK_DOWNLOAD_URL, '_blank');
// Remove toast after 3 seconds
setTimeout(function () {
var existingToast = document.getElementById('download-toast');
if (existingToast) {
existingToast.remove();
}
}, 3000);
}