-
Notifications
You must be signed in to change notification settings - Fork 0
/
socket.ini
213 lines (144 loc) · 5.58 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
; ___ __ ___ __ ____
; /__ / / / /_/ /_ /
; __/ /__/ /__ / \ /__ /
;
; Socket ⚡︎ Runtime · A modern runtime for Web Apps · v0.4.0 (6409910e)
;
; 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.
; default value: "src"
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 true, 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 = "piconet"
; The binary output path. It's recommended to add this path to .gitignore.
output = "build"
; The build script
; script = "npm run build"
[webview]
; Make root open index.html
index = "/"
[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 = "land.noman.piconet"
; A string that gets used in the about dialog and package meta info.
copyright = "(c) noman.land 2023"
; A short description of the app.
description = "A p2p pico-8 chatroom."
; 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 = "Noman"
; 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 = "piconet"
; 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 = 0.1.0
[android]
; Extensions of files that will not be stored compressed in the APK.
aapt_no_compress = ""
; Enables gradle based ndk build rather than using external native build (standard ndk is the old slow way)
enable_standard_ndk_build = false
; Name of the MainActivity class. Could be overwritten by custom native code.
main_activity = ""
; Which permissions does your application need: https://developer.android.com/guide/topics/permissions/overview
manifest_permissions = ""
; To restrict the set of ABIs that your application supports, set them here.
native_abis = ""
; Used for adding custom source files and related compiler attributes.
native_cflags = ""
native_sources = ""
native_makefile = ""
sources = ""
[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 Signing guide: https://socketsupply.co/guides/#code-signing-certificates
sign = ""
codesign_identity = ""
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 = "piconet.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=noman.land., O=noman.land., 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%
[headless]
; The headless runner command. It is used when no OS specific runner is set.
runner = ""
; The headless runner command flags. It is used when no OS specific runner is set.
runner_flags = ""
; The headless runner command for Android
runner_android = ""
; The headless runner command flags for Android
runner_android_flags = ""
; The headless runner command for iOS
runner_ios = ""
; The headless runner command flags for iOS
runner_ios_flags = ""
; The headless runner command for Linux
runner_linux = ""
; The headless runner command flags for Linux
runner_linux_flags = ""
; The headless runner command for MacOS
runner_mac = ""
; The headless runner command flags for MacOS
runner_mac_flags = ""
; The headless runner command for Windows
runner_win32 = ""
; The headless runner command flags for Windows
runner_win32_flags = ""