mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-06-16 11:28:40 +00:00
Added 5 new Instinct devices
Small (imperfect) fix for 2 colour device icons.
This commit is contained in:
@ -26,7 +26,7 @@ rem SDK_PATH should work for all users
|
||||
set /p SDK_PATH=<"%USERPROFILE%\AppData\Roaming\Garmin\ConnectIQ\current-sdk.cfg"
|
||||
set SDK_PATH=%SDK_PATH:~0,-1%\bin
|
||||
rem Assume we can create and use this directory
|
||||
set DEST=export
|
||||
set DEST=bin
|
||||
|
||||
rem Device for simulation
|
||||
set DEVICE=venu2
|
||||
@ -72,17 +72,19 @@ rem -x,--excludes <arg> Add annotations to the exclude list (deprecated)
|
||||
rem -y,--private-key <arg> Private key to sign builds with
|
||||
rem -z,--rez <arg> Resource files (deprecated)
|
||||
|
||||
title Compiling for %DEVICE%
|
||||
|
||||
rem Batch file's directory where the source code is
|
||||
set SRC=%~dp0
|
||||
rem drop last character '\'
|
||||
set SRC=%SRC:~0,-1%
|
||||
|
||||
if not exist %DEST% (
|
||||
md %DEST%
|
||||
if exist %DEST% (
|
||||
rmdir /s /q %DEST%
|
||||
)
|
||||
|
||||
if exist %SRC%\export\HomeAssistant*.iq (
|
||||
del /f /q %SRC%\export\HomeAssistant*.iq
|
||||
rem The above may not successfully delete the directory if there are locked files
|
||||
if not exist %DEST% (
|
||||
mkdir %DEST%
|
||||
)
|
||||
|
||||
echo.
|
||||
|
Reference in New Issue
Block a user