Skip to content

Commit

Permalink
Merge pull request #292 from 8MiYile/master
Browse files Browse the repository at this point in the history
add: platform linux to linux-amd64 (format)
  • Loading branch information
simon300000 authored Dec 2, 2023
2 parents b883b10 + e196a9d commit f9b842d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ws.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ const wait = ms => new Promise(resolve => setTimeout(resolve, ms))

const makeURL = ({ nickname, uuid }) => {
const url = new URL(base)
url.searchParams.set('runtime', `electronv${process.versions.electron}`)
url.searchParams.set('runtime', `electron/v${process.versions.electron}`)
url.searchParams.set('version', VERSION)
url.searchParams.set('platform', process.platform)
url.searchParams.set('platform', `${process.platform}-${process.arch}`)

if (uuid) {
url.searchParams.set('uuid', uuid)
Expand Down

0 comments on commit f9b842d

Please # to comment.