Wowfunhappy's Chromium Legacy Downloader #25
Replies: 62 comments 188 replies
-
Thank you!! |
Beta Was this translation helpful? Give feedback.
-
@Wowfunhappy |
Beta Was this translation helpful? Give feedback.
-
Thank you for the reply. Now that I understand how the PrefPane works a little better, I know why it updated the only (older) copy in the non-boot partition.
Michael B. Pook
495 Spence Street
Winnipeg, MB R3B 2R8
Canada 204-956-4828
From: "Jonathan" ***@***.***>
To: "blueboxd/chromium-legacy" ***@***.***>
Cc: "pook52mb" ***@***.***>, "Mention" ***@***.***>
Sent: Friday, October 15, 2021 6:32:47 PM
Subject: Re: [blueboxd/chromium-legacy] Wowfunhappy's Chromium Legacy Downloader (Discussion #25)
Thanks, sorry for cluttering up your issues!
[ https://github.com/pook52mb | @pook52mb ] I'm sorry that happened! The PrefPane uses the LaunchServices API (via Applescript) to find the path to your default version of Chromium. This allows the updater to work even if you save Chromium somewhere other than /Applications . I'm quite hesitant to change this, because I want users to be able to organize their apps however they choose, and I want the updater to run quickly and without friction.
The good news is, I think (but can't promise, please make a backup) this won't happen again, because LaunchServices should look for Chromium on your boot drive before checking elsewhere.
—
You are receiving this because you were mentioned.
Reply to this email directly, [ #25 (reply in thread) | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ALBEKB6XHIB5HSBKE4DTSNLUHC2Z7ANCNFSM5BLH3HXA | unsubscribe ] .
Triage notifications on the go with GitHub Mobile for [ https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 | iOS ] or [ https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub | Android ] .
|
Beta Was this translation helpful? Give feedback.
-
I have updated the downloader to automatically detect if the ISRG X1 Root certificate is not installed, and to (optionally) install it if necessary. This will fix "Your Connection May Not Be Private" errors on websites that use Let's Encrypt for https. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the update in November. Now that stable versions are being built, they are only showing up on the "Select Build" window as one stable. There is no way to choose a particular one. e.g. 96.0.4664.93 or 96.0.4664.110. The .93 version is listed above the .110 version on "https://github.com/blueboxd/chromium-legacy/releases". The .93 version is installed by the downloader, not the higher version. Would you please update the downloader to list each stable by the version number. |
Beta Was this translation helpful? Give feedback.
-
Okay, I've updated this again! The downloader will now default to installing the latest stable release, and new stable releases will be installed automatically in the background, just like Google Chrome! And just like Google Chrome, I've removed the "Update" option from the menu bar, since this should be happening automatically—but, you can of course always use System Preferences to downgrade to a previous build if there's a problem, or to switch to a non-stable build. This was a pretty major change, so there may be some issues. Let me know if you encounter any weirdness. There is also now an uninstall script. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the recent updates. I removed the old downloader and installed the latest one. It works fine so far. Just one teensy-weensy issue. When the downloader is done, the icon on the app is the multicoloured Chrome one, NOT the blue and white Chromium one. I just copy and paste the correct one in the get info windows, to make it look right. |
Beta Was this translation helpful? Give feedback.
-
Love it. Works great! But, I'm getting the dreaded: on every launch. Is anybody else experiencing this? ProductName: Mac OS X |
Beta Was this translation helpful? Give feedback.
-
I've updated this again! Changes:
|
Beta Was this translation helpful? Give feedback.
-
@mrkapqa (Moving conversation here from #57) My Chromium Legacy Downloader Preference Pane automatically switches from the Chromium print dialog to the native system dialog. This is done:
In order to restore Google’s custom print dialog, you need to uninstall the Preference Pane using the script included in the DMG, and re-download vanilla Chromium Legacy from Github releases. Sorry, you can't have both. :(
I'm not sure what you're referring to here. The Preference Pane replaces Chromium Legacy's ugly gray icon with a 2013-era Chrome icon. However, it is still Chromium Legacy, not Google Chrome. If you tell the Preference Pane to install the Widevine libraries necessary for DRM video playback, it will download a temporary copy of Google Chrome in order to extract the needed files. This app is never run (it can't run on old OS's), and it is deleted immediately afterwards. |
Beta Was this translation helpful? Give feedback.
-
Tried this today and was rather disappointed:
|
Beta Was this translation helpful? Give feedback.
-
I have updated the downloader:
Update: It doesn't fully work around #44, but it may cause it to appear less often. |
Beta Was this translation helpful? Give feedback.
-
I have updated the Preference Pane to include a kernel extension which should fix #44 once and for all, provided you are on the latest versions of 10.7, 10.8, or 10.9. |
Beta Was this translation helpful? Give feedback.
-
@pjpreilly Is sync not working for you? Can you try uninstalling (via the included script) and then reinstalling the PrefPane, and then making sure "Allow Chromium sign-in" is enabled in Chrome's settings? |
Beta Was this translation helpful? Give feedback.
-
The PrefPane has been updated with a new version of KQueueScanContinuePatch which should work on 32 bit Lion. Please uninstall the old version before updating. cc @pjpreilly :) |
Beta Was this translation helpful? Give feedback.
-
I'm sorry, I don't understand your question. Are you downloading releases from Github or installing them via the PrefPane?
Sorry, I thought I said rather clearly that I'm installing updates manually, so downloading from GH and then moving them into place after running my HFS compressor on the app bundle and running some quick tests for regressions I don't want to live with.
If you want the PrefPane's fixes/workarounds/etc, but do not want Chromium to autoupdate, I suppose you could download the latest version of the PrefPane, install it, download a Chromium release, and then delete the PrefPane in System Preferences without using the full uninstaller script.
It seems to me there was already an option not to let the prefpane apply updates automatically. I would be fine with the PrefPane downloading a selected version on demand and applying the fixes in some designated download area, as long as that doesn't include side-effects like killing the Finder ;)
|
Beta Was this translation helpful? Give feedback.
-
All source code is included in the PrefPane (`show package contents`). (It's a bit of a mess.)
Hah, you can say that again... using AppleScript doesn't exactly help either to make things readable (so much for Apple's efforts to develop a scripting language using common language...)
Was there an advantage of using AScript (at least for the actual work being done) over just good ole shell scripts, besides being able to put up GUI user interaction stuff? I seem to see that you get to chose where to save the new app bundle, is that correct?
I haven't yet figured out where the Finder killing happens.
|
Beta Was this translation helpful? Give feedback.
-
On Saturday March 30 2024 07:11:50 Jonathan wrote:
I very much need to rewrite the whole thing!
I didn't want to say that (but did think it ;) )
Easiest thing would probably be to keep an AppleScript interface but put all the scripting commands that don't need user-interaction into a single shell script.
In `Downloader.scipt`:
Hadn't gotten there yet!
As I said, this will only happen when you're installing Widevine, which should only happen one time.
Every update to Widevine would also be a single event? ;)
I need to mount the dmg of official Google Chrome in order to extract the Widevine library, but this causes the "Drag Google Chrome to Applications" window to appear for a few seconds.
In MacPorts we also have ports that just "wrap" the official DMG "installer"; I can't recall ever having seen such a window. I assume that'd simply be the fancyview of the folder that's on the DMG btw?
Correct, I don't want to make any assumptions about how people prefer to organize their apps.
Good. Looks like I'll just have to hack out the part where it will save to the place where the app bundle is installed so I can keep doing things my way.
I already saw the updater scpt works ... I triggered it accidentally from the AppleScript editor thinking I could run just the selected part of a script... :D
|
Beta Was this translation helpful? Give feedback.
-
Actually no! You'd think that, but once Widevine is installed, Chromium will update it automatically. 🤷♂️
Ah, yes, just like Waterfox did, auto-destruction the functionality when a version requiring a newer OS version was pushed. Doesn't that happen with Chromium too??
Anyway, I figured out how adapt the updater to my quirks (including adding -p to all cp invocations!).
Less work complex than I thought, though you do have to do it at least twice :p
Turns out I never noticed that "stock" Chromium Legacy has a Profiles menu; why do you disable that one?
|
Beta Was this translation helpful? Give feedback.
-
Hello! How to make Chrome password manager work? I tried editing org.chromium.Chromium.plist file or typing "defaults write org.chromium.Chromium PasswordManagerEnabled -bool true" in terminal but it didnt help |
Beta Was this translation helpful? Give feedback.
-
FWIW, that latest updated I pulled via the prefpane, a few days ago, kept asking access to my keychain and location each time I launched it.
I didn't change anything the downloader scpt does other than adding `-p` to the `cp` commands and not installing the auto-updater plist; I did NOT touch the re-signing instructions. Can those get lost if you use `rsync` to copy the new app bundle content into the existing app bundle? It's pretty clear that there was something off with the signing; the issues went away after a "deep" re-signing with just the ad-hoc signing identity (`'-'`)...
Totally unrelated, but do you happen to know of a way to get rid of the "open in app" "button" I get in the URL widget on some sites like Instagram? Clicking on that actually creates a Chrome application thingy, that's completely pointless because launching that (if the browser isn't already running) ALSO launches the entire browsing session...
|
Beta Was this translation helpful? Give feedback.
-
The PrefPane has been updated with a fix for #224. |
Beta Was this translation helpful? Give feedback.
-
The PrefPane has been updated with a fix for #242. Because no new versions of Chromium Legacy have been released in a while, and previous downloads are cached for a while, I recommend using the uninstall script on the old PrefPane before installing the new version. |
Beta Was this translation helpful? Give feedback.
-
On Sunday October 27 2024 06:42:20 ClaudeFR wrote:
What happens if you open Terminal and run chmod +x /Applications/Chromium.app/Contents/MacOS/Chromium
Nothing changes : the app still bounces twice and disappears
Hasn't terminal output been (mostly) disabled in the CL builds? Maybe there's a switch to enable more output to learn what's going on here?
|
Beta Was this translation helpful? Give feedback.
-
I've never entirely understood how Chromium interacts with Keychain Access
IIRC it uses the platform key chain facility as a means to (un)lock its own password store. Which needs to be unlocked for signing in to the browser sync server.
|
Beta Was this translation helpful? Give feedback.
-
I tried to manually add Chromium in the "Access Control" tab of the "Chromium safe storage" item but it doesn't work. |
Beta Was this translation helpful? Give feedback.
-
FWIW: the OS has always presented a dialog to give a different version of an app access to the keychain (or entries therein). As far as I understand, app-signing is to allow other things (without asking for permission first, or asking for permission every time). Like accessing the internet and accepting incoming connections, for instance.
|
Beta Was this translation helpful? Give feedback.
-
Doesnt seem to work for me on macOS 12.7.6 |
Beta Was this translation helpful? Give feedback.
-
Thanks! I don't test the PrefPane on anything newer than OS X 10.9. It's known to work on OS X 10.10 as well, but on anything newer I don't recommend it.
Your prefpane is basically nothing but a script, AppleScript IIRC. Maybe it'll run more easily on more OS versions as a standalone application - supposing that Apple didn't ditch their scripting language sometime after 10.10?
|
Beta Was this translation helpful? Give feedback.
-
But more importantly, I do code injection which modern Apple really doesn't like, and I don't really known how modern macOS would respond.
People wanting to rely on such matters (or legacy software for that matter) might want to consider turning of SIP and family?
|
Beta Was this translation helpful? Give feedback.
-
Unlike Google Chrome, Chromium Legacy does not have any built-in update functionality, so I've been using my own downloader to install new builds and apply a set of customizations. This downloader has become considerably more elaborate over time, so I wanted to share it here!
This PrefPane is designed for OS X 10.7 – 10.9. It may work on newer versions of OS X, but I make no guarantees!
Download:
https://jonathanalland.com/downloads/chromium-legacy-downloader.dmg
Extract the zip file, then double click the
.prefpane
to add it to System Preferences. Install your first version of Chromium Legacy in System Preferences; afterwards, future updates can be installed from the new "Update" option in Chromium's menu bar (with System Preferences as a backup, in case Chromium can't be opened).In addition to installing releases from Github, this downloader will:
Because some of these changes are implemented via Chromium policies, you will see a message that Chromium is "Managed by your organization". This is merely a consequence of how the downloader works; no one can see your browsing history or remotely change settings.
Source code is included in the download (right click the
.prefpane
and select "Show Package Contents"). I may release updates from time to time, so I recommend re-downloading the downloader itself every few months or so. (Yes, updating an updater, the irony is not lost on me... sorry.)Please feel free to ask questions or report problems in this topic. However, please don't open any Github issues, because I'm not Bluebox and I don't want him to get bug reports for someone else's software. Enjoy!
Beta Was this translation helpful? Give feedback.
All reactions