Git Product home page Git Product logo

Comments (3)

hurrrtin avatar hurrrtin commented on May 27, 2024

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.

jenschurchill avatar jenschurchill commented on May 27, 2024

Found 2 workarounds...

  1. Downgrading to ver. 51 seems to work.

  2. 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.

hurrrtin avatar hurrrtin commented on May 27, 2024

Thank you, jenschurchill! Downgrading to 51.0.0 fixes the issue for me as well.

from nativefier.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.