Some checks failed
Build / increment-version (push) Successful in 8s
Build / build-linux (push) Successful in 2m26s
Build Paarrot Windows / build (push) Has been cancelled
Build Paarrot Windows / start-vm (push) Has been cancelled
Build / build-windows (push) Successful in 4m28s
Build / create-release (push) Successful in 30s
- Implemented main plugin structure including manifest, HTML, and JavaScript files. - Added actions for toggling mute, toggling deafen, changing channels, sending messages, and getting status. - Created property inspector for changing channels and sending messages. - Developed SVG icons for actions and status display. - Established WebSocket connection for communication with the Stream Deck. - Implemented API calls to interact with the Paarrot voice chat application. - Added validation script to ensure proper plugin structure and manifest compliance. - Included test Electron application for window creation and loading content.
27 lines
592 B
JavaScript
27 lines
592 B
JavaScript
const { app, BrowserWindow } = require('electron');
|
|
|
|
console.log('TEST: Electron starting...');
|
|
|
|
app.whenReady().then(() => {
|
|
console.log('TEST: App ready, creating window...');
|
|
|
|
const win = new BrowserWindow({
|
|
width: 800,
|
|
height: 600,
|
|
title: 'TEST WINDOW',
|
|
show: true,
|
|
center: true
|
|
});
|
|
|
|
console.log('TEST: Window created, loading content...');
|
|
win.loadURL('https://www.google.com');
|
|
|
|
win.on('ready-to-show', () => {
|
|
console.log('TEST: Window ready-to-show fired');
|
|
});
|
|
|
|
win.on('show', () => {
|
|
console.log('TEST: Window shown!');
|
|
});
|
|
});
|