~cadence/bibliogram-updater

392b30e0e3c6cb79ccd2a5ae46f02a9cbb16ec5c — Cadence Ember 7 months ago b6c5d44
Try to detect architecture
1 files changed, 10 insertions(+), 2 deletions(-)

M utils/constants.fish
M utils/constants.fish => utils/constants.fish +10 -2
@@ 1,8 1,16 @@
#!/usr/bin/env fish

set node_download_url 'https://nodejs.org/dist/v12.16.3/node-v12.16.3-linux-x64.tar.xz'
set arch
switch (uname -i)
	case x86_64
		set arch x64
	case armv7l
		set arch armv7l
end

set node_download_url "https://nodejs.org/dist/v12.18.1/node-v12.18.1-linux-$arch.tar.xz"
set node_tarball 'node.tar.xz'
set node_folder 'node-v12.16.3-linux-x64'
set node_folder "node-v12.18.1-linux-$arch"
set npm_install_args -s
set updater_host 'localhost'
set updater_port '10407'