-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.zon
More file actions
32 lines (32 loc) · 1.07 KB
/
app.zon
File metadata and controls
32 lines (32 loc) · 1.07 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
.{
.id ="dev.zero_native.znbiu",
.name ="znbiu",
.display_name ="ZeroN + biu App Demo",
.version = "0.1.0",
.icons = .{ "assets/icon.icns" },
.platforms = .{ "macos", "linux" },
.permissions = .{},
.capabilities = .{ "webview" },
.frontend = .{
.dist ="dist",
.entry = "index.html",
.spa_fallback = true,
.dev = .{
.url ="http://127.0.0.1:5118/",
.command = .{ "biu", "frontend/src", "frontend/dist", "--static", "frontend/static", "--serve", "5118" },
.ready_path = "/",
.timeout_ms = 30000,
},
},
.security = .{
.navigation = .{
.allowed_origins = .{ "zero://app", "zero://inline", "http://127.0.0.1:5118", "https://cdn.jsdelivr.net/" },
.external_links = .{ .action = "deny" },
},
},
.web_engine = "system",
.cef = .{ .dir = "third_party/cef/macos", .auto_install = false },
.windows = .{
.{ .label = "main", .title ="ZeroN + biu App", .width = 720, .height = 480, .restore_state = true },
},
}