✅ Electron Forge Integration - Popravil Electron s Electron Forge (require bug fix) - Igra sedaj deluje v aplikaciji (npm start) - Dodal launch-game.sh launcher script - Dodal run-server.sh za browser fallback - Dokumentacija: HOW_TO_RUN.md ✅ Character References Organization - Premaknil reference slike iz reference_images/ v assets/slike/ - Ustvaril podmape: kai/, ana/, gronk/, zombiji/ - Dodal README.md v vsako podmapo - Posodobil CHARACTER_REFERENCES.md: * Nova folder struktura * Ana sekcija (living & zombie verzije) * Zombiji sekcija (basic, hybrids, special) * TODO lista za manjkajoče reference - Dodal FOLDER_STRUCTURE.md za vizualni pregled 📁 Nova struktura: assets/slike/kai|ana|gronk|zombiji/ Status: Production ready - igra deluje v Electron app! 🚀
16 lines
571 B
JavaScript
16 lines
571 B
JavaScript
// Simple test to check if electron module loads correctly
|
|
try {
|
|
const electron = require('electron');
|
|
console.log('✅ Electron type:', typeof electron);
|
|
console.log('✅ Electron value:', electron);
|
|
|
|
if (typeof electron === 'object') {
|
|
console.log('✅ electron.app:', typeof electron.app);
|
|
console.log('✅ electron.BrowserWindow:', typeof electron.BrowserWindow);
|
|
} else {
|
|
console.log('❌ Electron is not an object, it is:', typeof electron);
|
|
}
|
|
} catch (err) {
|
|
console.error('❌ Error loading electron:', err);
|
|
}
|