compatibilité vscode
This commit is contained in:
1 parent
75fbf8809d
commit
d067ab2521
16 files changed
+888
-11
No files matched your search
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
# Lance l'imageconvert.out Windows du projet via le Wine embarqué dans TouchGFX.app
|
||||
# (TouchGFX Designer pour macOS est une appli Wineskin - c'est le meme mecanisme que ST utilise).
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
||||
|
||||
WINE64="/Applications/STMicroelectronics/TouchGFX.app/Contents/SharedSupport/wine/bin/wine64"
|
||||
TOOL="$PROJECT_ROOT/Appli/Middlewares/ST/touchgfx/framework/tools/imageconvert/build/win/imageconvert.out"
|
||||
|
||||
if [ ! -x "$WINE64" ]; then
|
||||
echo "Wine introuvable ($WINE64). TouchGFX.app (Designer) doit etre installe dans /Applications/STMicroelectronics." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
export DYLD_FALLBACK_LIBRARY_PATH="/Applications/STMicroelectronics/TouchGFX.app/Contents/Frameworks:/Applications/STMicroelectronics/TouchGFX.app/Contents/SharedSupport/wine/lib"
|
||||
|
||||
"$WINE64" "$TOOL" "$@" 2>/dev/null
|
||||
Reference in new issue
Block a user