diff --git a/scripts/install-native-host.cjs b/scripts/install-native-host.cjs index 4708faa..37d43fb 100755 --- a/scripts/install-native-host.cjs +++ b/scripts/install-native-host.cjs @@ -129,7 +129,7 @@ function createWrapper(wrapperDir, nodePath, hostPath) { } else { const shPath = path.join(wrapperDir, "host-wrapper.sh"); const hostDir = path.dirname(hostPath); - const content = `#!/bin/bash + const content = `#!/usr/bin/env bash cd "${hostDir}" exec "${nodePath}" "${hostPath}" `;