refactor: attempted autoupdate configuration

This commit is contained in:
hanna
2024-07-19 10:04:48 -07:00
committed by Mitchell Hashimoto
parent 5e553f2743
commit fd9d38481b
4 changed files with 33 additions and 1 deletions

View File

@@ -1462,6 +1462,13 @@ term: []const u8 = "xterm-ghostty",
/// running. Defaults to an empty string if not set.
@"enquiry-response": []const u8 = "",
/// This controls the automatic update functionality on macOS by setting the
/// properties on the Squirrel automatic update component. By default this is
/// set to "off" which doesn't do anything. The "check" option will automatically
/// check for updates but will NOT download them, while as the "download" option
/// will both check AND download updates automatically for the user.
@"auto-updates": AutoUpdates = .off,
/// This is set by the CLI parser for deinit.
_arena: ?ArenaAllocator = null,
@@ -4096,6 +4103,13 @@ pub const LinuxCgroup = enum {
@"single-instance",
};
/// See auto-updates
pub const AutoUpdates = enum {
check,
download,
off,
};
pub const Duration = struct {
/// Duration in nanoseconds
duration: u64 = 0,