mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-01 16:26:39 +00:00
Use olm install script
This commit is contained in:
@@ -150,40 +150,41 @@ export default function Page() {
|
|||||||
const commands = {
|
const commands = {
|
||||||
mac: {
|
mac: {
|
||||||
"Apple Silicon (arm64)": [
|
"Apple Silicon (arm64)": [
|
||||||
`curl -L -o olm "https://github.com/fosrl/olm/releases/download/${version}/olm_darwin_arm64" && chmod +x ./olm`,
|
`curl -fsSL https://digpangolin.com/get-olm.sh | bash`,
|
||||||
`sudo ./olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
`sudo olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
||||||
],
|
],
|
||||||
"Intel x64 (amd64)": [
|
"Intel x64 (amd64)": [
|
||||||
`curl -L -o olm "https://github.com/fosrl/olm/releases/download/${version}/olm_darwin_amd64" && chmod +x ./olm`,
|
`curl -fsSL https://digpangolin.com/get-olm.sh | bash`,
|
||||||
`sudo ./olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
`sudo olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
linux: {
|
linux: {
|
||||||
amd64: [
|
amd64: [
|
||||||
`wget -O olm "https://github.com/fosrl/olm/releases/download/${version}/olm_linux_amd64" && chmod +x ./olm`,
|
`curl -fsSL https://digpangolin.com/get-olm.sh | bash`,
|
||||||
`sudo ./olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
`sudo olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
||||||
],
|
],
|
||||||
arm64: [
|
arm64: [
|
||||||
`wget -O olm "https://github.com/fosrl/olm/releases/download/${version}/olm_linux_arm64" && chmod +x ./olm`,
|
`curl -fsSL https://digpangolin.com/get-olm.sh | bash`,
|
||||||
`sudo ./olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
`sudo olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
||||||
],
|
],
|
||||||
arm32: [
|
arm32: [
|
||||||
`wget -O olm "https://github.com/fosrl/olm/releases/download/${version}/olm_linux_arm32" && chmod +x ./olm`,
|
`curl -fsSL https://digpangolin.com/get-olm.sh | bash`,
|
||||||
`sudo ./olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
`sudo olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
||||||
],
|
],
|
||||||
arm32v6: [
|
arm32v6: [
|
||||||
`wget -O olm "https://github.com/fosrl/olm/releases/download/${version}/olm_linux_arm32v6" && chmod +x ./olm`,
|
`curl -fsSL https://digpangolin.com/get-olm.sh | bash`,
|
||||||
`sudo ./olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
`sudo olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
||||||
],
|
],
|
||||||
riscv64: [
|
riscv64: [
|
||||||
`wget -O olm "https://github.com/fosrl/olm/releases/download/${version}/olm_linux_riscv64" && chmod +x ./olm`,
|
`curl -fsSL https://digpangolin.com/get-olm.sh | bash`,
|
||||||
`sudo ./olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
`sudo olm --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
windows: {
|
windows: {
|
||||||
x64: [
|
x64: [
|
||||||
|
`# Download and run the installer`,
|
||||||
`curl -o olm.exe -L "https://github.com/fosrl/olm/releases/download/${version}/olm_windows_installer.exe"`,
|
`curl -o olm.exe -L "https://github.com/fosrl/olm/releases/download/${version}/olm_windows_installer.exe"`,
|
||||||
`# Run the installer to install olm and wintun`,
|
`# Then run olm with your credentials`,
|
||||||
`olm.exe --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
`olm.exe --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user