"sha512": "ad592cbec9cd09d27fa2119ceb180fc3237c7a1782c6c88b33c9b1b84fedfe6395a897b03ee3b59a22e94c74224604ca08b7b12f831e00555a82db3b1e6359d9",
"dest-filename": "yocto-queue-0.1.0.tgz",
"dest": "flatpak-node/yarn-mirror"
},
{
"type": "script",
"commands": [
"case \"$FLATPAK_ARCH\" in",
"\"i386\")",
" export ELECTRON_BUILDER_ARCH_ARGS=\"--ia32\"",
" ;;",
"\"x86_64\")",
" export ELECTRON_BUILDER_ARCH_ARGS=\"--x64\"",
" ;;",
"\"arm\")",
" export ELECTRON_BUILDER_ARCH_ARGS=\"--armv7l\"",
" ;;",
"\"aarch64\")",
" export ELECTRON_BUILDER_ARCH_ARGS=\"--arm64\"",
" ;;",
"esac"
],
"dest-filename": "electron-builder-arch-args.sh",
"dest": "flatpak-node"
},
{
"type": "script",
"commands": [
"version=$(node --version | sed \"s/^v//\")",
"nodedir=$(dirname \"$(dirname \"$(which node)\")\")",
"mkdir -p \"flatpak-node/cache/node-gyp/$version\"",
"ln -s \"$nodedir/include\" \"flatpak-node/cache/node-gyp/$version/include\"",
"echo 9 > \"flatpak-node/cache/node-gyp/$version/installVersion\""
],
"dest-filename": "setup_sdk_node_headers.sh",
"dest": "flatpak-node"
},
{
"type": "shell",
"commands": [
"bash flatpak-node/setup_sdk_node_headers.sh"
]
}
]