summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052023-07-21 09:07:56 +0800
committerzxp198210052023-07-21 09:07:56 +0800
commit59953e767dba79dbfae95a2169be22ceda537f6d (patch)
tree0302ac885d2cc39a44735dc5cbcecc3e50b568b6
parentf27231c2eb30621895f5144a104dab4dd38219f9 (diff)
downloadaur-59953e767dba79dbfae95a2169be22ceda537f6d.tar.gz
update to 2.3.0
-rw-r--r--eagle-animation.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/eagle-animation.sh b/eagle-animation.sh
index 07442e43fd3c..06860601d4df 100644
--- a/eagle-animation.sh
+++ b/eagle-animation.sh
@@ -1,6 +1,8 @@
#!/bin/bash
+_ELECTRON=/usr/bin/electron25
+_ASAR="/opt/eagle-animation/app.asar"
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
- exec electron23 /opt/eagle-animation/app.asar "$@"
+ exec ${_ELECTRON} ${_ASAR} "$@"
else
- exec electron23 --no-sandbox /opt/eagle-animation/app.asar "$@"
+ exec ${_ELECTRON} ${_ASAR} --no-sandbox "$@"
fi \ No newline at end of file