Thought cabinet
This commit is contained in:
4
targets/browser
Executable file
4
targets/browser
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
util/setup-build "browser"
|
||||
cp device/store.js build/device
|
||||
5
targets/browser.json
Executable file
5
targets/browser.json
Executable file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"imports": {
|
||||
"device": "./device/browser.js"
|
||||
}
|
||||
}
|
||||
13
targets/nw
Executable file
13
targets/nw
Executable 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
5
targets/nw.json
Executable file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"imports": {
|
||||
"device": "./device/nw.js"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user