-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsocket.ini
160 lines (104 loc) · 4.12 KB
/
socket.ini
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
; ___ __ ___ __ ____
; /__ / / / /_/ /_ /
; __/ /__/ /__ / \ /__ /
;
; Socket ⚡︎ Runtime · A modern runtime for Web Apps · v0.2.8 (587c1f03)
;
; The value of the "script" property in a build section will be interpreted as a shell command when
; you run "ssc build". This is the most important command in this file. It will
; do all the heavy lifting and should handle 99.9% of your use cases for moving
; files into place or tweaking platform-specific build artifacts. If you don't
; specify it, ssc will just copy everything in your project to the build target.
[build]
; ssc will copy everything in this directory to the build output directory.
; This is useful when you want to avoid bundling or want to use tools like
; vite, webpack, rollup, etc. to build your project and then copy output to
; the Socket bundle resources directory.
; copy = "src"
; An list of environment variables, separated by commas.
env = USER, TMPDIR, PWD
; Advanced Compiler Settings (ie C++ compiler -02, -03, etc).
flags = -O3
; If false, the window will never be displayed.
headless = false
; The name of the program and executable to be output. Can't contain spaces or special characters. Required field.
name = "life-counter"
; The binary output path. It's recommended to add this path to .gitignore.
output = "build"
; The build script
script = "node build.js"
[debug]
; Advanced Compiler Settings for debug purposes (ie C++ compiler -g, etc).
flags = "-g"
[meta]
; A unique ID that identifies the bundle (used by all app stores).
bundle_identifier = "com.beepboop"
; A string that gets used in the about dialog and package meta info.
copyright = "(c) Beep Boop Corp. 1985"
; A short description of the app.
description = "A UI for the beep boop network"
; Set the limit of files that can be opened by your process.
file_limit = 1024
; Localization
lang = "en-us"
; A String used in the about dialog and meta info.
maintainer = "Beep Boop Corp."
; The title of the app used in metadata files. This is NOT a window title. Can contain spaces and special characters. Defaults to name in a [build] section.
title = "Beep Boop"
; A string that indicates the version of the application. It should be a semver triple like 1.2.3. Defaults to 1.0.0.
version = 1.0.0
[android]
; TODO description needed
main_activity = ""
[ios]
; signing guide: https://sockets.sh/guides/#ios-1
codesign_identity = ""
; Describes how Xcode should export the archive. Available options: app-store, package, ad-hoc, enterprise, development, and developer-id.
distribution_method = "ad-hoc"
; A path to the provisioning profile used for signing iOS app.
provisioning_profile = ""
; which device to target when building for the simulator
simulator_device = "iPhone 14"
[linux]
; Helps to make your app searchable in Linux desktop environments.
categories = "Developer Tools"
; The command to execute to spawn the "back-end" process.
cmd = "beepboop"
; The icon to use for identifying your app in Linux desktop environments.
icon = "src/icon.png"
[mac]
; Mac App Store icon
appstore_icon = "src/icons/icon.png"
; A category in the App Store
category = ""
; The command to execute to spawn the "back-end" process.
cmd = ""
; The icon to use for identifying your app on MacOS.
icon = ""
; TODO description & value (signing guide: https://sockets.sh/guides/#macos-1)
sign = ""
; TODO description & value
codesign_identity = ""
; TODO description & value
sign_paths = ""
[native]
; Files that should be added to the compile step.
files = native-module1.cc native-module2.cc
; Extra Headers
headers = native-module1.hh
[win]
; The command to execute to spawn the “back-end” process.
cmd = "beepboop.exe"
; The icon to use for identifying your app on Windows.
icon = ""
; The icon to use for identifying your app on Windows.
logo = "src/icons/icon.png"
; A relative path to the pfx file used for signing.
pfx = "certs/cert.pfx"
; The signing information needed by the appx api.
publisher = "CN=Beep Boop Corp., O=Beep Boop Corp., L=San Francisco, S=California, C=US"
[window]
; The initial height of the first window.
height = 50%
; The initial width of the first window.
width = 50%