You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Works fine when I'm running on browser, displays preview and prints
To Reproduce
Just install the package
then run the electron js file as such
const { app, BrowserWindow } = require('electron')
require('./server')
let win;
function createWindow () {
// Create the browser window.
win = new BrowserWindow({
width: 1900,
height: 1320,
backgroundColor: '#ffffff',
icon: `./www/assets/icon/favicon.png`,
autoHideMenuBar: true,
})
win.loadURL(`${__dirname}/www/index.html`)
//// uncomment below to open the DevTools.
// win.webContents.openDevTools()
// Event when the window is closed.
// --icon=assets/icon/favicon.png
win.on('closed', function () {
win = null
})
}
// Create window on electron intialization
app.on('ready', createWindow)
// Quit when all windows are closed.
app.on('window-all-closed', function () {
// On macOS specific close process
if (process.platform !== 'darwin') {
app.quit()
}
})
app.on('activate', function () {
// macOS specific close process
if (win === null) {
createWindow()
}
})
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Ngx-Print Version
^1.5.1
Desktop (please complete the following information):
OS: Windows
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Works fine when I'm running on browser, displays preview and prints
To Reproduce
Just install the package
then run the electron js file as such
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
![Screenshot 2024-03-05 045449](https://private-user-images.githubusercontent.com/30616287/309955991-b2a5baed-a43c-420e-a9e7-9dba10939123.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1ODAxOTEsIm5iZiI6MTcyNDU3OTg5MSwicGF0aCI6Ii8zMDYxNjI4Ny8zMDk5NTU5OTEtYjJhNWJhZWQtYTQzYy00MjBlLWE5ZTctOWRiYTEwOTM5MTIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDA5NTgxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA2YzdkZWJjN2U5ODVmYzEwODVjYWYzMjY5N2ZkZmRhZmU3ODVlZTExODUzOGVmNDAyMDQ0M2M4YTZhMDIyNWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.L8Fp9770N7izwJ3yGDyBRDBtqlY3Tn9NVn2TR9Wlr_k)
If applicable, add screenshots to help explain your problem.
Ngx-Print Version
^1.5.1
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: