This commit is contained in:
Jerico Thomas
2025-08-01 12:29:34 -04:00
parent 5bf8965693
commit d93ce669b1
8 changed files with 191 additions and 77 deletions

View File

@@ -97,15 +97,35 @@ if [ -d "dist/HereIAm.app" ]; then
echo -e "${BLUE}🧪 Testing app launch (will quit immediately)...${NC}"
timeout 5s dist/HereIAm.app/Contents/MacOS/HereIAm || true
# Try to self-sign the app for better permissions
echo -e "${BLUE}🔐 Attempting to self-sign app for better permissions...${NC}"
if command -v codesign >/dev/null 2>&1; then
# Create a temporary signing identity if none exists
codesign --force --deep --sign - dist/HereIAm.app || {
echo -e "${YELLOW}⚠️ Code signing failed - app may have permission issues${NC}"
}
# Verify the signing
if codesign --verify --deep --strict --verbose=2 dist/HereIAm.app >/dev/null 2>&1; then
echo -e "${GREEN}✅ App successfully self-signed${NC}"
else
echo -e "${YELLOW}⚠️ App signing verification failed${NC}"
fi
else
echo -e "${YELLOW}⚠️ codesign not available - app may have permission issues${NC}"
fi
echo ""
echo -e "${GREEN}🎉 Build completed successfully!${NC}"
echo -e "${GREEN}📱 Your app is ready at: dist/HereIAm.app${NC}"
echo ""
echo -e "${YELLOW}📝 Next steps:${NC}"
echo "1. Test the app: open dist/HereIAm.app"
echo "2. For distribution, consider code signing:"
echo "2. Grant Accessibility permissions in System Preferences > Privacy & Security > Accessibility"
echo "3. If mouse movement still doesn't work, check Console.app for error messages"
echo "4. For distribution, consider proper code signing:"
echo " codesign --deep --force --verify --verbose --sign \"Developer ID Application: Your Name\" dist/HereIAm.app"
echo "3. Create a DMG for distribution:"
echo "5. Create a DMG for distribution:"
echo " ./create_dmg.sh"
echo ""