Thought cabinet

This commit is contained in:
2024-12-11 19:21:57 -07:00
parent 50acba5cdb
commit bb6662d7b1
41 changed files with 32477 additions and 2338 deletions

4
targets/browser Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
util/setup-build "browser"
cp device/store.js build/device

5
targets/browser.json Executable file
View File

@@ -0,0 +1,5 @@
{
"imports": {
"device": "./device/browser.js"
}
}

13
targets/nw Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
util/setup-build "nw"
wget -c "https://dl.nwjs.io/v0.93.0/nwjs-v0.93.0-linux-x64.tar.gz" -O - \
| tar -xz -C build/ --strip-components=1
printf %s\\n '#!/bin/sh
tc_path=$(readlink -f "$0")
tc_dir=$(dirname "$tc_path")
"${tc_dir}/nw" "${tc_dir}"
' > build/tc
chmod +x build/tc

5
targets/nw.json Executable file
View File

@@ -0,0 +1,5 @@
{
"imports": {
"device": "./device/nw.js"
}
}