-
-
Save diligasi/72423ae3b12994c25b1d4ab36d14708d to your computer and use it in GitHub Desktop.
Make uru multi-platform command working on git bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Created by Diligasi | |
export URU_INVOKER='batch'; | |
uru_rt.exe "$1"; | |
if [ "x$URU_HOME" == "x" ]; then | |
if hash "$USERPROFILE\.uru\uru_lackee.bat"; then cmd "/C $USERPROFILE\.uru\uru_lackee.bat"; fi | |
else | |
if hash "$URU_HOME\uru_lackee.bat"; then cmd "/C $URU_HOME\uru_lackee.bat"; fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment