diff --git a/server/src/autoupdater.ts b/server/src/autoupdater.ts index 0952494..ff87227 100644 --- a/server/src/autoupdater.ts +++ b/server/src/autoupdater.ts @@ -9,7 +9,7 @@ if (process.platform == "win32") { appname += ".exe"; } https.get( - "https://github.com/MercuryWorkshop/adrift/releases/latest/download/adrift-server-${}", resp => { + `https://github.com/MercuryWorkshop/adrift/releases/latest/download/adrift-server-${appname}`, resp => { let file = fs.createWriteStream(`${dir}/${appname}`); resp.pipe(file);