diff options
Diffstat (limited to 'ventoygui')
-rwxr-xr-x | ventoygui | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ventoygui b/ventoygui index a5ca6abbb04c..82dbf5acd7ba 100755 --- a/ventoygui +++ b/ventoygui @@ -1,4 +1,9 @@ #!/bin/sh cd /opt/ventoy || exit 1 -./VentoyGUI.x86_64 "$@" + +if [[ $(uname -m) = x86_64 ]]; then + exec ./VentoyGUI.x86_64 "$@" +elif [[ $(uname -m) = aarch64 ]]; then + exec ./VentoyGUI.aarch64 "$@" +fi |