pull/23/head
cupcakearmy 5 years ago
parent 336f44e9dc
commit bcb081234c

@ -215,8 +215,7 @@ const handlers: Handlers = {
darwin: 'macos', darwin: 'macos',
} }
const name = `autorestic_${platformMap[process.platform] || const name = `autorestic_${platformMap[process.platform] || process.platform}_${process.arch}`
process.platform}_${process.arch}`
const dl = json.assets.find((asset: any) => asset.name === name) const dl = json.assets.find((asset: any) => asset.name === name)
const to = INSTALL_DIR + '/autorestic' const to = INSTALL_DIR + '/autorestic'

Loading…
Cancel
Save