mirror of
				https://github.com/house-of-abbey/GarminHomeAssistant.git
				synced 2025-10-30 23:38:15 +00:00 
			
		
		
		
	Added support for 3 new devices (#237)
This commit is contained in:
		| @@ -41,3 +41,4 @@ | |||||||
| |   2.26  | Retry responsive menu fix failed in v2.24. Cosmetic internal class changes. | | |   2.26  | Retry responsive menu fix failed in v2.24. Cosmetic internal class changes. | | ||||||
| |   2.27  | Trivial bug fix for the glance view to prevent the "Unconfigured" result being erroneously displayed because the settings were not yet pulled from persistent storage. | | |   2.27  | Trivial bug fix for the glance view to prevent the "Unconfigured" result being erroneously displayed because the settings were not yet pulled from persistent storage. | | ||||||
| |   2.28  | Added support for Vivoactive 6 device which also required an SDK update to 8.1.0. | | |   2.28  | Added support for Vivoactive 6 device which also required an SDK update to 8.1.0. | | ||||||
|  | |   2.29  | Added support for three new devices, Forerunners 570 42mm & 47mm and 970. | | ||||||
|   | |||||||
| @@ -33,21 +33,24 @@ set DEVICE=venu2 | |||||||
| set JUNGLE=monkey.jungle | set JUNGLE=monkey.jungle | ||||||
|  |  | ||||||
| rem C:\>java -jar %SDK_PATH%\monkeybrains.jar -h | rem C:\>java -jar %SDK_PATH%\monkeybrains.jar -h | ||||||
| rem usage: monkeyc [-a <arg>] [-b <arg>] [--build-stats <arg>] [-c <arg>] [-d <arg>] | rem usage: monkeyc [-a <arg>] [-b <arg>] [--build-stats <arg>] [-d <arg>] | ||||||
| rem        [--debug-log-level <arg>] [--debug-log-output <arg>] [-e] | rem        [--debug-log-level <arg>] [--debug-log-output <arg>] | ||||||
|  | rem        [--disable-api-has-check-removal] [--disable-v2-opcodes] [-e] | ||||||
| rem        [--Eno-invalid-symbol] [-f <arg>] [-g] [-h] [-i <arg>] [-k] [-l <arg>] | rem        [--Eno-invalid-symbol] [-f <arg>] [-g] [-h] [-i <arg>] [-k] [-l <arg>] | ||||||
| rem        [-m <arg>] [--no-gen-styles] [-o <arg>] [-O <arg>] [-p <arg>] [-r] [-s | rem        [-m <arg>] [--no-gen-styles] [-o <arg>] [-O <arg>] [-p <arg>] [-r] [-t] | ||||||
| rem        <arg>] [-t] [-u <arg>] [-v] [-w] [-x <arg>] [-y <arg>] [-z <arg>] | rem        [-u <arg>] [-v] [-w] [-x <arg>] [-y <arg>] [-z <arg>] | ||||||
| rem -a,--apidb <arg>                  API import file | rem -a,--apidb <arg>                  API import file | ||||||
| rem -b,--apimir <arg>                 API MIR file | rem -b,--apimir <arg>                 API MIR file | ||||||
| rem    --build-stats <arg>            Print build stats [0=basic] | rem    --build-stats <arg>            Print build stats [0=basic] | ||||||
| rem -c,--api-level <arg>       API Level to target |  | ||||||
| rem -d,--device <arg>                 Target device | rem -d,--device <arg>                 Target device | ||||||
| rem    --debug-log-level <arg>        Debug logging verbosity [0=errors, 1=basic, | rem    --debug-log-level <arg>        Debug logging verbosity [0=errors, 1=basic, | ||||||
| rem                                   2=intermediate, 3=verbose] | rem                                   2=intermediate, 3=verbose] | ||||||
| rem    --debug-log-output <arg>       Output log zip file | rem    --debug-log-output <arg>       Output log zip file | ||||||
|  | rem    --disable-api-has-check-removalDo not optimize out API has checks | ||||||
|  | rem    --disable-v2-opcodes           Do not use the v2 opcodes | ||||||
| rem -e,--package-app                  Create an application package. | rem -e,--package-app                  Create an application package. | ||||||
| rem    --Eno-invalid-symbol    Do not error when a symbol is found to be invalid | rem    --Eno-invalid-symbol           Do not error when a symbol is found to be | ||||||
|  | rem                                   invalid | ||||||
| rem -f,--jungles <arg>                Jungle files | rem -f,--jungles <arg>                Jungle files | ||||||
| rem -g,--debug                        Print debug output | rem -g,--debug                        Print debug output | ||||||
| rem -h,--help                         Prints help information | rem -h,--help                         Prints help information | ||||||
| @@ -59,16 +62,18 @@ rem -m,--manifest <arg>        Manifest file (deprecated) | |||||||
| rem    --no-gen-styles                Do not generate Rez.Styles module | rem    --no-gen-styles                Do not generate Rez.Styles module | ||||||
| rem -o,--output <arg>                 Output file to create | rem -o,--output <arg>                 Output file to create | ||||||
| rem -O,--optimization <arg>           Optimization level [0=none, 1=basic, 2=fast | rem -O,--optimization <arg>           Optimization level [0=none, 1=basic, 2=fast | ||||||
| rem                            optimizations, 3=slow optimizations] [p=optimize | rem                                   optimizations, 3=slow optimizations] | ||||||
| rem                            performance, z=optimize code space] | rem                                   [p=optimize performance, z=optimize code | ||||||
|  | rem                                   space] | ||||||
| rem -p,--project-info <arg>           projectInfo.xml file to use when compiling | rem -p,--project-info <arg>           projectInfo.xml file to use when compiling | ||||||
| rem -r,--release                      Strip debug information | rem -r,--release                      Strip debug information | ||||||
| rem -s,--sdk-version <arg>     SDK version to target (deprecated, use -c |  | ||||||
| rem -t,--unit-test                    Enables compilation of unit tests | rem -t,--unit-test                    Enables compilation of unit tests | ||||||
| rem -u,--devices <arg>         devices.xml file to use when compiling (deprecated) | rem -u,--devices <arg>                devices.xml file to use when compiling | ||||||
|  | rem                                   (deprecated) | ||||||
| rem -v,--version                      Prints the compiler version | rem -v,--version                      Prints the compiler version | ||||||
| rem -w,--warn                         Show compiler warnings | rem -w,--warn                         Show compiler warnings | ||||||
| rem -x,--excludes <arg>        Add annotations to the exclude list (deprecated) | rem -x,--excludes <arg>               Add annotations to the exclude list | ||||||
|  | rem                                   (deprecated) | ||||||
| rem -y,--private-key <arg>            Private key to sign builds with | rem -y,--private-key <arg>            Private key to sign builds with | ||||||
| rem -z,--rez <arg>                    Resource files (deprecated) | rem -z,--rez <arg>                    Resource files (deprecated) | ||||||
|  |  | ||||||
|   | |||||||
| @@ -24,10 +24,6 @@ | |||||||
|     Use "Monkey C: Edit Application" from the Visual Studio Code command palette |     Use "Monkey C: Edit Application" from the Visual Studio Code command palette | ||||||
|     to update the application attributes. |     to update the application attributes. | ||||||
|   --> |   --> | ||||||
|   <!-- |  | ||||||
|     Testing in VSCode requires monkey.jungle, so for convenience, swap between |  | ||||||
|     watch-app and widget by changing which of the next two lines are commented out |  | ||||||
|   --> |  | ||||||
|   <iq:application id="98c36259-498a-4458-9cef-74a273ad2bc3" type="watch-app" name="@Strings.AppName" entry="HomeAssistantApp" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.1.0"> |   <iq:application id="98c36259-498a-4458-9cef-74a273ad2bc3" type="watch-app" name="@Strings.AppName" entry="HomeAssistantApp" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.1.0"> | ||||||
|     <!-- |     <!-- | ||||||
|       Use the following from the Visual Studio Code command palette to edit |       Use the following from the Visual Studio Code command palette to edit | ||||||
| @@ -108,6 +104,8 @@ | |||||||
|       <iq:product id="fr265"/> |       <iq:product id="fr265"/> | ||||||
|       <iq:product id="fr265s"/> |       <iq:product id="fr265s"/> | ||||||
|       <iq:product id="fr55"/> |       <iq:product id="fr55"/> | ||||||
|  |       <iq:product id="fr57042mm"/> | ||||||
|  |       <iq:product id="fr57047mm"/> | ||||||
|       <iq:product id="fr645"/> |       <iq:product id="fr645"/> | ||||||
|       <iq:product id="fr645m"/> |       <iq:product id="fr645m"/> | ||||||
|       <iq:product id="fr745"/> |       <iq:product id="fr745"/> | ||||||
| @@ -116,6 +114,7 @@ | |||||||
|       <iq:product id="fr945lte"/> |       <iq:product id="fr945lte"/> | ||||||
|       <iq:product id="fr955"/> |       <iq:product id="fr955"/> | ||||||
|       <iq:product id="fr965"/> |       <iq:product id="fr965"/> | ||||||
|  |       <iq:product id="fr970"/> | ||||||
|       <iq:product id="gpsmap66"/> |       <iq:product id="gpsmap66"/> | ||||||
|       <iq:product id="gpsmap67"/> |       <iq:product id="gpsmap67"/> | ||||||
|       <iq:product id="instinct2"/> |       <iq:product id="instinct2"/> | ||||||
|   | |||||||
| @@ -87,7 +87,6 @@ edgeexplore.resourcePath = $(edgeexplore.resourcePath);resources-launcher-36-36; | |||||||
| edgeexplore2.resourcePath = $(edgeexplore2.resourcePath);resources-launcher-36-36;resources-icons-28 | edgeexplore2.resourcePath = $(edgeexplore2.resourcePath);resources-launcher-36-36;resources-icons-28 | ||||||
| # Screen Size 280x280 launcher icon size 40x40 | # Screen Size 280x280 launcher icon size 40x40 | ||||||
| enduro.resourcePath = $(enduro.resourcePath);resources-launcher-40-40;resources-icons-32 | enduro.resourcePath = $(enduro.resourcePath);resources-launcher-40-40;resources-icons-32 | ||||||
| # Screen Size 280x280 launcher icon size 40x40 |  | ||||||
|  enduro3.resourcePath = $(enduro3.resourcePath);resources-launcher-40-40;resources-icons-32 |  enduro3.resourcePath = $(enduro3.resourcePath);resources-launcher-40-40;resources-icons-32 | ||||||
| # Screen Size 416x416 launcher icon size 60x60 | # Screen Size 416x416 launcher icon size 60x60 | ||||||
| epix2.resourcePath = $(epix2.resourcePath);resources-launcher-60-60;resources-icons-48 | epix2.resourcePath = $(epix2.resourcePath);resources-launcher-60-60;resources-icons-48 | ||||||
| @@ -115,7 +114,6 @@ fenix6spro.resourcePath = $(fenix6spro.resourcePath);resources-launcher-40-40;re | |||||||
| fenix6xpro.resourcePath = $(fenix6xpro.resourcePath);resources-launcher-40-40;resources-icons-32 | fenix6xpro.resourcePath = $(fenix6xpro.resourcePath);resources-launcher-40-40;resources-icons-32 | ||||||
| # Screen Size 260x260 launcher icon size 40x40 | # Screen Size 260x260 launcher icon size 40x40 | ||||||
| fenix7.resourcePath = $(fenix7.resourcePath);resources-launcher-40-40;resources-icons-30 | fenix7.resourcePath = $(fenix7.resourcePath);resources-launcher-40-40;resources-icons-30 | ||||||
| # Screen Size 260x260 launcher icon size 40x40 |  | ||||||
| fenix7pro.resourcePath = $(fenix7pro.resourcePath);resources-launcher-40-40;resources-icons-30 | fenix7pro.resourcePath = $(fenix7pro.resourcePath);resources-launcher-40-40;resources-icons-30 | ||||||
| fenix7pronowifi.resourcePath = $(fenix7pronowifi.resourcePath);resources-launcher-40-40;resources-icons-30 | fenix7pronowifi.resourcePath = $(fenix7pronowifi.resourcePath);resources-launcher-40-40;resources-icons-30 | ||||||
| # Screen Size 240x240 launcher icon size 40x40 | # Screen Size 240x240 launcher icon size 40x40 | ||||||
| @@ -124,7 +122,6 @@ fenix7s.resourcePath = $(fenix7s.resourcePath);resources-launcher-40-40;resource | |||||||
| fenix7spro.resourcePath = $(fenix7spro.resourcePath);resources-launcher-40-40;resources-icons-28 | fenix7spro.resourcePath = $(fenix7spro.resourcePath);resources-launcher-40-40;resources-icons-28 | ||||||
| # Screen Size 280x280 launcher icon size 40x40 | # Screen Size 280x280 launcher icon size 40x40 | ||||||
| fenix7x.resourcePath = $(fenix7x.resourcePath);resources-launcher-40-40;resources-icons-32 | fenix7x.resourcePath = $(fenix7x.resourcePath);resources-launcher-40-40;resources-icons-32 | ||||||
| # Screen Size 280x280 launcher icon size 40x40 |  | ||||||
| fenix7xpro.resourcePath = $(fenix7xpro.resourcePath);resources-launcher-40-40;resources-icons-32 | fenix7xpro.resourcePath = $(fenix7xpro.resourcePath);resources-launcher-40-40;resources-icons-32 | ||||||
| fenix7xpronowifi.resourcePath = $(fenix7xpronowifi.resourcePath);resources-launcher-40-40;resources-icons-32 | fenix7xpronowifi.resourcePath = $(fenix7xpronowifi.resourcePath);resources-launcher-40-40;resources-icons-32 | ||||||
| # Screen Size 416x416 launcher icon size 60x60 | # Screen Size 416x416 launcher icon size 60x60 | ||||||
| @@ -141,7 +138,6 @@ fenixchronos.resourcePath = $(fenixchronos.resourcePath);resources-launcher-36-3 | |||||||
| fenixe.resourcePath = $(fenixe.resourcePath);resources-launcher-60-60;resources-icons-48 | fenixe.resourcePath = $(fenixe.resourcePath);resources-launcher-60-60;resources-icons-48 | ||||||
| # Screen Size 390 x 390 launcher icon size 54x54 | # Screen Size 390 x 390 launcher icon size 54x54 | ||||||
| fr165.resourcePath = $(descentmk2s.resourcePath);resources-launcher-54-54;resources-icons-46 | fr165.resourcePath = $(descentmk2s.resourcePath);resources-launcher-54-54;resources-icons-46 | ||||||
| # Screen Size 390 x 390 launcher icon size 54x54 |  | ||||||
| fr165m.resourcePath = $(descentmk2s.resourcePath);resources-launcher-54-54;resources-icons-46 | fr165m.resourcePath = $(descentmk2s.resourcePath);resources-launcher-54-54;resources-icons-46 | ||||||
| # Screen Size 240x240 launcher icon size 40x40 | # Screen Size 240x240 launcher icon size 40x40 | ||||||
| fr245.resourcePath = $(fr245.resourcePath);resources-launcher-40-40;resources-icons-28 | fr245.resourcePath = $(fr245.resourcePath);resources-launcher-40-40;resources-icons-28 | ||||||
| @@ -157,6 +153,10 @@ fr265.resourcePath = $(fr265.resourcePath);resources-launcher-60-60;resources-ic | |||||||
| fr265s.resourcePath = $(fr265s.resourcePath);resources-launcher-60-60;resources-icons-48 | fr265s.resourcePath = $(fr265s.resourcePath);resources-launcher-60-60;resources-icons-48 | ||||||
| # Screen Size 208x208 launcher icon size 35x35 | # Screen Size 208x208 launcher icon size 35x35 | ||||||
| fr55.resourcePath = $(fr55.resourcePath);resources-launcher-35-35;resources-icons-24 | fr55.resourcePath = $(fr55.resourcePath);resources-launcher-35-35;resources-icons-24 | ||||||
|  | # Screen Size 390x390 launcher icon size 54x54 | ||||||
|  | fr57042mm.resourcePath = $(fr57042mm.resourcePath);resources-launcher-54-54;resources-icons-46 | ||||||
|  | # Screen Size 454x454 launcher icon size 65x65 | ||||||
|  | fr57047mm.resourcePath = $(fr57047mm.resourcePath);resources-launcher-65-65;resources-icons-53 | ||||||
| # Screen Size 240x240 launcher icon size 40x40 | # Screen Size 240x240 launcher icon size 40x40 | ||||||
| fr645.resourcePath = $(fr645.resourcePath);resources-launcher-40-40;resources-icons-28 | fr645.resourcePath = $(fr645.resourcePath);resources-launcher-40-40;resources-icons-28 | ||||||
| fr645m.resourcePath = $(fr645m.resourcePath);resources-launcher-40-40;resources-icons-28 | fr645m.resourcePath = $(fr645m.resourcePath);resources-launcher-40-40;resources-icons-28 | ||||||
| @@ -169,9 +169,9 @@ fr945lte.resourcePath = $(fr945lte.resourcePath);resources-launcher-40-40;resour | |||||||
| fr955.resourcePath = $(fr955.resourcePath);resources-launcher-40-40;resources-icons-30 | fr955.resourcePath = $(fr955.resourcePath);resources-launcher-40-40;resources-icons-30 | ||||||
| # Screen Size 454x454 launcher icon size 65x65 | # Screen Size 454x454 launcher icon size 65x65 | ||||||
| fr965.resourcePath = $(fr965.resourcePath);resources-launcher-65-65;resources-icons-53 | fr965.resourcePath = $(fr965.resourcePath);resources-launcher-65-65;resources-icons-53 | ||||||
|  | fr970.resourcePath = $(fr970.resourcePath);resources-launcher-65-65;resources-icons-53 | ||||||
| # Screen Size 240x400 launcher icon size 38x33 | # Screen Size 240x400 launcher icon size 38x33 | ||||||
| gpsmap66.resourcePath = $(gpsmap66.resourcePath);resources-launcher-33-33;resources-icons-28 | gpsmap66.resourcePath = $(gpsmap66.resourcePath);resources-launcher-33-33;resources-icons-28 | ||||||
| # Screen Size 240x400 launcher icon size 38x33 |  | ||||||
| gpsmap67.resourcePath = $(gpsmap67.resourcePath);resources-launcher-33-33;resources-icons-28 | gpsmap67.resourcePath = $(gpsmap67.resourcePath);resources-launcher-33-33;resources-icons-28 | ||||||
| # Screen Size 176x176 launcher icon size 62x62 | # Screen Size 176x176 launcher icon size 62x62 | ||||||
| instinct2.resourcePath = $(instinct2.resourcePath);resources-launcher-62-62;resources-icons-21-w | instinct2.resourcePath = $(instinct2.resourcePath);resources-launcher-62-62;resources-icons-21-w | ||||||
| @@ -229,7 +229,6 @@ venud.resourcePath = $(venud.resourcePath);resources-launcher-60-60;resources-ic | |||||||
| venusq.resourcePath = $(venusq.resourcePath);resources-launcher-36-36;resources-icons-28 | venusq.resourcePath = $(venusq.resourcePath);resources-launcher-36-36;resources-icons-28 | ||||||
| # Screen Size 320x360 launcher icon size 40x40 | # Screen Size 320x360 launcher icon size 40x40 | ||||||
| venusq2.resourcePath = $(venusq2.resourcePath);resources-launcher-40-40;resources-icons-38 | venusq2.resourcePath = $(venusq2.resourcePath);resources-launcher-40-40;resources-icons-38 | ||||||
| # Screen Size 320x360 launcher icon size 40x40 |  | ||||||
| venusq2m.resourcePath = $(venusq2m.resourcePath);resources-launcher-40-40;resources-icons-38 | venusq2m.resourcePath = $(venusq2m.resourcePath);resources-launcher-40-40;resources-icons-38 | ||||||
| # Screen Size 240x240 launcher icon size 36x36 | # Screen Size 240x240 launcher icon size 36x36 | ||||||
| venusqm.resourcePath = $(venusqm.resourcePath);resources-launcher-36-36;resources-icons-28 | venusqm.resourcePath = $(venusqm.resourcePath);resources-launcher-36-36;resources-icons-28 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user