Comments (12)
Eee yikes. I will try to take a look at this over the weekend and get a build out that resolves this.
from google-messages-for-desktop.
@kelyvin any update on this?
from google-messages-for-desktop.
@mercplus @Matgen84 Sorry for the delay on this. You can download the latest versions here:
https://github.com/kelyvin/Google-Messages-For-Desktop/releases/tag/v1.3.0
Hope that fixes your issues!
from google-messages-for-desktop.
Hi @kelyvin . Nativefier maintainer here, coming from nativefier/nativefier#1131 (comment) and nativefier/nativefier#1148 .
- Thanks for having addressed this 🙂.
- I stand by this feature; letting people browse the web on a crazy old Electron/Chrome is an undiscutably bad thing (for security foremost, and performance)...
- ... that being said, at time of adding the feature, I didn't think about "pre-packaged" apps like yours. I had in mind users building their apps on their own, and able to understand the "please upgrade & re-build" message we're throwing at them.
→ So, I think you should override the message to something more targeted, and understandable by your target audience, e.g. something like Google Messages for Desktop is out-of-date. Please download the latest version at https://www.messagesfordesktop.com/
. Maybe you also want to tweak OLD_BUILD_WARNING_THRESHOLD_DAYS
to something slightly higher than the current value of 60 days (but not too high please, security is important).
Notes:
- Nativefier at the moment does not offer options to customize the message and threshold, and given we already have waaaaaaaaaaay many flags, I'd like to avoid yet another obscure one. But given the position you're in (of packaging), it seems reasonable to expect you to do a build-time patch / string replace.
- Note that Nativefier offers flag --disable-old-build-warning-yesiknowitisinsecure. For your use case, please do not use it. As documented, this is targeted at corporate users using Nativefier to expose kiosk versions of tightly-controlled apps. This isn't the case here.
- Yes, all this puts extra burden on you, the packager and distributor of a Nativefier app. And again, I think that's reasonable given the security consequences. You're distributing a web browser, it's your job to push updates periodically.
Does this all make sense? Any feedback/disagreement? Thanks.
from google-messages-for-desktop.
Hi @ronjouch. I really appreciate you coming here and helping to shed light on the situation and for being so thorough with your suggestions. I also want to thank you for all your work on Nativefier to make it extremely simple for me to pre-package these apps for general audience usage. I originally started this pre-packaged project for my personal network to use, then I used it as a marketing experiment, and it kind of blew up from there.
I only half agree with your second point, but I respect your decision, so other than that there are no disagreements here. I am a library maintainer myself and know what it's like to step a day in your shoes, as well as the work you do to make everyone happy. I think the suggestions you made are reasonable.
As for feedback, I just have a question regarding your first bullet point (of wanting to avoid additional flags). Do you foresee a future of supporting configs, i.e. a way for me to just set up some config hooks to alter some of these nuanced options myself (or do you already support this and I'm just really bad at reading docs)?
Thanks!
from google-messages-for-desktop.
@kelyvin thanks for the kind words 🙂.
I have a question regarding your first bullet point (of wanting to avoid additional flags). Do you foresee a future of supporting configs, i.e. a way for me to just set up some config hooks to alter some of these nuanced options myself (or do you already support this and I'm just really bad at reading docs)?
- Regarding the topic of auto-updates discussed here: in order to let you apply your packager tweaks without having to patch the JS, I could make
OLD_BUILD_WARNING_THRESHOLD_DAYS
andOLD_BUILD_WARNING_TEXT
overridable via undocumented environment variables. (The intention being to limit expansion of docs & flags, and to not expose the threshold in the docs). 👍 / 👎 / other ideas? - Besides the topic of auto-updates: any other examples of things you'd like to adjust, but cannot?
- Finally, maybe warning on builds older than 60 days was a little bit aggressive. I could agreeish with someone arguing that it's excessive to demand as frequent upgrades from Nativefier apps as you'd expect from a regular browser, given that a typical Nativefier app stays within a known "probably safe" (of course with caveats) site, with less wandering around the wildest parts of the web. I could bump the default to, say, 90 days. With the Chrome release schedule, this is two Chrome versions. Thoughts?
from google-messages-for-desktop.
@ronjouch Sorry for the late response. Thanks for your reply!
Here are my thoughts on all of your points:
Regarding the topic of auto-updates discussed here: in order to let you apply your packager tweaks without having to patch the JS, I could make OLD_BUILD_WARNING_THRESHOLD_DAYS and OLD_BUILD_WARNING_TEXT overridable via undocumented environment variables. (The intention being to limit expansion of docs & flags, and to not expose the threshold in the docs). 👍 / 👎 / other ideas?
I think that'll work perfectly for me! As long as I have a "hook" and make it easy for me to customize without needing to dive into the code, that should do the trick.
Besides the topic of auto-updates: any other examples of things you'd like to adjust, but cannot?
Personally I can't think of anything right now. One of the reasons why I like Nativefier is that generates a cookie-cutter app with a simple CLI command. Any other additional features are potentially outside the scope of the project and may dive a bit too much into Electron configuration territory (e.g. being able to have a setting within the compiled app to enable/disable tray icons, etc.). Those would definitely be nice to have, but I wouldn't expect support for it.
Finally, maybe warning on builds older than 60 days was a little bit aggressive. I could agreeish with someone arguing that it's excessive to demand as frequent upgrades from Nativefier apps as you'd expect from a regular browser, given that a typical Nativefier app stays within a known "probably safe" (of course with caveats) site, with less wandering around the wildest parts of the web. I could bump the default to, say, 90 days. With the Chrome release schedule, this is two Chrome versions. Thoughts?
90 days (i.e. up to two browser versions) is a reasonable approach. But to be honest, 60 days is fine too. Honestly, 60 vs 90 days doesn't matter because this is more of a personal time-tracking problem. I just need to remind myself to update the apps. For this repo, I can probably set up a CI job or Github action to set up constant releases, which would probably solve 90% of the issues that get reported here.
from google-messages-for-desktop.
@kelyvin alrighty. In freshly-released Nativefier 43.0.1,
- I bumped the threshold from 60 to 90 days, I like it better too, to not annoy too much my own users.
- You can now override the warning text in your builds with environment variable
OLD_BUILD_WARNING_TEXT
. It will be bundled innativefier.json
and preferred to the default message. See
and
from google-messages-for-desktop.
@kelyvin seeing the old build error msg -- don't happen to have an update for this by chance? This app is awesome and allows better productivity while keeping in touch with my work/personal folks. Thank you for building it!
from google-messages-for-desktop.
Hi, I'm still having this issue on Windows 11. I'm on version 1.3.0, although perhaps I'm misunderstanding something?
from google-messages-for-desktop.
I am also getting this issue on Windows 11, but not on a Windows 10 laptop running the same version.
Edit: I ended up using this link to rebuild it myself. No more errors.
https://medium.com/@jrejaud/desktop-version-of-android-messages-for-web-62892d9640fe
from google-messages-for-desktop.
I am also getting this issue on Windows 11, but not on a Windows 10 laptop running the same version.
Edit: I ended up using this link to rebuild it myself. No more errors.
https://medium.com/@jrejaud/desktop-version-of-android-messages-for-web-62892d9640fe
Yeah, that's a good idea, I ended up using nativefier myself. Works well.
EDIT:
Oh by the way, (you may already be aware of this and decided against it, it's not unreasonable) there does seem to be a boolean argument in nativefier that disables this error, in case that's something you want.
--disable-old-build-warning-yesiknowitisinsecure
If this repository should become a simple place for people who just want to easily be able download and run Google Messages, maybe this repository should set up some sort of automation where on a new version of chrome release, a simple nativefier script is ran to update the build? Then, the above flag can be used without as much worry (since I believe nativefier doesn't actually check version as much as it just checks how long since it was built).
from google-messages-for-desktop.
Related Issues (20)
- Google Messages Launcher is launching popups with a-znachrichten.com in the URL. HOT 4
- Here is a link to updated zipfiles HOT 4
- Old build detected (Windows 10) - caused machine to freeze! HOT 6
- No Windows notifications HOT 2
- Any chance you could release a Flatpak? HOT 1
- Feature Request: Startup Option HOT 4
- Feature Request: App Icon Badging HOT 1
- New -Old issue : "Old version detected". It took almost a year, but I got the message again (Win ver) HOT 6
- Not displaying text HOT 7
- Shifting the app engine
- SiriusXM App -- Old build detected error HOT 5
- google-messages-linux_v1.4.0.zip does not minimize to tray in Manjaro HOT 1
- Google-Messages-Nativefier-11f104 error message HOT 2
- Old build detected HOT 7
- add m1 ARM64 native support HOT 1
- Desktop app requires QR to pair . . . Mobile lacks the option to scan HOT 1
- Old Nativefier warning HOT 6
- Add macOS icon
- Ubuntu Shortcut Instructions Outdated or Incorrect
- Google Message - Old build detected 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 google-messages-for-desktop.