-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.zon
More file actions
49 lines (49 loc) · 1.68 KB
/
Copy pathapp.zon
File metadata and controls
49 lines (49 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.{
.id = "dev.native_sdk.press",
.name = "press",
.display_name = "Press",
.description = "Compress videos. Drop, choose quality, done.",
.version = "0.1.0",
.icons = .{"assets/icon.png"},
.platforms = .{"macos"},
.permissions = .{ "view", "command" },
.capabilities = .{ "native_views", "gpu_surfaces" },
.shell = .{
.windows = .{
.{
.label = "main",
.title = "Press",
.width = 480,
.height = 700,
.min_width = 420,
.min_height = 580,
.restore_state = false,
.restore_policy = "center_on_primary",
.titlebar = "hidden_inset_tall",
.views = .{
.{
.label = "main-canvas",
.kind = "gpu_surface",
.fill = true,
.role = "Video compressor canvas",
.accessibility_label = "Press video compressor",
.gpu_backend = "metal",
.gpu_pixel_format = "bgra8_unorm",
.gpu_present_mode = "timer",
.gpu_alpha_mode = "opaque",
.gpu_color_space = "srgb",
.gpu_vsync = true,
},
},
},
},
},
.security = .{
.navigation = .{
.allowed_origins = .{ "zero://app", "zero://inline" },
.external_links = .{ .action = "deny" },
},
},
.web_engine = "system",
.cef = .{ .dir = "third_party/cef/macos", .auto_install = false },
}