brew install support?

Discuss new features and functions
Posts: 16
Joined: 3 Nov 2021

literalzebra

Was curious if support for "brew install" (previously "brew cask install") is ever planned for FreeFileSync? I recently had to reinstall all my Mac software, and FFS was one of the maybe just two or three apps I had to perform a manual install for, rather than all the rest which either automatically download from the App Store (small minority), or else I install all through a single shell script with "brew install" (vast majority, both commercial and open-source).

It seems it once worked but support was removed because it was intentionally blocked? Per:

https://github.com/Homebrew/homebrew-cask/issues/63069

Thanks, love the software as always.
Posts: 16
Joined: 3 Nov 2021

literalzebra

Looking a bit more at this, I'm assuming it's because the silent install and autoupdate are part of the donation edition, and those would basically come with brew for free...

Bit of a bummer. My $0.02 would be to make silent install and autoupdate part of the regular edition (and work with brew), and instead make saved batch jobs (and maybe Google Drive too) the main two features of the donation edition... but I'm sure you've already given tons of thought as to how you structured the donation edition, and changing it going forwards introduces its own other set of headaches.

Anyways, thanks again!
Posts: 3
Joined: 8 Mar 2023

marcuzzz

I just created / tested this cask, seems to work...

cask 'freefilesync' do
version '12.1'
sha256 :no_check

url "https://freefilesync.org/download/FreeFileSync_#{version}_macOS.zip"
name 'freefilesync'
homepage 'https://freefilesync.org/download.php'

auto_updates true

pkg "FreeFileSync_#{version}.pkg"

end
Posts: 2
Joined: 4 Apr 2023

barry505

How can I add this to Homebrew?
Posts: 3
Joined: 8 Mar 2023

marcuzzz

You can either put that in a file.rb
And run this:
brew install --debug --verbose --cask [nameoffile].rb

or you can use my repo:
brew tap marcuzzz/homebrew-marcstap
and just run brew install freefilesync

https://github.com/Marcuzzz/homebrew-marcstap/blob/master/Casks/freefilesync.rb
Posts: 2
Joined: 4 Apr 2023

barry505

Thanks! You need to change the version number to 12.2 now, but thanks a lot.
Posts: 3
Joined: 8 Mar 2023

marcuzzz

Done
Posts: 1
Joined: 5 Jun 2023

zgypa

I'm not sure why in forums the discussion for the brew casks always point to freefilesync website, when they publish their releases on GitHub, which i would assume to be a more reliable download link.

@marcuzz: i created a PR on your repo.

https://github.com/Marcuzzz/homebrew-marcstap/pull/1