-
-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Option to disable update checks #662
Comments
Thanks @matteo-pacini! We can definitely look into that :) |
Hey, this is not too hard to do, would a |
I went ahead and did this anyway, in an upcoming developer build, you'll be able to, disable automatic updates with |
@SenpaiHunters defaults won't work for us, hence the request for an environment variable. I'm happy to help with that implementation if needed (I'm an Obj-C / Swift dev too). |
Alright, as per your request there is now an env pull, you should be able to do I think this is how it's done on Nix, i don't use Nix, so don't quote me {
environment.systemPackages = [
(pkgs.writeShellScriptBin "loop" ''
LOOP_SKIP_UPDATE_CHECK=1 ${pkgs.Loop}/Applications/Loop.app/Contents/MacOS/Loop
'')
];
} In testing it worked all the time, so hopefully, this addresses your request. |
Thank you so much, @SenpaiHunters ! |
Feature Request Description
I have a quick request: could you add an environment variable that completely disables update checks? This would make builds fully deterministic for package managers like Nix and help users in restricted or offline environments.
i.e. Fastlane uses
FASTLANE_SKIP_UPDATE_CHECK
set to1
Screenshots
No response
Additional Context
I maintain the Loop package on Nix (https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/lo/loopwm/package.nix#L37)
Final Checks
The text was updated successfully, but these errors were encountered: