Comments (3)
I too have this issue. I bought a new PC this week and the same issue happens to me in Windows 11 x64 (including using the base URL, which works fine until I click the /web link.) I dual boot ArchLinux, and an older compile works fine, and this used to work on my previous computer in Windows 11.
Nativefier Version
52.0.0
Node.js Version
18.17.1 x64
npm Version
9.8.1
URL:
https://messages.google.com/web
Compiled Verbose Output:
PS C:\Users\Will\Downloads\Messages-win32-x64> .\Messages.exe --verbose
PS C:\Users\Will\Downloads\Messages-win32-x64>
appArgs {
accessibilityPrompt: true,
alwaysOnTop: false,
arch: 'x64',
asar: false,
blockExternalUrls: false,
bounce: false,
buildDate: 1693517605452,
clearCache: false,
counter: false,
darwinDarkModeSupport: false,
disableContextMenu: false,
disableDevTools: false,
disableGpu: false,
disableOldBuildWarning: false,
electronVersionUsed: '25.7.0',
enableEs3Apis: false,
fastQuit: false,
fullScreen: false,
height: 800,
hideWindowFrame: false,
ignoreCertificate: false,
ignoreGpuBlacklist: false,
insecure: false,
isUpgrade: false,
maximize: false,
name: 'Messages',
nativefierVersion: '52.0.0',
portable: false,
quiet: false,
showMenuBar: false,
singleInstance: false,
strictInternalUrls: false,
targetUrl: 'https://messages.google.com/web',
tray: 'false',
userAgentHonest: false,
width: 1280,
widevine: false,
win32metadata: {
ProductName: 'Messages',
InternalName: 'Messages',
FileDescription: 'Messages'
},
zoom: 1,
oldBuildWarningText: ''
}
app.will-finish-launching
ready
getDefaultWindowOptions {
options: {
accessibilityPrompt: true,
alwaysOnTop: false,
arch: 'x64',
asar: false,
blockExternalUrls: false,
bounce: false,
buildDate: 1693517605452,
clearCache: false,
counter: false,
darwinDarkModeSupport: false,
disableContextMenu: false,
disableDevTools: false,
disableGpu: false,
disableOldBuildWarning: false,
electronVersionUsed: '25.7.0',
enableEs3Apis: false,
fastQuit: false,
fullScreen: false,
height: 800,
hideWindowFrame: false,
ignoreCertificate: false,
ignoreGpuBlacklist: false,
insecure: false,
isUpgrade: false,
maximize: false,
name: 'Messages',
nativefierVersion: '52.0.0',
portable: false,
quiet: false,
showMenuBar: false,
singleInstance: false,
strictInternalUrls: false,
targetUrl: 'https://messages.google.com/web',
tray: 'false',
userAgentHonest: false,
width: 1280,
widevine: false,
win32metadata: {
ProductName: 'Messages',
InternalName: 'Messages',
FileDescription: 'Messages'
},
zoom: 1,
oldBuildWarningText: '',
autoHideMenuBar: true,
tabbingIdentifier: undefined
},
webPreferences: {},
defaultOptions: {
autoHideMenuBar: true,
fullscreenable: true,
tabbingIdentifier: undefined,
title: 'Messages',
webPreferences: {
javascript: true,
nodeIntegration: false,
preload: 'C:\Users\Will\Downloads\Messages-win32-x64\resources\app\lib\preload.js',
plugins: true,
sandbox: false,
webSecurity: true,
zoomFactor: 1,
contextIsolation: false
}
}
}
app.browser-window-created
createMenu {
options: {
accessibilityPrompt: true,
alwaysOnTop: false,
arch: 'x64',
asar: false,
blockExternalUrls: false,
bounce: false,
buildDate: 1693517605452,
clearCache: false,
counter: false,
darwinDarkModeSupport: false,
disableContextMenu: false,
disableDevTools: false,
disableGpu: false,
disableOldBuildWarning: false,
electronVersionUsed: '25.7.0',
enableEs3Apis: false,
fastQuit: false,
fullScreen: false,
height: 800,
hideWindowFrame: false,
ignoreCertificate: false,
ignoreGpuBlacklist: false,
insecure: false,
isUpgrade: false,
maximize: false,
name: 'Messages',
nativefierVersion: '52.0.0',
portable: false,
quiet: false,
showMenuBar: false,
singleInstance: false,
strictInternalUrls: false,
targetUrl: 'https://messages.google.com/web',
tray: 'false',
userAgentHonest: false,
width: 1280,
widevine: false,
win32metadata: {
ProductName: 'Messages',
InternalName: 'Messages',
FileDescription: 'Messages'
},
zoom: 1,
oldBuildWarningText: ''
}
}
initContextMenu
app.browser-window-focus
mainWindow.focus
sendParamsOnDidFinishLoad.window.webContents.did-finish-load https://messages.google.com/web/
app.browser-window-blur
from nativefier.
Found 2 workarounds...
-
Downgrading to ver. 51 seems to work.
-
With ver. 52, adding "--disableGpu" to options, also looks to work.
Edit: ^^^ disable-gpu fails afterall, works for the QR code page, but gives whitepage and "ERROR:interface_endpoint_client.cc(697)] Message 0 rejected by interface blink.mojom.WidgetHost" errors after.
For me that becomes:
nativefier \
"https://messages.google.com/web" \
"$target" \
--icon "$HOME/Pictures/Icons/android-messages-logo.png" \
--name "Android Messages" \
--platform "linux" \
--tray \
--portable \
--honest \
--single-instance \
--disable-dev-tools \
--disableGpu
from nativefier.
Thank you, jenschurchill! Downgrading to 51.0.0 fixes the issue for me as well.
from nativefier.
Related Issues (20)
- Integrated application installation and removal
- Font cannot be decoded
- Difference with macOS Sonoma Web Apps? HOT 1
- Is there an option which support to run some custom scripts before launching the app? HOT 2
- Facebook Messenger does not use the whole window HOT 1
- WhatsApp push notifications don't work on macOS Ventura HOT 1
- Unable to log in using Windows Hello normally
- Playing DRM-protected video content not possible HOT 1
- How to enable Web Speech API feature?
- How is this different from doing Chrome > More Tools > Create Shortcut > Open as Window ? HOT 3
- Error when trying to build for Windows on Linux HOT 2
- silent print HOT 1
- Force mobile layout for site when user agent is not enough? HOT 4
- Creation fail
- How to use "--file-download-options" with "onCompleted"
- Js Alert window Autofocus to menubar
- How to display a print preview?
- Remember password functionality
- Nativefier is unmaintained HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativefier.