File tree Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 1
1
All notable changes to this project will be documented in this file.
2
2
3
+ ## [ v0.1.1] (2023-12-11)
4
+ ### Feature
5
+ * Added ARM64 support.
6
+
3
7
## [ v0.1.0] (2023-12-11)
4
8
5
9
### Compatibility
Original file line number Diff line number Diff line change @@ -234,10 +234,30 @@ clear_cache() {
234
234
}
235
235
236
236
download_trickest_agent () {
237
- echo " Downloading latest Trickest agent..."
238
- agent_url=" https://trickest-agent-binary.s3.eu-central-1.amazonaws.com/latest/linux/amd64/twe-agent"
239
- agent_path=" ${TRICKEST_DATA_DIR} /trickest-agent"
240
- if ! curl -s -o " $agent_path " " $agent_url " ; then
237
+ case $( uname -s) in
238
+ Linux)
239
+ echo " Detected Linux OS..."
240
+ ;;
241
+ * )
242
+ echo " Unsupported OS. Please contact us at Discord for support: https://trickest.com/community/"
243
+ ;;
244
+ esac
245
+
246
+ case $( uname -p) in
247
+ x86_64)
248
+ echo " Downloading latest Trickest agent for x86_64..."
249
+ agent_url=" https://trickest-agent-binary.s3.eu-central-1.amazonaws.com/latest/linux/amd64/twe-agent"
250
+ ;;
251
+ aarch64)
252
+ echo " Downloading latest Trickest agent for aarch64..."
253
+ agent_url=" https://trickest-agent-binary.s3.eu-central-1.amazonaws.com/latest/linux/arm64/twe-agent"
254
+ ;;
255
+ * )
256
+ echo " Unsupported architecture. Please contact us at Discord for support: https://trickest.com/community/"
257
+ ;;
258
+ esac
259
+
260
+ if ! curl -s -o " $agent_path " " $agent_url " ; then
241
261
echo " Failed to download Trickest agent."
242
262
exit 1
243
263
fi
You can’t perform that action at this time.
0 commit comments