summaryrefslogtreecommitdiff
path: root/Library/Artifacts/2c/2cef9978f62f617bd9ff4d29c866e82e
blob: 4d10d3c94b7c61d511d7d35a897ce8c2bac35e56 (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 4a b8 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......J.............2019.3.6f1..
0020 ff ff ff 01 02 00 00 00 0b 04 00 00 00 ff ff 66 9a 86 21 eb 14 35 98 39 dd 34 1d 51 0e c1 f3 42 ...............f..!..5.9.4.Q...B
0040 00 00 00 ed 00 00 00 02 00 00 00 00 00 00 00 37 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 ...............7................
0060 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 ................................
0080 00 00 00 00 00 00 00 01 00 01 00 0d 00 00 00 45 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 ...............E................
00a0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 ...............#................
00c0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 ...............,................
00e0 00 00 00 00 00 00 00 01 00 01 00 35 00 00 00 61 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 ...........5...a................
0100 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 ...............#................
0120 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 ...............,................
0140 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 ...............r................
0160 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 ...............#................
0180 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 ...............,................
01a0 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 ...........H....................
01c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 ...........1...1............@...
01e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 ................................
0200 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 ...........Q...j................
0220 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 4a 00 00 00 ff ff ff ff 0f 00 00 00 00 c0 00 00 00 ...............J................
0240 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 10 00 00 00 00 80 00 00 00 ...........1...1................
0260 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 11 00 00 00 00 00 00 00 00 ................................
0280 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 12 00 00 00 00 80 00 00 00 ...............j................
02a0 00 00 00 00 00 00 00 01 00 04 00 5c 00 00 00 9b 00 00 80 ff ff ff ff 13 00 00 00 00 80 00 00 00 ...........\....................
02c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 72 00 00 00 ff ff ff ff 14 00 00 00 00 80 00 00 00 ...........H...r................
02e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 15 00 00 00 01 40 00 00 00 ...........1...1............@...
0300 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 16 00 00 00 01 00 00 00 00 ................................
0320 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 17 00 00 00 01 00 00 00 00 ...........Q...j................
0340 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 77 00 00 00 ff ff ff ff 18 00 00 00 00 80 00 00 00 ...........H...w................
0360 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 19 00 00 00 01 40 00 00 00 ...........1...1............@...
0380 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1a 00 00 00 01 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1b 00 00 00 01 00 00 00 00 ...........Q...j................
03c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 80 00 00 00 ff ff ff ff 1c 00 00 00 00 80 00 00 00 ...........H....................
03e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 1d 00 00 00 01 40 00 00 00 ...........1...1............@...
0400 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1e 00 00 00 01 00 00 00 00 ................................
0420 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1f 00 00 00 01 00 00 00 00 ...........Q...j................
0440 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 20 00 00 00 00 00 00 00 00 ...........y....................
0460 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 21 00 00 00 01 00 80 00 00 ...............#.......!........
0480 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 22 00 00 00 01 00 80 00 00 ...............,......."........
04a0 00 00 00 00 00 00 00 01 00 01 00 11 03 00 80 85 00 00 00 ff ff ff ff 23 00 00 00 01 40 08 00 00 .......................#....@...
04c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 24 00 00 00 01 00 08 00 00 ...........1...1.......$........
04e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 25 00 00 00 01 00 08 00 00 .......................%........
0500 00 00 00 00 00 00 00 01 00 03 00 2e 03 00 80 6a 00 00 80 08 00 00 00 26 00 00 00 01 00 08 00 00 ...............j.......&........
0520 00 00 00 00 00 00 00 01 00 01 00 d5 03 00 80 93 00 00 00 ff ff ff ff 27 00 00 00 00 80 00 00 00 .......................'........
0540 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 28 00 00 00 00 c0 00 00 00 ...........1...1.......(........
0560 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 29 00 00 00 00 00 00 00 00 .......................)........
0580 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 2a 00 00 00 00 80 00 00 00 ...............j.......*........
05a0 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b 00 00 80 ff ff ff ff 2b 00 00 00 00 80 00 00 00 ...........H...........+........
05c0 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 00 00 80 ff ff ff ff 2c 00 00 00 01 40 00 00 00 ...........1...1.......,....@...
05e0 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b 03 00 80 04 00 00 00 2d 00 00 00 01 00 00 00 00 .......................-........
0600 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a 00 00 80 01 00 00 00 2e 00 00 00 01 00 00 00 00 ...........Q...j................
0620 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 2f 00 00 00 00 00 00 00 00 ...........y.........../........
0640 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 30 00 00 00 01 00 80 00 00 ...............#.......0........
0660 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 31 00 00 00 01 00 80 00 00 ...............,.......1........
0680 00 00 00 00 00 00 00 01 00 01 00 20 03 00 80 a7 00 00 00 02 00 00 00 32 00 00 00 00 40 00 00 00 .......................2....@...
06a0 00 00 00 00 00 00 00 01 00 01 00 be 02 00 80 b6 00 00 00 0c 00 00 00 33 00 00 00 00 40 00 00 00 .......................3....@...
06c0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 34 00 00 00 01 00 80 00 00 ...............#.......4........
06e0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 35 00 00 00 01 00 80 00 00 ...............,.......5........
0700 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 bb 00 00 00 ff ff ff ff 36 00 00 00 01 80 00 00 00 ...........H...........6........
0720 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 37 00 00 00 01 40 00 00 00 ...........1...1.......7....@...
0740 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 38 00 00 00 01 00 00 00 00 .......................8........
0760 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 39 00 00 00 01 00 00 00 00 ...........Q...j.......9........
0780 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 c6 00 00 00 ff ff ff ff 3a 00 00 00 01 80 00 00 00 ...........H...........:........
07a0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3b 00 00 00 01 40 00 00 00 ...........1...1.......;....@...
07c0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 3c 00 00 00 01 00 00 00 00 .......................<........
07e0 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 3d 00 00 00 01 00 00 00 00 ...........Q...j.......=........
0800 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 d8 00 00 00 ff ff ff ff 3e 00 00 00 01 80 00 00 00 ...........H...........>........
0820 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3f 00 00 00 01 40 00 00 00 ...........1...1.......?....@...
0840 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 40 00 00 00 01 00 00 00 00 .......................@........
0860 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 41 00 00 00 01 00 00 00 00 ...........Q...j.......A........
0880 00 00 00 00 00 00 00 4d 6f 6e 6f 49 6d 70 6f 72 74 65 72 00 50 50 74 72 3c 45 64 69 74 6f 72 45 .......MonoImporter.PPtr<EditorE
08a0 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 50 74 72 xtension>.m_FileID.m_PathID.PPtr
08c0 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 45 78 74 65 72 6e 61 6c 4f 62 6a 65 63 <PrefabInstance>.m_ExternalObjec
08e0 74 73 00 53 6f 75 72 63 65 41 73 73 65 74 49 64 65 6e 74 69 66 69 65 72 00 74 79 70 65 00 61 73 ts.SourceAssetIdentifier.type.as
0900 73 65 6d 62 6c 79 00 6e 61 6d 65 00 6d 5f 55 73 65 64 46 69 6c 65 49 44 73 00 6d 5f 44 65 66 61 sembly.name.m_UsedFileIDs.m_Defa
0920 75 6c 74 52 65 66 65 72 65 6e 63 65 73 00 65 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 69 63 6f ultReferences.executionOrder.ico
0940 6e 00 6d 5f 55 73 65 72 44 61 74 61 00 6d 5f 41 73 73 65 74 42 75 6e 64 6c 65 4e 61 6d 65 00 6d n.m_UserData.m_AssetBundleName.m
0960 5f 41 73 73 65 74 42 75 6e 64 6c 65 56 61 72 69 61 6e 74 00 00 00 00 00 73 00 00 00 00 ff ff a3 _AssetBundleVariant.....s.......
0980 47 f1 d7 dc 8f 5a 35 36 a0 3a 21 40 69 c1 4a 2a 00 00 00 81 00 00 00 05 00 00 00 15 01 00 80 37 G....Z56.:!@i.J*...............7
09a0 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 ................................
09c0 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 45 ...............................E
09e0 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a00 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a20 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 28 00 00 00 61 ...........................(...a
0a40 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a60 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a80 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 ...............................r
0aa0 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0ac0 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0ae0 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab ...........................H....
0b00 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0b20 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0b40 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0b60 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ea ...........................H....
0b80 01 00 80 ff ff ff ff 0f 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0ba0 00 00 80 ff ff ff ff 10 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0bc0 03 00 80 04 00 00 00 11 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0be0 00 00 80 01 00 00 00 12 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 3d ...............................=
0c00 00 00 00 ff ff ff ff 13 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0c20 00 00 80 ff ff ff ff 14 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ................................
0c40 03 00 80 04 00 00 00 15 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a ...............................j
0c60 00 00 80 ff ff ff ff 16 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b ...........................H....
0c80 00 00 80 ff ff ff ff 17 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 ...........................1...1
0ca0 00 00 80 ff ff ff ff 18 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b ............@...................
0cc0 03 00 80 04 00 00 00 19 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a ...........................Q...j
0ce0 00 00 80 01 00 00 00 1a 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a ...........................y....
0d00 03 00 80 0c 00 00 00 1b 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 16 ................................
0d20 00 00 00 04 00 00 00 1c 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 1f ................................
0d40 00 00 00 08 00 00 00 1d 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 79 02 00 80 51 ...........................y...Q
0d60 00 00 00 0c 00 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0d80 00 00 00 04 00 00 00 1f 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0da0 00 00 00 08 00 00 00 20 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 de 00 00 80 58 ...............................X
0dc0 00 00 00 04 00 00 00 21 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 69 .......!...................H...i
0de0 00 00 00 ff ff ff ff 22 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ......."...................1...1
0e00 00 00 80 ff ff ff ff 23 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......#....@...................
0e20 03 00 80 04 00 00 00 24 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......$...................Q...j
0e40 00 00 80 01 00 00 00 25 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 75 .......%...................H...u
0e60 00 00 00 ff ff ff ff 26 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 .......&...................1...1
0e80 00 00 80 ff ff ff ff 27 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......'....@...................
0ea0 03 00 80 04 00 00 00 28 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......(...................Q...j
0ec0 00 00 80 01 00 00 00 29 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 50 50 74 72 3c 45 64 69 74 .......)...............PPtr<Edit
0ee0 6f 72 45 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 orExtension>.m_FileID.m_PathID.P
0f00 50 74 72 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 44 65 66 61 75 6c 74 52 65 66 Ptr<PrefabInstance>.m_DefaultRef
0f20 65 72 65 6e 63 65 73 00 6d 5f 49 63 6f 6e 00 6d 5f 45 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 erences.m_Icon.m_ExecutionOrder.
0f40 6d 5f 43 6c 61 73 73 4e 61 6d 65 00 6d 5f 4e 61 6d 65 73 70 61 63 65 00 00 00 00 00 02 00 00 00 m_ClassName.m_Namespace.........
0f60 03 00 00 00 00 00 00 00 00 00 00 00 5c 00 00 00 00 00 00 00 e0 79 af 00 00 00 00 00 60 00 00 00 ............\........y......`...
0f80 58 3a 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 X:..............................
0fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 e0 79 af 00 00 00 00 00 00 00 00 00 .....................y..........
1040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1080 00 00 00 00 00 00 00 00 09 00 00 00 44 69 73 63 6f 76 65 72 79 00 00 00 da 39 00 00 75 73 69 6e ............Discovery....9..usin
10a0 67 20 53 79 73 74 65 6d 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 43 6f 6c 6c 65 63 74 69 g.System;..using.System.Collecti
10c0 6f 6e 73 2e 47 65 6e 65 72 69 63 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 49 4f 3b 0d 0a ons.Generic;..using.System.IO;..
10e0 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 4c 69 6e 71 3b 0d 0a 75 73 69 6e 67 20 4a 65 74 42 72 61 using.System.Linq;..using.JetBra
1100 69 6e 73 2e 41 6e 6e 6f 74 61 74 69 6f 6e 73 3b 0d 0a 75 73 69 6e 67 20 4d 69 63 72 6f 73 6f 66 ins.Annotations;..using.Microsof
1120 74 2e 57 69 6e 33 32 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 2e 43 6f 64 65 45 64 69 74 6f 72 t.Win32;..using.Unity.CodeEditor
1140 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 3b 0d 0a 0d 0a 6e 61 6d 65 73 70 61 ;..using.UnityEngine;....namespa
1160 63 65 20 50 61 63 6b 61 67 65 73 2e 52 69 64 65 72 2e 45 64 69 74 6f 72 0d 0a 7b 0d 0a 20 20 70 ce.Packages.Rider.Editor..{....p
1180 75 62 6c 69 63 20 69 6e 74 65 72 66 61 63 65 20 49 44 69 73 63 6f 76 65 72 79 0d 0a 20 20 7b 0d ublic.interface.IDiscovery....{.
11a0 0a 20 20 20 20 43 6f 64 65 45 64 69 74 6f 72 2e 49 6e 73 74 61 6c 6c 61 74 69 6f 6e 5b 5d 20 50 .....CodeEditor.Installation[].P
11c0 61 74 68 43 61 6c 6c 62 61 63 6b 28 29 3b 0d 0a 20 20 7d 0d 0a 0d 0a 20 20 70 75 62 6c 69 63 20 athCallback();....}......public.
11e0 63 6c 61 73 73 20 44 69 73 63 6f 76 65 72 79 20 3a 20 49 44 69 73 63 6f 76 65 72 79 0d 0a 20 20 class.Discovery.:.IDiscovery....
1200 7b 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 43 6f 64 65 45 64 69 74 6f 72 2e 49 6e 73 74 61 6c 6c {......public.CodeEditor.Install
1220 61 74 69 6f 6e 5b 5d 20 50 61 74 68 43 61 6c 6c 62 61 63 6b 28 29 0d 0a 20 20 20 20 7b 0d 0a 20 ation[].PathCallback()......{...
1240 20 20 20 20 20 72 65 74 75 72 6e 20 52 69 64 65 72 50 61 74 68 4c 6f 63 61 74 6f 72 2e 47 65 74 .....return.RiderPathLocator.Get
1260 41 6c 6c 52 69 64 65 72 50 61 74 68 73 28 29 0d 0a 20 20 20 20 20 20 20 20 2e 53 65 6c 65 63 74 AllRiderPaths()...........Select
1280 28 72 69 64 65 72 49 6e 66 6f 20 3d 3e 20 6e 65 77 20 43 6f 64 65 45 64 69 74 6f 72 2e 49 6e 73 (riderInfo.=>.new.CodeEditor.Ins
12a0 74 61 6c 6c 61 74 69 6f 6e 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 tallation..........{............
12c0 50 61 74 68 20 3d 20 72 69 64 65 72 49 6e 66 6f 2e 50 61 74 68 2c 0d 0a 20 20 20 20 20 20 20 20 Path.=.riderInfo.Path,..........
12e0 20 20 4e 61 6d 65 20 3d 20 72 69 64 65 72 49 6e 66 6f 2e 50 72 65 73 65 6e 74 61 74 69 6f 6e 0d ..Name.=.riderInfo.Presentation.
1300 0a 20 20 20 20 20 20 20 20 7d 29 0d 0a 20 20 20 20 20 20 20 20 2e 4f 72 64 65 72 42 79 28 61 3d .........})...........OrderBy(a=
1320 3e 61 2e 4e 61 6d 65 29 0d 0a 20 20 20 20 20 20 20 20 2e 54 6f 41 72 72 61 79 28 29 3b 0d 0a 20 >a.Name)...........ToArray();...
1340 20 20 20 7d 0d 0a 20 20 7d 0d 0a 0d 0a 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 ...}....}......///.<summary>....
1360 2f 2f 2f 20 54 68 69 73 20 63 6f 64 65 20 69 73 20 61 20 6d 6f 64 69 66 69 65 64 20 76 65 72 73 ///.This.code.is.a.modified.vers
1380 69 6f 6e 20 6f 66 20 74 68 65 20 4a 65 74 42 72 61 69 6e 73 20 72 65 73 68 61 72 70 65 72 2d 75 ion.of.the.JetBrains.resharper-u
13a0 6e 69 74 79 20 70 6c 75 67 69 6e 20 6c 69 73 74 65 64 20 68 65 72 65 3a 0d 0a 20 20 2f 2f 2f 20 nity.plugin.listed.here:....///.
13c0 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 4a 65 74 42 72 61 69 6e 73 2f 72 65 73 https://github.com/JetBrains/res
13e0 68 61 72 70 65 72 2d 75 6e 69 74 79 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 75 6e 69 74 79 2f 4a harper-unity/blob/master/unity/J
1400 65 74 42 72 61 69 6e 73 2e 52 69 64 65 72 2e 55 6e 69 74 79 2e 45 64 69 74 6f 72 2f 45 64 69 74 etBrains.Rider.Unity.Editor/Edit
1420 6f 72 50 6c 75 67 69 6e 2f 52 69 64 65 72 50 61 74 68 4c 6f 63 61 74 6f 72 2e 63 73 0d 0a 20 20 orPlugin/RiderPathLocator.cs....
1440 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 ///.</summary>....public.static.
1460 63 6c 61 73 73 20 52 69 64 65 72 50 61 74 68 4c 6f 63 61 74 6f 72 0d 0a 20 20 7b 0d 0a 23 69 66 class.RiderPathLocator....{..#if
1480 20 21 28 55 4e 49 54 59 5f 34 5f 37 20 7c 7c 20 55 4e 49 54 59 5f 35 5f 35 29 0d 0a 20 20 20 20 .!(UNITY_4_7.||.UNITY_5_5)......
14a0 5b 55 73 65 64 49 6d 70 6c 69 63 69 74 6c 79 5d 20 2f 2f 20 55 73 65 64 20 69 6e 20 63 6f 6d 2e [UsedImplicitly].//.Used.in.com.
14c0 75 6e 69 74 79 2e 69 64 65 2e 72 69 64 65 72 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 unity.ide.rider......public.stat
14e0 69 63 20 52 69 64 65 72 49 6e 66 6f 5b 5d 20 47 65 74 41 6c 6c 52 69 64 65 72 50 61 74 68 73 28 ic.RiderInfo[].GetAllRiderPaths(
1500 29 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 74 72 79 0d 0a 20 20 20 20 20 20 7b 0d 0a 20 20 )......{........try........{....
1520 20 20 20 20 20 20 73 77 69 74 63 68 20 28 53 79 73 74 65 6d 49 6e 66 6f 2e 6f 70 65 72 61 74 69 ......switch.(SystemInfo.operati
1540 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 ngSystemFamily)..........{......
1560 20 20 20 20 20 20 63 61 73 65 20 4f 70 65 72 61 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 ......case.OperatingSystemFamily
1580 2e 57 69 6e 64 6f 77 73 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 .Windows:............{..........
15a0 20 20 20 20 72 65 74 75 72 6e 20 43 6f 6c 6c 65 63 74 52 69 64 65 72 49 6e 66 6f 73 57 69 6e 64 ....return.CollectRiderInfosWind
15c0 6f 77 73 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 ows();............}.............
15e0 20 63 61 73 65 20 4f 70 65 72 61 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 2e 4d 61 63 4f .case.OperatingSystemFamily.MacO
1600 53 58 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 SX:............{..............re
1620 74 75 72 6e 20 43 6f 6c 6c 65 63 74 52 69 64 65 72 49 6e 66 6f 73 4d 61 63 28 29 3b 0d 0a 20 20 turn.CollectRiderInfosMac();....
1640 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 4f 70 65 72 ........}..............case.Oper
1660 61 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 2e 4c 69 6e 75 78 3a 0d 0a 20 20 20 20 20 20 atingSystemFamily.Linux:........
1680 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 43 6f 6c 6c 65 63 ....{..............return.Collec
16a0 74 41 6c 6c 52 69 64 65 72 50 61 74 68 73 4c 69 6e 75 78 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 tAllRiderPathsLinux();..........
16c0 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 63 ..}..........}........}........c
16e0 61 74 63 68 20 28 45 78 63 65 70 74 69 6f 6e 20 65 29 0d 0a 20 20 20 20 20 20 7b 0d 0a 20 20 20 atch.(Exception.e)........{.....
1700 20 20 20 20 20 44 65 62 75 67 2e 4c 6f 67 45 78 63 65 70 74 69 6f 6e 28 65 29 3b 0d 0a 20 20 20 .....Debug.LogException(e);.....
1720 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 52 69 64 65 72 49 6e ...}..........return.new.RiderIn
1740 66 6f 5b 30 5d 3b 0d 0a 20 20 20 20 7d 0d 0a 23 65 6e 64 69 66 0d 0a 0d 0a 23 69 66 20 52 49 44 fo[0];......}..#endif....#if.RID
1760 45 52 5f 45 44 49 54 4f 52 5f 50 4c 55 47 49 4e 20 2f 2f 20 63 61 6e 27 74 20 62 65 20 75 73 65 ER_EDITOR_PLUGIN.//.can't.be.use
1780 64 20 69 6e 20 63 6f 6d 2e 75 6e 69 74 79 2e 69 64 65 2e 72 69 64 65 72 0d 0a 20 20 20 20 69 6e d.in.com.unity.ide.rider......in
17a0 74 65 72 6e 61 6c 20 73 74 61 74 69 63 20 52 69 64 65 72 49 6e 66 6f 5b 5d 20 47 65 74 41 6c 6c ternal.static.RiderInfo[].GetAll
17c0 46 6f 75 6e 64 49 6e 66 6f 73 28 4f 70 65 72 61 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 FoundInfos(OperatingSystemFamily
17e0 52 69 64 65 72 20 6f 70 65 72 61 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 29 0d 0a 20 20 Rider.operatingSystemFamily)....
1800 20 20 7b 0d 0a 20 20 20 20 20 20 74 72 79 0d 0a 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 ..{........try........{.........
1820 20 73 77 69 74 63 68 20 28 6f 70 65 72 61 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 29 0d .switch.(operatingSystemFamily).
1840 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 4f 70 65 72 61 .........{............case.Opera
1860 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 52 69 64 65 72 2e 57 69 6e 64 6f 77 73 3a 0d 0a tingSystemFamilyRider.Windows:..
1880 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 ..........{..............return.
18a0 43 6f 6c 6c 65 63 74 52 69 64 65 72 49 6e 66 6f 73 57 69 6e 64 6f 77 73 28 29 3b 0d 0a 20 20 20 CollectRiderInfosWindows();.....
18c0 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 4f 70 65 72 61 74 69 .......}............case.Operati
18e0 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 52 69 64 65 72 2e 4d 61 63 4f 53 58 3a 0d 0a 20 20 20 ngSystemFamilyRider.MacOSX:.....
1900 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 43 6f 6c .......{..............return.Col
1920 6c 65 63 74 52 69 64 65 72 49 6e 66 6f 73 4d 61 63 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 lectRiderInfosMac();............
1940 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 4f 70 65 72 61 74 69 6e 67 53 79 73 74 65 }............case.OperatingSyste
1960 6d 46 61 6d 69 6c 79 52 69 64 65 72 2e 4c 69 6e 75 78 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 7b mFamilyRider.Linux:............{
1980 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 43 6f 6c 6c 65 63 74 41 6c 6c 52 ..............return.CollectAllR
19a0 69 64 65 72 50 61 74 68 73 4c 69 6e 75 78 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 7d 0d 0a iderPathsLinux();............}..
19c0 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 63 61 74 63 68 20 ........}........}........catch.
19e0 28 45 78 63 65 70 74 69 6f 6e 20 65 29 0d 0a 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 (Exception.e)........{..........
1a00 44 65 62 75 67 2e 4c 6f 67 45 78 63 65 70 74 69 6f 6e 28 65 29 3b 0d 0a 20 20 20 20 20 20 7d 0d Debug.LogException(e);........}.
1a20 0a 0d 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 52 69 64 65 72 49 6e 66 6f 5b 30 5d .........return.new.RiderInfo[0]
1a40 3b 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 69 63 20 ;......}........internal.static.
1a60 73 74 72 69 6e 67 5b 5d 20 47 65 74 41 6c 6c 46 6f 75 6e 64 50 61 74 68 73 28 4f 70 65 72 61 74 string[].GetAllFoundPaths(Operat
1a80 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 52 69 64 65 72 20 6f 70 65 72 61 74 69 6e 67 53 79 ingSystemFamilyRider.operatingSy
1aa0 73 74 65 6d 46 61 6d 69 6c 79 29 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 72 65 74 75 72 6e stemFamily)......{........return
1ac0 20 47 65 74 41 6c 6c 46 6f 75 6e 64 49 6e 66 6f 73 28 6f 70 65 72 61 74 69 6e 67 53 79 73 74 65 .GetAllFoundInfos(operatingSyste
1ae0 6d 46 61 6d 69 6c 79 29 2e 53 65 6c 65 63 74 28 61 3d 3e 61 2e 50 61 74 68 29 2e 54 6f 41 72 72 mFamily).Select(a=>a.Path).ToArr
1b00 61 79 28 29 3b 0d 0a 20 20 20 20 7d 0d 0a 23 65 6e 64 69 66 0d 0a 0d 0a 20 20 20 20 70 72 69 76 ay();......}..#endif........priv
1b20 61 74 65 20 73 74 61 74 69 63 20 52 69 64 65 72 49 6e 66 6f 5b 5d 20 43 6f 6c 6c 65 63 74 41 6c ate.static.RiderInfo[].CollectAl
1b40 6c 52 69 64 65 72 50 61 74 68 73 4c 69 6e 75 78 28 29 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 lRiderPathsLinux()......{.......
1b60 20 76 61 72 20 69 6e 73 74 61 6c 6c 49 6e 66 6f 73 20 3d 20 6e 65 77 20 4c 69 73 74 3c 52 69 64 .var.installInfos.=.new.List<Rid
1b80 65 72 49 6e 66 6f 3e 28 29 3b 0d 0a 20 20 20 20 20 20 76 61 72 20 68 6f 6d 65 20 3d 20 45 6e 76 erInfo>();........var.home.=.Env
1ba0 69 72 6f 6e 6d 65 6e 74 2e 47 65 74 45 6e 76 69 72 6f 6e 6d 65 6e 74 56 61 72 69 61 62 6c 65 28 ironment.GetEnvironmentVariable(
1bc0 22 48 4f 4d 45 22 29 3b 0d 0a 20 20 20 20 20 20 69 66 20 28 21 73 74 72 69 6e 67 2e 49 73 4e 75 "HOME");........if.(!string.IsNu
1be0 6c 6c 4f 72 45 6d 70 74 79 28 68 6f 6d 65 29 29 0d 0a 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 llOrEmpty(home))........{.......
1c00 20 20 20 76 61 72 20 74 6f 6f 6c 62 6f 78 52 69 64 65 72 52 6f 6f 74 50 61 74 68 20 3d 20 47 65 ...var.toolboxRiderRootPath.=.Ge
1c20 74 54 6f 6f 6c 62 6f 78 42 61 73 65 44 69 72 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 69 6e 73 74 tToolboxBaseDir();..........inst
1c40 61 6c 6c 49 6e 66 6f 73 2e 41 64 64 52 61 6e 67 65 28 43 6f 6c 6c 65 63 74 50 61 74 68 73 46 72 allInfos.AddRange(CollectPathsFr
1c60 6f 6d 54 6f 6f 6c 62 6f 78 28 74 6f 6f 6c 62 6f 78 52 69 64 65 72 52 6f 6f 74 50 61 74 68 2c 20 omToolbox(toolboxRiderRootPath,.
1c80 22 62 69 6e 22 2c 20 22 72 69 64 65 72 2e 73 68 22 2c 20 66 61 6c 73 65 29 0d 0a 20 20 20 20 20 "bin",."rider.sh",.false).......
1ca0 20 20 20 20 20 2e 53 65 6c 65 63 74 28 61 20 3d 3e 20 6e 65 77 20 52 69 64 65 72 49 6e 66 6f 28 ......Select(a.=>.new.RiderInfo(
1cc0 61 2c 20 74 72 75 65 29 29 2e 54 6f 4c 69 73 74 28 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 a,.true)).ToList());............
1ce0 2f 2f 24 48 6f 6d 65 2f 2e 6c 6f 63 61 6c 2f 73 68 61 72 65 2f 61 70 70 6c 69 63 61 74 69 6f 6e //$Home/.local/share/application
1d00 73 2f 6a 65 74 62 72 61 69 6e 73 2d 72 69 64 65 72 2e 64 65 73 6b 74 6f 70 0d 0a 20 20 20 20 20 s/jetbrains-rider.desktop.......
1d20 20 20 20 76 61 72 20 73 68 6f 72 74 63 75 74 20 3d 20 6e 65 77 20 46 69 6c 65 49 6e 66 6f 28 50 ...var.shortcut.=.new.FileInfo(P
1d40 61 74 68 2e 43 6f 6d 62 69 6e 65 28 68 6f 6d 65 2c 20 40 22 2e 6c 6f 63 61 6c 2f 73 68 61 72 65 ath.Combine(home,.@".local/share
1d60 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2f 6a 65 74 62 72 61 69 6e 73 2d 72 69 64 65 72 2e 64 65 /applications/jetbrains-rider.de
1d80 73 6b 74 6f 70 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 66 20 28 73 68 6f 72 74 63 75 sktop"));............if.(shortcu
1da0 74 2e 45 78 69 73 74 73 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 t.Exists)..........{............
1dc0 76 61 72 20 6c 69 6e 65 73 20 3d 20 46 69 6c 65 2e 52 65 61 64 41 6c 6c 4c 69 6e 65 73 28 73 68 var.lines.=.File.ReadAllLines(sh
1de0 6f 72 74 63 75 74 2e 46 75 6c 6c 4e 61 6d 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 ortcut.FullName);............for
1e00 65 61 63 68 20 28 76 61 72 20 6c 69 6e 65 20 69 6e 20 6c 69 6e 65 73 29 0d 0a 20 20 20 20 20 20 each.(var.line.in.lines)........
1e20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 6c 69 6e 65 2e 53 74 61 ....{..............if.(!line.Sta
1e40 72 74 73 57 69 74 68 28 22 45 78 65 63 3d 5c 22 22 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 rtsWith("Exec=\"")).............
1e60 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 61 ...continue;..............var.pa
1e80 74 68 20 3d 20 6c 69 6e 65 2e 53 70 6c 69 74 28 27 22 27 29 2e 57 68 65 72 65 28 28 69 74 65 6d th.=.line.Split('"').Where((item
1ea0 2c 20 69 6e 64 65 78 29 20 3d 3e 20 69 6e 64 65 78 20 3d 3d 20 31 29 2e 53 69 6e 67 6c 65 4f 72 ,.index).=>.index.==.1).SingleOr
1ec0 44 65 66 61 75 6c 74 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 74 72 69 Default();..............if.(stri
1ee0 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 70 61 74 68 29 29 0d 0a 20 20 20 20 20 20 20 ng.IsNullOrEmpty(path)).........
1f00 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 .......continue;................
1f20 69 66 20 28 69 6e 73 74 61 6c 6c 49 6e 66 6f 73 2e 41 6e 79 28 61 20 3d 3e 20 61 2e 50 61 74 68 if.(installInfos.Any(a.=>.a.Path
1f40 20 3d 3d 20 70 61 74 68 29 29 20 2f 2f 20 61 76 6f 69 64 20 61 64 64 69 6e 67 20 73 69 6d 69 6c .==.path)).//.avoid.adding.simil
1f60 61 72 20 62 75 69 6c 64 20 61 73 20 66 72 6f 6d 20 74 6f 6f 6c 62 6f 78 0d 0a 20 20 20 20 20 20 ar.build.as.from.toolbox........
1f80 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 ........continue;..............i
1fa0 6e 73 74 61 6c 6c 49 6e 66 6f 73 2e 41 64 64 28 6e 65 77 20 52 69 64 65 72 49 6e 66 6f 28 70 61 nstallInfos.Add(new.RiderInfo(pa
1fc0 74 68 2c 20 66 61 6c 73 65 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 th,.false));............}.......
1fe0 20 20 20 7d 0d 0a 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 2f 2f 20 73 6e 61 70 20 69 ...}........}..........//.snap.i
2000 6e 73 74 61 6c 6c 0d 0a 20 20 20 20 20 20 76 61 72 20 73 6e 61 70 49 6e 73 74 61 6c 6c 50 61 74 nstall........var.snapInstallPat
2020 68 20 3d 20 22 2f 73 6e 61 70 2f 72 69 64 65 72 2f 63 75 72 72 65 6e 74 2f 62 69 6e 2f 72 69 64 h.=."/snap/rider/current/bin/rid
2040 65 72 2e 73 68 22 3b 0d 0a 20 20 20 20 20 20 69 66 20 28 6e 65 77 20 46 69 6c 65 49 6e 66 6f 28 er.sh";........if.(new.FileInfo(
2060 73 6e 61 70 49 6e 73 74 61 6c 6c 50 61 74 68 29 2e 45 78 69 73 74 73 29 0d 0a 20 20 20 20 20 20 snapInstallPath).Exists)........
2080 20 20 69 6e 73 74 61 6c 6c 49 6e 66 6f 73 2e 41 64 64 28 6e 65 77 20 52 69 64 65 72 49 6e 66 6f ..installInfos.Add(new.RiderInfo
20a0 28 73 6e 61 70 49 6e 73 74 61 6c 6c 50 61 74 68 2c 20 66 61 6c 73 65 29 29 3b 0d 0a 20 20 20 20 (snapInstallPath,.false));......
20c0 20 20 0d 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 69 6e 73 74 61 6c 6c 49 6e 66 6f 73 2e 54 6f ..........return.installInfos.To
20e0 41 72 72 61 79 28 29 3b 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 70 72 69 76 61 74 65 20 73 Array();......}........private.s
2100 74 61 74 69 63 20 52 69 64 65 72 49 6e 66 6f 5b 5d 20 43 6f 6c 6c 65 63 74 52 69 64 65 72 49 6e tatic.RiderInfo[].CollectRiderIn
2120 66 6f 73 4d 61 63 28 29 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 76 61 72 20 69 6e 73 74 61 fosMac()......{........var.insta
2140 6c 6c 49 6e 66 6f 73 20 3d 20 6e 65 77 20 4c 69 73 74 3c 52 69 64 65 72 49 6e 66 6f 3e 28 29 3b llInfos.=.new.List<RiderInfo>();
2160 0d 0a 20 20 20 20 20 20 2f 2f 20 22 2f 41 70 70 6c 69 63 61 74 69 6f 6e 73 2f 2a 52 69 64 65 72 ........//."/Applications/*Rider
2180 2a 2e 61 70 70 22 0d 0a 20 20 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 20 3d 20 6e 65 77 20 44 *.app"........var.folder.=.new.D
21a0 69 72 65 63 74 6f 72 79 49 6e 66 6f 28 22 2f 41 70 70 6c 69 63 61 74 69 6f 6e 73 22 29 3b 0d 0a irectoryInfo("/Applications");..
21c0 20 20 20 20 20 20 69 66 20 28 66 6f 6c 64 65 72 2e 45 78 69 73 74 73 29 0d 0a 20 20 20 20 20 20 ......if.(folder.Exists)........
21e0 7b 0d 0a 20 20 20 20 20 20 20 20 69 6e 73 74 61 6c 6c 49 6e 66 6f 73 2e 41 64 64 52 61 6e 67 65 {..........installInfos.AddRange
2200 28 66 6f 6c 64 65 72 2e 47 65 74 44 69 72 65 63 74 6f 72 69 65 73 28 22 2a 52 69 64 65 72 2a 2e (folder.GetDirectories("*Rider*.
2220 61 70 70 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 2e 53 65 6c 65 63 74 28 61 20 3d 3e 20 6e 65 app").............Select(a.=>.ne
2240 77 20 52 69 64 65 72 49 6e 66 6f 28 61 2e 46 75 6c 6c 4e 61 6d 65 2c 20 66 61 6c 73 65 29 29 0d w.RiderInfo(a.FullName,.false)).
2260 0a 20 20 20 20 20 20 20 20 20 20 2e 54 6f 4c 69 73 74 28 29 29 3b 0d 0a 20 20 20 20 20 20 7d 0d ............ToList());........}.
2280 0a 0d 0a 20 20 20 20 20 20 2f 2f 20 2f 55 73 65 72 73 2f 75 73 65 72 2f 4c 69 62 72 61 72 79 2f .........//./Users/user/Library/
22a0 41 70 70 6c 69 63 61 74 69 6f 6e 20 53 75 70 70 6f 72 74 2f 4a 65 74 42 72 61 69 6e 73 2f 54 6f Application.Support/JetBrains/To
22c0 6f 6c 62 6f 78 2f 61 70 70 73 2f 52 69 64 65 72 2f 63 68 2d 31 2f 31 38 31 2e 33 38 37 30 2e 32 olbox/apps/Rider/ch-1/181.3870.2
22e0 36 37 2f 52 69 64 65 72 20 45 41 50 2e 61 70 70 0d 0a 20 20 20 20 20 20 76 61 72 20 74 6f 6f 6c 67/Rider.EAP.app........var.tool
2300 62 6f 78 52 69 64 65 72 52 6f 6f 74 50 61 74 68 20 3d 20 47 65 74 54 6f 6f 6c 62 6f 78 42 61 73 boxRiderRootPath.=.GetToolboxBas
2320 65 44 69 72 28 29 3b 0d 0a 20 20 20 20 20 20 76 61 72 20 70 61 74 68 73 20 3d 20 43 6f 6c 6c 65 eDir();........var.paths.=.Colle
2340 63 74 50 61 74 68 73 46 72 6f 6d 54 6f 6f 6c 62 6f 78 28 74 6f 6f 6c 62 6f 78 52 69 64 65 72 52 ctPathsFromToolbox(toolboxRiderR
2360 6f 6f 74 50 61 74 68 2c 20 22 22 2c 20 22 52 69 64 65 72 2a 2e 61 70 70 22 2c 20 74 72 75 65 29 ootPath,."",."Rider*.app",.true)
2380 0d 0a 20 20 20 20 20 20 20 20 2e 53 65 6c 65 63 74 28 61 20 3d 3e 20 6e 65 77 20 52 69 64 65 72 ...........Select(a.=>.new.Rider
23a0 49 6e 66 6f 28 61 2c 20 74 72 75 65 29 29 3b 0d 0a 20 20 20 20 20 20 69 6e 73 74 61 6c 6c 49 6e Info(a,.true));........installIn
23c0 66 6f 73 2e 41 64 64 52 61 6e 67 65 28 70 61 74 68 73 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 72 65 fos.AddRange(paths);..........re
23e0 74 75 72 6e 20 69 6e 73 74 61 6c 6c 49 6e 66 6f 73 2e 54 6f 41 72 72 61 79 28 29 3b 0d 0a 20 20 turn.installInfos.ToArray();....
2400 20 20 7d 0d 0a 0d 0a 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 52 69 64 65 72 49 ..}........private.static.RiderI
2420 6e 66 6f 5b 5d 20 43 6f 6c 6c 65 63 74 52 69 64 65 72 49 6e 66 6f 73 57 69 6e 64 6f 77 73 28 29 nfo[].CollectRiderInfosWindows()
2440 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 76 61 72 20 69 6e 73 74 61 6c 6c 49 6e 66 6f 73 20 ......{........var.installInfos.
2460 3d 20 6e 65 77 20 4c 69 73 74 3c 52 69 64 65 72 49 6e 66 6f 3e 28 29 3b 0d 0a 20 20 20 20 20 20 =.new.List<RiderInfo>();........
2480 76 61 72 20 74 6f 6f 6c 62 6f 78 52 69 64 65 72 52 6f 6f 74 50 61 74 68 20 3d 20 47 65 74 54 6f var.toolboxRiderRootPath.=.GetTo
24a0 6f 6c 62 6f 78 42 61 73 65 44 69 72 28 29 3b 0d 0a 20 20 20 20 20 20 76 61 72 20 69 6e 73 74 61 olboxBaseDir();........var.insta
24c0 6c 6c 50 61 74 68 73 54 6f 6f 6c 62 6f 78 20 3d 20 43 6f 6c 6c 65 63 74 50 61 74 68 73 46 72 6f llPathsToolbox.=.CollectPathsFro
24e0 6d 54 6f 6f 6c 62 6f 78 28 74 6f 6f 6c 62 6f 78 52 69 64 65 72 52 6f 6f 74 50 61 74 68 2c 20 22 mToolbox(toolboxRiderRootPath,."
2500 62 69 6e 22 2c 20 22 72 69 64 65 72 36 34 2e 65 78 65 22 2c 20 66 61 6c 73 65 29 2e 54 6f 4c 69 bin",."rider64.exe",.false).ToLi
2520 73 74 28 29 3b 0d 0a 20 20 20 20 20 20 69 6e 73 74 61 6c 6c 49 6e 66 6f 73 2e 41 64 64 52 61 6e st();........installInfos.AddRan
2540 67 65 28 69 6e 73 74 61 6c 6c 50 61 74 68 73 54 6f 6f 6c 62 6f 78 2e 53 65 6c 65 63 74 28 61 20 ge(installPathsToolbox.Select(a.
2560 3d 3e 20 6e 65 77 20 52 69 64 65 72 49 6e 66 6f 28 61 2c 20 74 72 75 65 29 29 2e 54 6f 4c 69 73 =>.new.RiderInfo(a,.true)).ToLis
2580 74 28 29 29 3b 0d 0a 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 76 61 72 20 69 6e 73 74 61 6c 6c t());................var.install
25a0 50 61 74 68 73 20 3d 20 6e 65 77 20 4c 69 73 74 3c 73 74 72 69 6e 67 3e 28 29 3b 0d 0a 20 20 20 Paths.=.new.List<string>();.....
25c0 20 20 20 63 6f 6e 73 74 20 73 74 72 69 6e 67 20 72 65 67 69 73 74 72 79 4b 65 79 20 3d 20 40 22 ...const.string.registryKey.=.@"
25e0 53 4f 46 54 57 41 52 45 5c 4d 69 63 72 6f 73 6f 66 74 5c 57 69 6e 64 6f 77 73 5c 43 75 72 72 65 SOFTWARE\Microsoft\Windows\Curre
2600 6e 74 56 65 72 73 69 6f 6e 5c 55 6e 69 6e 73 74 61 6c 6c 22 3b 0d 0a 20 20 20 20 20 20 43 6f 6c ntVersion\Uninstall";........Col
2620 6c 65 63 74 50 61 74 68 73 46 72 6f 6d 52 65 67 69 73 74 72 79 28 72 65 67 69 73 74 72 79 4b 65 lectPathsFromRegistry(registryKe
2640 79 2c 20 69 6e 73 74 61 6c 6c 50 61 74 68 73 29 3b 0d 0a 20 20 20 20 20 20 63 6f 6e 73 74 20 73 y,.installPaths);........const.s
2660 74 72 69 6e 67 20 77 6f 77 52 65 67 69 73 74 72 79 4b 65 79 20 3d 20 40 22 53 4f 46 54 57 41 52 tring.wowRegistryKey.=.@"SOFTWAR
2680 45 5c 57 4f 57 36 34 33 32 4e 6f 64 65 5c 4d 69 63 72 6f 73 6f 66 74 5c 57 69 6e 64 6f 77 73 5c E\WOW6432Node\Microsoft\Windows\
26a0 43 75 72 72 65 6e 74 56 65 72 73 69 6f 6e 5c 55 6e 69 6e 73 74 61 6c 6c 22 3b 0d 0a 20 20 20 20 CurrentVersion\Uninstall";......
26c0 20 20 43 6f 6c 6c 65 63 74 50 61 74 68 73 46 72 6f 6d 52 65 67 69 73 74 72 79 28 77 6f 77 52 65 ..CollectPathsFromRegistry(wowRe
26e0 67 69 73 74 72 79 4b 65 79 2c 20 69 6e 73 74 61 6c 6c 50 61 74 68 73 29 3b 0d 0a 20 20 20 20 20 gistryKey,.installPaths);.......
2700 20 0d 0a 20 20 20 20 20 20 69 6e 73 74 61 6c 6c 49 6e 66 6f 73 2e 41 64 64 52 61 6e 67 65 28 69 .........installInfos.AddRange(i
2720 6e 73 74 61 6c 6c 50 61 74 68 73 2e 53 65 6c 65 63 74 28 61 20 3d 3e 20 6e 65 77 20 52 69 64 65 nstallPaths.Select(a.=>.new.Ride
2740 72 49 6e 66 6f 28 61 2c 20 66 61 6c 73 65 29 29 2e 54 6f 4c 69 73 74 28 29 29 3b 0d 0a 0d 0a 20 rInfo(a,.false)).ToList());.....
2760 20 20 20 20 20 72 65 74 75 72 6e 20 69 6e 73 74 61 6c 6c 49 6e 66 6f 73 2e 54 6f 41 72 72 61 79 .....return.installInfos.ToArray
2780 28 29 3b 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 ();......}........private.static
27a0 20 73 74 72 69 6e 67 20 47 65 74 54 6f 6f 6c 62 6f 78 42 61 73 65 44 69 72 28 29 0d 0a 20 20 20 .string.GetToolboxBaseDir().....
27c0 20 7b 0d 0a 20 20 20 20 20 20 73 77 69 74 63 68 20 28 53 79 73 74 65 6d 49 6e 66 6f 2e 6f 70 65 .{........switch.(SystemInfo.ope
27e0 72 61 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 29 0d 0a 20 20 20 20 20 20 7b 0d 0a 20 20 ratingSystemFamily)........{....
2800 20 20 20 20 20 20 63 61 73 65 20 4f 70 65 72 61 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 ......case.OperatingSystemFamily
2820 2e 57 69 6e 64 6f 77 73 3a 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 .Windows:..........{............
2840 76 61 72 20 6c 6f 63 61 6c 41 70 70 44 61 74 61 20 3d 20 45 6e 76 69 72 6f 6e 6d 65 6e 74 2e 47 var.localAppData.=.Environment.G
2860 65 74 46 6f 6c 64 65 72 50 61 74 68 28 45 6e 76 69 72 6f 6e 6d 65 6e 74 2e 53 70 65 63 69 61 6c etFolderPath(Environment.Special
2880 46 6f 6c 64 65 72 2e 4c 6f 63 61 6c 41 70 70 6c 69 63 61 74 69 6f 6e 44 61 74 61 29 3b 0d 0a 20 Folder.LocalApplicationData);...
28a0 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 50 61 74 68 2e 43 6f 6d 62 69 6e 65 28 6c 6f 63 .........return.Path.Combine(loc
28c0 61 6c 41 70 70 44 61 74 61 2c 20 40 22 4a 65 74 42 72 61 69 6e 73 5c 54 6f 6f 6c 62 6f 78 5c 61 alAppData,.@"JetBrains\Toolbox\a
28e0 70 70 73 5c 52 69 64 65 72 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 pps\Rider");..........}.........
2900 20 20 20 63 61 73 65 20 4f 70 65 72 61 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 2e 4d 61 ...case.OperatingSystemFamily.Ma
2920 63 4f 53 58 3a 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 cOSX:..........{............var.
2940 68 6f 6d 65 20 3d 20 45 6e 76 69 72 6f 6e 6d 65 6e 74 2e 47 65 74 45 6e 76 69 72 6f 6e 6d 65 6e home.=.Environment.GetEnvironmen
2960 74 56 61 72 69 61 62 6c 65 28 22 48 4f 4d 45 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 69 66 tVariable("HOME");............if
2980 20 28 21 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 68 6f 6d 65 29 29 0d 0a .(!string.IsNullOrEmpty(home))..
29a0 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 ..........{..............return.
29c0 50 61 74 68 2e 43 6f 6d 62 69 6e 65 28 68 6f 6d 65 2c 20 40 22 4c 69 62 72 61 72 79 2f 41 70 70 Path.Combine(home,.@"Library/App
29e0 6c 69 63 61 74 69 6f 6e 20 53 75 70 70 6f 72 74 2f 4a 65 74 42 72 61 69 6e 73 2f 54 6f 6f 6c 62 lication.Support/JetBrains/Toolb
2a00 6f 78 2f 61 70 70 73 2f 52 69 64 65 72 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 ox/apps/Rider");............}...
2a20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 .........break;..........}......
2a40 20 20 20 20 20 20 63 61 73 65 20 4f 70 65 72 61 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 ......case.OperatingSystemFamily
2a60 2e 4c 69 6e 75 78 3a 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 76 61 .Linux:..........{............va
2a80 72 20 68 6f 6d 65 20 3d 20 45 6e 76 69 72 6f 6e 6d 65 6e 74 2e 47 65 74 45 6e 76 69 72 6f 6e 6d r.home.=.Environment.GetEnvironm
2aa0 65 6e 74 56 61 72 69 61 62 6c 65 28 22 48 4f 4d 45 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 entVariable("HOME");............
2ac0 69 66 20 28 21 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 68 6f 6d 65 29 29 if.(!string.IsNullOrEmpty(home))
2ae0 0d 0a 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 ............{..............retur
2b00 6e 20 50 61 74 68 2e 43 6f 6d 62 69 6e 65 28 68 6f 6d 65 2c 20 40 22 2e 6c 6f 63 61 6c 2f 73 68 n.Path.Combine(home,.@".local/sh
2b20 61 72 65 2f 4a 65 74 42 72 61 69 6e 73 2f 54 6f 6f 6c 62 6f 78 2f 61 70 70 73 2f 52 69 64 65 72 are/JetBrains/Toolbox/apps/Rider
2b40 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 ");............}............brea
2b60 6b 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 72 65 k;..........}........}........re
2b80 74 75 72 6e 20 73 74 72 69 6e 67 2e 45 6d 70 74 79 3b 0d 0a 20 20 20 20 7d 0d 0a 20 20 20 20 0d turn.string.Empty;......}.......
2ba0 0a 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 69 63 20 73 74 72 69 6e 67 20 47 65 74 42 .....internal.static.string.GetB
2bc0 75 69 6c 64 4e 75 6d 62 65 72 28 73 74 72 69 6e 67 20 70 61 74 68 29 0d 0a 20 20 20 20 7b 0d 0a uildNumber(string.path)......{..
2be0 20 20 20 20 20 20 76 61 72 20 66 69 6c 65 20 3d 20 6e 65 77 20 46 69 6c 65 49 6e 66 6f 28 50 61 ......var.file.=.new.FileInfo(Pa
2c00 74 68 2e 43 6f 6d 62 69 6e 65 28 70 61 74 68 2c 20 47 65 74 52 65 6c 61 74 69 76 65 50 61 74 68 th.Combine(path,.GetRelativePath
2c20 54 6f 42 75 69 6c 64 54 78 74 28 29 29 29 3b 0d 0a 20 20 20 20 20 20 69 66 20 28 21 66 69 6c 65 ToBuildTxt()));........if.(!file
2c40 2e 45 78 69 73 74 73 29 20 0d 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 73 74 72 69 6e 67 .Exists)...........return.string
2c60 2e 45 6d 70 74 79 3b 0d 0a 20 20 20 20 20 20 76 61 72 20 74 65 78 74 20 3d 20 46 69 6c 65 2e 52 .Empty;........var.text.=.File.R
2c80 65 61 64 41 6c 6c 54 65 78 74 28 66 69 6c 65 2e 46 75 6c 6c 4e 61 6d 65 29 3b 0d 0a 20 20 20 20 eadAllText(file.FullName);......
2ca0 20 20 69 66 20 28 74 65 78 74 2e 4c 65 6e 67 74 68 20 3e 20 33 29 0d 0a 20 20 20 20 20 20 20 20 ..if.(text.Length.>.3)..........
2cc0 72 65 74 75 72 6e 20 74 65 78 74 2e 53 75 62 73 74 72 69 6e 67 28 33 29 3b 0d 0a 20 20 20 20 20 return.text.Substring(3);.......
2ce0 20 72 65 74 75 72 6e 20 73 74 72 69 6e 67 2e 45 6d 70 74 79 3b 0d 0a 20 20 20 20 7d 0d 0a 0d 0a .return.string.Empty;......}....
2d00 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 69 63 20 62 6f 6f 6c 20 49 73 54 6f 6f 6c 62 ....internal.static.bool.IsToolb
2d20 6f 78 28 73 74 72 69 6e 67 20 70 61 74 68 29 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 72 65 ox(string.path)......{........re
2d40 74 75 72 6e 20 70 61 74 68 2e 53 74 61 72 74 73 57 69 74 68 28 47 65 74 54 6f 6f 6c 62 6f 78 42 turn.path.StartsWith(GetToolboxB
2d60 61 73 65 44 69 72 28 29 29 3b 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 70 72 69 76 61 74 65 aseDir());......}........private
2d80 20 73 74 61 74 69 63 20 73 74 72 69 6e 67 20 47 65 74 52 65 6c 61 74 69 76 65 50 61 74 68 54 6f .static.string.GetRelativePathTo
2da0 42 75 69 6c 64 54 78 74 28 29 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 73 77 69 74 63 68 20 BuildTxt()......{........switch.
2dc0 28 53 79 73 74 65 6d 49 6e 66 6f 2e 6f 70 65 72 61 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c (SystemInfo.operatingSystemFamil
2de0 79 29 0d 0a 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 4f 70 65 72 61 74 y)........{..........case.Operat
2e00 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 2e 57 69 6e 64 6f 77 73 3a 20 0d 0a 20 20 20 20 20 ingSystemFamily.Windows:........
2e20 20 20 20 63 61 73 65 20 4f 70 65 72 61 74 69 6e 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 2e 4c 69 ...case.OperatingSystemFamily.Li
2e40 6e 75 78 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 2e 2e 2f 2e 2e 2f 62 75 nux:............return."../../bu
2e60 69 6c 64 2e 74 78 74 22 3b 0d 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 4f 70 65 72 61 74 69 6e ild.txt";..........case.Operatin
2e80 67 53 79 73 74 65 6d 46 61 6d 69 6c 79 2e 4d 61 63 4f 53 58 3a 0d 0a 20 20 20 20 20 20 20 20 20 gSystemFamily.MacOSX:...........
2ea0 20 72 65 74 75 72 6e 20 22 43 6f 6e 74 65 6e 74 73 2f 52 65 73 6f 75 72 63 65 73 2f 62 75 69 6c .return."Contents/Resources/buil
2ec0 64 2e 74 78 74 22 3b 0d 0a 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 74 68 72 6f 77 20 6e 65 d.txt";........}........throw.ne
2ee0 77 20 45 78 63 65 70 74 69 6f 6e 28 22 55 6e 6b 6e 6f 77 6e 20 4f 53 22 29 3b 0d 0a 20 20 20 20 w.Exception("Unknown.OS");......
2f00 7d 0d 0a 0d 0a 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 43 6f 6c }........private.static.void.Col
2f20 6c 65 63 74 50 61 74 68 73 46 72 6f 6d 52 65 67 69 73 74 72 79 28 73 74 72 69 6e 67 20 72 65 67 lectPathsFromRegistry(string.reg
2f40 69 73 74 72 79 4b 65 79 2c 20 4c 69 73 74 3c 73 74 72 69 6e 67 3e 20 69 6e 73 74 61 6c 6c 50 61 istryKey,.List<string>.installPa
2f60 74 68 73 29 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 75 73 69 6e 67 20 28 76 61 72 20 6b 65 ths)......{........using.(var.ke
2f80 79 20 3d 20 52 65 67 69 73 74 72 79 2e 4c 6f 63 61 6c 4d 61 63 68 69 6e 65 2e 4f 70 65 6e 53 75 y.=.Registry.LocalMachine.OpenSu
2fa0 62 4b 65 79 28 72 65 67 69 73 74 72 79 4b 65 79 29 29 0d 0a 20 20 20 20 20 20 7b 0d 0a 20 20 20 bKey(registryKey))........{.....
2fc0 20 20 20 20 20 69 66 20 28 6b 65 79 20 3d 3d 20 6e 75 6c 6c 29 20 72 65 74 75 72 6e 3b 0d 0a 20 .....if.(key.==.null).return;...
2fe0 20 20 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 76 61 72 20 73 75 62 6b 65 79 4e 61 6d 65 20 69 .......foreach.(var.subkeyName.i
3000 6e 20 6b 65 79 2e 47 65 74 53 75 62 4b 65 79 4e 61 6d 65 73 28 29 2e 57 68 65 72 65 28 61 20 3d n.key.GetSubKeyNames().Where(a.=
3020 3e 20 61 2e 43 6f 6e 74 61 69 6e 73 28 22 52 69 64 65 72 22 29 29 29 0d 0a 20 20 20 20 20 20 20 >.a.Contains("Rider"))).........
3040 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 75 73 69 6e 67 20 28 76 61 72 20 73 75 62 6b 65 79 20 .{............using.(var.subkey.
3060 3d 20 6b 65 79 2e 4f 70 65 6e 53 75 62 4b 65 79 28 73 75 62 6b 65 79 4e 61 6d 65 29 29 0d 0a 20 =.key.OpenSubKey(subkeyName))...
3080 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 66 6f 6c 64 .........{..............var.fold
30a0 65 72 4f 62 6a 65 63 74 20 3d 20 73 75 62 6b 65 79 3f 2e 47 65 74 56 61 6c 75 65 28 22 49 6e 73 erObject.=.subkey?.GetValue("Ins
30c0 74 61 6c 6c 4c 6f 63 61 74 69 6f 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 tallLocation");..............if.
30e0 28 66 6f 6c 64 65 72 4f 62 6a 65 63 74 20 3d 3d 20 6e 75 6c 6c 29 20 63 6f 6e 74 69 6e 75 65 3b (folderObject.==.null).continue;
3100 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 20 3d 20 66 6f 6c 64 65 ..............var.folder.=.folde
3120 72 4f 62 6a 65 63 74 2e 54 6f 53 74 72 69 6e 67 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 rObject.ToString();.............
3140 20 76 61 72 20 70 6f 73 73 69 62 6c 65 50 61 74 68 20 3d 20 50 61 74 68 2e 43 6f 6d 62 69 6e 65 .var.possiblePath.=.Path.Combine
3160 28 66 6f 6c 64 65 72 2c 20 40 22 62 69 6e 5c 72 69 64 65 72 36 34 2e 65 78 65 22 29 3b 0d 0a 20 (folder,.@"bin\rider64.exe");...
3180 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 46 69 6c 65 2e 45 78 69 73 74 73 28 70 6f 73 73 69 ...........if.(File.Exists(possi
31a0 62 6c 65 50 61 74 68 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 73 74 61 6c 6c blePath))................install
31c0 50 61 74 68 73 2e 41 64 64 28 70 6f 73 73 69 62 6c 65 50 61 74 68 29 3b 0d 0a 20 20 20 20 20 20 Paths.Add(possiblePath);........
31e0 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d ....}..........}........}......}
3200 0d 0a 0d 0a 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 73 74 72 69 6e 67 5b 5d 20 ........private.static.string[].
3220 43 6f 6c 6c 65 63 74 50 61 74 68 73 46 72 6f 6d 54 6f 6f 6c 62 6f 78 28 73 74 72 69 6e 67 20 74 CollectPathsFromToolbox(string.t
3240 6f 6f 6c 62 6f 78 52 69 64 65 72 52 6f 6f 74 50 61 74 68 2c 20 73 74 72 69 6e 67 20 64 69 72 4e oolboxRiderRootPath,.string.dirN
3260 61 6d 65 2c 20 73 74 72 69 6e 67 20 73 65 61 72 63 68 50 61 74 74 65 72 6e 2c 0d 0a 20 20 20 20 ame,.string.searchPattern,......
3280 20 20 62 6f 6f 6c 20 69 73 4d 61 63 29 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 69 66 20 28 ..bool.isMac)......{........if.(
32a0 21 44 69 72 65 63 74 6f 72 79 2e 45 78 69 73 74 73 28 74 6f 6f 6c 62 6f 78 52 69 64 65 72 52 6f !Directory.Exists(toolboxRiderRo
32c0 6f 74 50 61 74 68 29 29 0d 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 73 74 72 otPath))..........return.new.str
32e0 69 6e 67 5b 30 5d 3b 0d 0a 0d 0a 20 20 20 20 20 20 76 61 72 20 63 68 61 6e 6e 65 6c 44 69 72 73 ing[0];..........var.channelDirs
3300 20 3d 20 44 69 72 65 63 74 6f 72 79 2e 47 65 74 44 69 72 65 63 74 6f 72 69 65 73 28 74 6f 6f 6c .=.Directory.GetDirectories(tool
3320 62 6f 78 52 69 64 65 72 52 6f 6f 74 50 61 74 68 29 3b 0d 0a 20 20 20 20 20 20 76 61 72 20 70 61 boxRiderRootPath);........var.pa
3340 74 68 73 20 3d 20 63 68 61 6e 6e 65 6c 44 69 72 73 2e 53 65 6c 65 63 74 4d 61 6e 79 28 63 68 61 ths.=.channelDirs.SelectMany(cha
3360 6e 6e 65 6c 44 69 72 20 3d 3e 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 nnelDir.=>..........{...........
3380 20 74 72 79 0d 0a 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f .try............{............../
33a0 2f 20 75 73 65 20 68 69 73 74 6f 72 79 2e 6a 73 6f 6e 20 2d 20 6c 61 73 74 20 65 6e 74 72 79 20 /.use.history.json.-.last.entry.
33c0 73 74 61 6e 64 73 20 66 6f 72 20 74 68 65 20 61 63 74 69 76 65 20 62 75 69 6c 64 20 68 74 74 70 stands.for.the.active.build.http
33e0 73 3a 2f 2f 6a 65 74 62 72 61 69 6e 73 2e 73 6c 61 63 6b 2e 63 6f 6d 2f 61 72 63 68 69 76 65 73 s://jetbrains.slack.com/archives
3400 2f 43 30 37 4b 4e 50 39 39 44 2f 70 31 35 34 37 38 30 37 30 32 34 30 36 36 35 30 30 3f 74 68 72 /C07KNP99D/p1547807024066500?thr
3420 65 61 64 5f 74 73 3d 31 35 34 37 37 33 31 37 30 38 2e 30 35 37 37 30 30 26 63 69 64 3d 43 30 37 ead_ts=1547731708.057700&cid=C07
3440 4b 4e 50 39 39 44 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 68 69 73 74 6f 72 79 46 KNP99D..............var.historyF
3460 69 6c 65 20 3d 20 50 61 74 68 2e 43 6f 6d 62 69 6e 65 28 63 68 61 6e 6e 65 6c 44 69 72 2c 20 22 ile.=.Path.Combine(channelDir,."
3480 2e 68 69 73 74 6f 72 79 2e 6a 73 6f 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 .history.json");..............if
34a0 20 28 46 69 6c 65 2e 45 78 69 73 74 73 28 68 69 73 74 6f 72 79 46 69 6c 65 29 29 0d 0a 20 20 20 .(File.Exists(historyFile)).....
34c0 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6a 73 .........{................var.js
34e0 6f 6e 20 3d 20 46 69 6c 65 2e 52 65 61 64 41 6c 6c 54 65 78 74 28 68 69 73 74 6f 72 79 46 69 6c on.=.File.ReadAllText(historyFil
3500 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 75 69 6c 64 20 3d 20 54 e);................var.build.=.T
3520 6f 6f 6c 62 6f 78 48 69 73 74 6f 72 79 2e 47 65 74 4c 61 74 65 73 74 42 75 69 6c 64 46 72 6f 6d oolboxHistory.GetLatestBuildFrom
3540 4a 73 6f 6e 28 6a 73 6f 6e 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 Json(json);................if.(b
3560 75 69 6c 64 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a uild.!=.null)................{..
3580 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 75 69 6c 64 44 69 72 20 3d 20 50 ................var.buildDir.=.P
35a0 61 74 68 2e 43 6f 6d 62 69 6e 65 28 63 68 61 6e 6e 65 6c 44 69 72 2c 20 62 75 69 6c 64 29 3b 0d ath.Combine(channelDir,.build);.
35c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 78 65 63 75 74 61 62 6c 65 50 .................var.executableP
35e0 61 74 68 73 20 3d 20 47 65 74 45 78 65 63 75 74 61 62 6c 65 50 61 74 68 73 28 64 69 72 4e 61 6d aths.=.GetExecutablePaths(dirNam
3600 65 2c 20 73 65 61 72 63 68 50 61 74 74 65 72 6e 2c 20 69 73 4d 61 63 2c 20 62 75 69 6c 64 44 69 e,.searchPattern,.isMac,.buildDi
3620 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 78 65 63 75 74 61 r);..................if.(executa
3640 62 6c 65 50 61 74 68 73 2e 41 6e 79 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 blePaths.Any()).................
3660 20 20 20 72 65 74 75 72 6e 20 65 78 65 63 75 74 61 62 6c 65 50 61 74 68 73 3b 0d 0a 20 20 20 20 ...return.executablePaths;......
3680 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 ..........}..............}......
36a0 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 61 6e 6e 65 6c 46 69 6c 65 20 3d 20 50 61 74 68 ..........var.channelFile.=.Path
36c0 2e 43 6f 6d 62 69 6e 65 28 63 68 61 6e 6e 65 6c 44 69 72 2c 20 22 2e 63 68 61 6e 6e 65 6c 2e 73 .Combine(channelDir,.".channel.s
36e0 65 74 74 69 6e 67 73 2e 6a 73 6f 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 ettings.json");..............if.
3700 28 46 69 6c 65 2e 45 78 69 73 74 73 28 63 68 61 6e 6e 65 6c 46 69 6c 65 29 29 0d 0a 20 20 20 20 (File.Exists(channelFile))......
3720 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6a 73 6f ........{................var.jso
3740 6e 20 3d 20 46 69 6c 65 2e 52 65 61 64 41 6c 6c 54 65 78 74 28 63 68 61 6e 6e 65 6c 46 69 6c 65 n.=.File.ReadAllText(channelFile
3760 29 2e 52 65 70 6c 61 63 65 28 22 61 63 74 69 76 65 2d 61 70 70 6c 69 63 61 74 69 6f 6e 22 2c 20 ).Replace("active-application",.
3780 22 61 63 74 69 76 65 5f 61 70 70 6c 69 63 61 74 69 6f 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 "active_application");..........
37a0 20 20 20 20 20 20 76 61 72 20 62 75 69 6c 64 20 3d 20 54 6f 6f 6c 62 6f 78 49 6e 73 74 61 6c 6c ......var.build.=.ToolboxInstall
37c0 44 61 74 61 2e 47 65 74 4c 61 74 65 73 74 42 75 69 6c 64 46 72 6f 6d 4a 73 6f 6e 28 6a 73 6f 6e Data.GetLatestBuildFromJson(json
37e0 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 75 69 6c 64 20 21 3d 20 6e );................if.(build.!=.n
3800 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 ull)................{...........
3820 20 20 20 20 20 20 20 76 61 72 20 62 75 69 6c 64 44 69 72 20 3d 20 50 61 74 68 2e 43 6f 6d 62 69 .......var.buildDir.=.Path.Combi
3840 6e 65 28 63 68 61 6e 6e 65 6c 44 69 72 2c 20 62 75 69 6c 64 29 3b 0d 0a 20 20 20 20 20 20 20 20 ne(channelDir,.build);..........
3860 20 20 20 20 20 20 20 20 76 61 72 20 65 78 65 63 75 74 61 62 6c 65 50 61 74 68 73 20 3d 20 47 65 ........var.executablePaths.=.Ge
3880 74 45 78 65 63 75 74 61 62 6c 65 50 61 74 68 73 28 64 69 72 4e 61 6d 65 2c 20 73 65 61 72 63 68 tExecutablePaths(dirName,.search
38a0 50 61 74 74 65 72 6e 2c 20 69 73 4d 61 63 2c 20 62 75 69 6c 64 44 69 72 29 3b 0d 0a 20 20 20 20 Pattern,.isMac,.buildDir);......
38c0 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 78 65 63 75 74 61 62 6c 65 50 61 74 68 73 2e ............if.(executablePaths.
38e0 41 6e 79 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e Any())....................return
3900 20 65 78 65 63 75 74 61 62 6c 65 50 61 74 68 73 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 .executablePaths;...............
3920 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 .}..............}...............
3940 20 2f 2f 20 63 68 61 6e 67 65 73 20 69 6e 20 74 6f 6f 6c 62 6f 78 20 6a 73 6f 6e 20 66 69 6c 65 .//.changes.in.toolbox.json.file
3960 73 20 66 6f 72 6d 61 74 20 6d 61 79 20 62 72 61 6b 65 20 74 68 65 20 6c 6f 67 69 63 20 61 62 6f s.format.may.brake.the.logic.abo
3980 76 65 2c 20 73 6f 20 72 65 74 75 72 6e 20 61 6c 6c 20 66 6f 75 6e 64 20 52 69 64 65 72 20 69 6e ve,.so.return.all.found.Rider.in
39a0 73 74 61 6c 6c 61 74 69 6f 6e 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 stallations..............return.
39c0 44 69 72 65 63 74 6f 72 79 2e 47 65 74 44 69 72 65 63 74 6f 72 69 65 73 28 63 68 61 6e 6e 65 6c Directory.GetDirectories(channel
39e0 44 69 72 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 53 65 6c 65 63 74 4d 61 6e 79 28 Dir).................SelectMany(
3a00 62 75 69 6c 64 44 69 72 20 3d 3e 20 47 65 74 45 78 65 63 75 74 61 62 6c 65 50 61 74 68 73 28 64 buildDir.=>.GetExecutablePaths(d
3a20 69 72 4e 61 6d 65 2c 20 73 65 61 72 63 68 50 61 74 74 65 72 6e 2c 20 69 73 4d 61 63 2c 20 62 75 irName,.searchPattern,.isMac,.bu
3a40 69 6c 64 44 69 72 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 ildDir));............}..........
3a60 20 20 63 61 74 63 68 20 28 45 78 63 65 70 74 69 6f 6e 20 65 29 0d 0a 20 20 20 20 20 20 20 20 20 ..catch.(Exception.e)...........
3a80 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 20 6e 6f 74 20 77 72 69 74 65 20 .{..............//.do.not.write.
3aa0 74 6f 20 44 65 62 75 67 2e 4c 6f 67 2c 20 6a 75 73 74 20 6c 6f 67 20 69 74 2e 0d 0a 20 20 20 20 to.Debug.Log,.just.log.it.......
3ac0 20 20 20 20 20 20 20 20 4c 6f 67 67 65 72 2e 57 61 72 6e 28 24 22 46 61 69 6c 65 64 20 74 6f 20 ........Logger.Warn($"Failed.to.
3ae0 67 65 74 20 52 69 64 65 72 50 61 74 68 20 66 72 6f 6d 20 7b 63 68 61 6e 6e 65 6c 44 69 72 7d 22 get.RiderPath.from.{channelDir}"
3b00 2c 20 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 ,.e);............}..............
3b20 72 65 74 75 72 6e 20 6e 65 77 20 73 74 72 69 6e 67 5b 30 5d 3b 0d 0a 20 20 20 20 20 20 20 20 7d return.new.string[0];..........}
3b40 29 0d 0a 20 20 20 20 20 20 20 20 2e 57 68 65 72 65 28 63 20 3d 3e 20 21 73 74 72 69 6e 67 2e 49 )...........Where(c.=>.!string.I
3b60 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 63 29 29 0d 0a 20 20 20 20 20 20 20 20 2e 54 6f 41 72 72 sNullOrEmpty(c))...........ToArr
3b80 61 79 28 29 3b 0d 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 70 61 74 68 73 3b 0d 0a 20 20 20 20 ay();........return.paths;......
3ba0 7d 0d 0a 0d 0a 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 73 74 72 69 6e 67 5b 5d }........private.static.string[]
3bc0 20 47 65 74 45 78 65 63 75 74 61 62 6c 65 50 61 74 68 73 28 73 74 72 69 6e 67 20 64 69 72 4e 61 .GetExecutablePaths(string.dirNa
3be0 6d 65 2c 20 73 74 72 69 6e 67 20 73 65 61 72 63 68 50 61 74 74 65 72 6e 2c 20 62 6f 6f 6c 20 69 me,.string.searchPattern,.bool.i
3c00 73 4d 61 63 2c 20 73 74 72 69 6e 67 20 62 75 69 6c 64 44 69 72 29 0d 0a 20 20 20 20 7b 0d 0a 20 sMac,.string.buildDir)......{...
3c20 20 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 20 3d 20 6e 65 77 20 44 69 72 65 63 74 6f 72 79 49 .....var.folder.=.new.DirectoryI
3c40 6e 66 6f 28 50 61 74 68 2e 43 6f 6d 62 69 6e 65 28 62 75 69 6c 64 44 69 72 2c 20 64 69 72 4e 61 nfo(Path.Combine(buildDir,.dirNa
3c60 6d 65 29 29 3b 0d 0a 20 20 20 20 20 20 69 66 20 28 21 66 6f 6c 64 65 72 2e 45 78 69 73 74 73 29 me));........if.(!folder.Exists)
3c80 0d 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 73 74 72 69 6e 67 5b 30 5d 3b 0d ..........return.new.string[0];.
3ca0 0a 0d 0a 20 20 20 20 20 20 69 66 20 28 21 69 73 4d 61 63 29 0d 0a 20 20 20 20 20 20 20 20 72 65 .........if.(!isMac)..........re
3cc0 74 75 72 6e 20 6e 65 77 5b 5d 20 7b 50 61 74 68 2e 43 6f 6d 62 69 6e 65 28 66 6f 6c 64 65 72 2e turn.new[].{Path.Combine(folder.
3ce0 46 75 6c 6c 4e 61 6d 65 2c 20 73 65 61 72 63 68 50 61 74 74 65 72 6e 29 7d 2e 57 68 65 72 65 28 FullName,.searchPattern)}.Where(
3d00 46 69 6c 65 2e 45 78 69 73 74 73 29 2e 54 6f 41 72 72 61 79 28 29 3b 0d 0a 20 20 20 20 20 20 72 File.Exists).ToArray();........r
3d20 65 74 75 72 6e 20 66 6f 6c 64 65 72 2e 47 65 74 44 69 72 65 63 74 6f 72 69 65 73 28 73 65 61 72 eturn.folder.GetDirectories(sear
3d40 63 68 50 61 74 74 65 72 6e 29 2e 53 65 6c 65 63 74 28 66 20 3d 3e 20 66 2e 46 75 6c 6c 4e 61 6d chPattern).Select(f.=>.f.FullNam
3d60 65 29 0d 0a 20 20 20 20 20 20 20 20 2e 57 68 65 72 65 28 44 69 72 65 63 74 6f 72 79 2e 45 78 69 e)...........Where(Directory.Exi
3d80 73 74 73 29 2e 54 6f 41 72 72 61 79 28 29 3b 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 2f 2f sts).ToArray();......}........//
3da0 20 44 69 73 61 62 6c 65 20 74 68 65 20 22 66 69 65 6c 64 20 69 73 20 6e 65 76 65 72 20 61 73 73 .Disable.the."field.is.never.ass
3dc0 69 67 6e 65 64 22 20 63 6f 6d 70 69 6c 65 72 20 77 61 72 6e 69 6e 67 2e 20 57 65 20 6e 65 76 65 igned".compiler.warning..We.neve
3de0 72 20 61 73 73 69 67 6e 20 69 74 2c 20 62 75 74 20 55 6e 69 74 79 20 64 6f 65 73 2e 0d 0a 20 20 r.assign.it,.but.Unity.does.....
3e00 20 20 2f 2f 20 4e 6f 74 65 20 74 68 61 74 20 55 6e 69 74 79 20 64 69 73 61 62 6c 65 20 74 68 69 ..//.Note.that.Unity.disable.thi
3e20 73 20 77 61 72 6e 69 6e 67 20 69 6e 20 74 68 65 20 67 65 6e 65 72 61 74 65 64 20 43 23 20 70 72 s.warning.in.the.generated.C#.pr
3e40 6f 6a 65 63 74 73 0d 0a 23 70 72 61 67 6d 61 20 77 61 72 6e 69 6e 67 20 64 69 73 61 62 6c 65 20 ojects..#pragma.warning.disable.
3e60 30 36 34 39 0d 0a 0d 0a 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 61 62 6c 65 5d 0d 0a 20 20 20 20 0649........[Serializable]......
3e80 63 6c 61 73 73 20 54 6f 6f 6c 62 6f 78 48 69 73 74 6f 72 79 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 class.ToolboxHistory......{.....
3ea0 20 20 20 70 75 62 6c 69 63 20 4c 69 73 74 3c 49 74 65 6d 4e 6f 64 65 3e 20 68 69 73 74 6f 72 79 ...public.List<ItemNode>.history
3ec0 3b 0d 0a 0d 0a 20 20 20 20 20 20 5b 43 61 6e 42 65 4e 75 6c 6c 5d 0d 0a 20 20 20 20 20 20 70 75 ;..........[CanBeNull]........pu
3ee0 62 6c 69 63 20 73 74 61 74 69 63 20 73 74 72 69 6e 67 20 47 65 74 4c 61 74 65 73 74 42 75 69 6c blic.static.string.GetLatestBuil
3f00 64 46 72 6f 6d 4a 73 6f 6e 28 73 74 72 69 6e 67 20 6a 73 6f 6e 29 0d 0a 20 20 20 20 20 20 7b 0d dFromJson(string.json)........{.
3f20 0a 20 20 20 20 20 20 20 20 74 72 79 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 23 69 66 20 55 4e 49 .........try..........{..#if.UNI
3f40 54 59 5f 34 5f 37 20 7c 7c 20 55 4e 49 54 59 5f 35 5f 35 0d 0a 20 20 20 20 20 20 20 20 20 20 72 TY_4_7.||.UNITY_5_5............r
3f60 65 74 75 72 6e 20 4a 73 6f 6e 43 6f 6e 76 65 72 74 2e 44 65 73 65 72 69 61 6c 69 7a 65 4f 62 6a eturn.JsonConvert.DeserializeObj
3f80 65 63 74 3c 54 6f 6f 6c 62 6f 78 48 69 73 74 6f 72 79 3e 28 6a 73 6f 6e 29 2e 68 69 73 74 6f 72 ect<ToolboxHistory>(json).histor
3fa0 79 2e 4c 61 73 74 4f 72 44 65 66 61 75 6c 74 28 29 3f 2e 69 74 65 6d 2e 62 75 69 6c 64 3b 0d 0a y.LastOrDefault()?.item.build;..
3fc0 23 65 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 4a 73 6f 6e 55 74 69 6c #else............return.JsonUtil
3fe0 69 74 79 2e 46 72 6f 6d 4a 73 6f 6e 3c 54 6f 6f 6c 62 6f 78 48 69 73 74 6f 72 79 3e 28 6a 73 6f ity.FromJson<ToolboxHistory>(jso
4000 6e 29 2e 68 69 73 74 6f 72 79 2e 4c 61 73 74 4f 72 44 65 66 61 75 6c 74 28 29 3f 2e 69 74 65 6d n).history.LastOrDefault()?.item
4020 2e 62 75 69 6c 64 3b 0d 0a 23 65 6e 64 69 66 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 .build;..#endif..........}......
4040 20 20 20 20 63 61 74 63 68 20 28 45 78 63 65 70 74 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 7b ....catch.(Exception)..........{
4060 0d 0a 20 20 20 20 20 20 20 20 20 20 4c 6f 67 67 65 72 2e 57 61 72 6e 28 24 22 46 61 69 6c 65 64 ............Logger.Warn($"Failed
4080 20 74 6f 20 67 65 74 20 6c 61 74 65 73 74 20 62 75 69 6c 64 20 66 72 6f 6d 20 6a 73 6f 6e 20 7b .to.get.latest.build.from.json.{
40a0 6a 73 6f 6e 7d 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 72 json}");..........}............r
40c0 65 74 75 72 6e 20 6e 75 6c 6c 3b 0d 0a 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 eturn.null;........}......}.....
40e0 20 20 20 5b 53 65 72 69 61 6c 69 7a 61 62 6c 65 5d 0d 0a 20 20 20 20 63 6c 61 73 73 20 49 74 65 ...[Serializable]......class.Ite
4100 6d 4e 6f 64 65 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 69 6c 64 mNode......{........public.Build
4120 4e 6f 64 65 20 69 74 65 6d 3b 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 5b 53 65 72 69 61 6c Node.item;......}........[Serial
4140 69 7a 61 62 6c 65 5d 0d 0a 20 20 20 20 63 6c 61 73 73 20 42 75 69 6c 64 4e 6f 64 65 0d 0a 20 20 izable]......class.BuildNode....
4160 20 20 7b 0d 0a 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 62 75 69 6c 64 3b 0d ..{........public.string.build;.
4180 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 2f 2f 20 52 65 53 68 61 72 70 65 72 20 64 69 73 61 62 .....}........//.ReSharper.disab
41a0 6c 65 20 6f 6e 63 65 20 43 6c 61 73 73 4e 65 76 65 72 49 6e 73 74 61 6e 74 69 61 74 65 64 2e 47 le.once.ClassNeverInstantiated.G
41c0 6c 6f 62 61 6c 0d 0a 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 61 62 6c 65 5d 0d 0a 20 20 20 20 63 lobal......[Serializable]......c
41e0 6c 61 73 73 20 54 6f 6f 6c 62 6f 78 49 6e 73 74 61 6c 6c 44 61 74 61 0d 0a 20 20 20 20 7b 0d 0a lass.ToolboxInstallData......{..
4200 20 20 20 20 20 20 2f 2f 20 52 65 53 68 61 72 70 65 72 20 64 69 73 61 62 6c 65 20 6f 6e 63 65 20 ......//.ReSharper.disable.once.
4220 49 6e 63 6f 6e 73 69 73 74 65 6e 74 4e 61 6d 69 6e 67 0d 0a 20 20 20 20 20 20 70 75 62 6c 69 63 InconsistentNaming........public
4240 20 41 63 74 69 76 65 41 70 70 6c 69 63 61 74 69 6f 6e 20 61 63 74 69 76 65 5f 61 70 70 6c 69 63 .ActiveApplication.active_applic
4260 61 74 69 6f 6e 3b 0d 0a 0d 0a 20 20 20 20 20 20 5b 43 61 6e 42 65 4e 75 6c 6c 5d 0d 0a 20 20 20 ation;..........[CanBeNull].....
4280 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 73 74 72 69 6e 67 20 47 65 74 4c 61 74 65 73 ...public.static.string.GetLates
42a0 74 42 75 69 6c 64 46 72 6f 6d 4a 73 6f 6e 28 73 74 72 69 6e 67 20 6a 73 6f 6e 29 0d 0a 20 20 20 tBuildFromJson(string.json).....
42c0 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 74 72 79 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 23 69 ...{..........try..........{..#i
42e0 66 20 55 4e 49 54 59 5f 34 5f 37 20 7c 7c 20 55 4e 49 54 59 5f 35 5f 35 0d 0a 20 20 20 20 20 20 f.UNITY_4_7.||.UNITY_5_5........
4300 20 20 20 20 76 61 72 20 74 6f 6f 6c 62 6f 78 20 3d 20 4a 73 6f 6e 43 6f 6e 76 65 72 74 2e 44 65 ....var.toolbox.=.JsonConvert.De
4320 73 65 72 69 61 6c 69 7a 65 4f 62 6a 65 63 74 3c 54 6f 6f 6c 62 6f 78 49 6e 73 74 61 6c 6c 44 61 serializeObject<ToolboxInstallDa
4340 74 61 3e 28 6a 73 6f 6e 29 3b 0d 0a 23 65 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 ta>(json);..#else............var
4360 20 74 6f 6f 6c 62 6f 78 20 3d 20 4a 73 6f 6e 55 74 69 6c 69 74 79 2e 46 72 6f 6d 4a 73 6f 6e 3c .toolbox.=.JsonUtility.FromJson<
4380 54 6f 6f 6c 62 6f 78 49 6e 73 74 61 6c 6c 44 61 74 61 3e 28 6a 73 6f 6e 29 3b 0d 0a 23 65 6e 64 ToolboxInstallData>(json);..#end
43a0 69 66 0d 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 75 69 6c 64 73 20 3d 20 74 6f 6f 6c 62 if............var.builds.=.toolb
43c0 6f 78 2e 61 63 74 69 76 65 5f 61 70 70 6c 69 63 61 74 69 6f 6e 2e 62 75 69 6c 64 73 3b 0d 0a 20 ox.active_application.builds;...
43e0 20 20 20 20 20 20 20 20 20 69 66 20 28 62 75 69 6c 64 73 20 21 3d 20 6e 75 6c 6c 20 26 26 20 62 .........if.(builds.!=.null.&&.b
4400 75 69 6c 64 73 2e 41 6e 79 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e uilds.Any())..............return
4420 20 62 75 69 6c 64 73 2e 46 69 72 73 74 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 .builds.First();..........}.....
4440 20 20 20 20 20 63 61 74 63 68 20 28 45 78 63 65 70 74 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 .....catch.(Exception)..........
4460 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 4c 6f 67 67 65 72 2e 57 61 72 6e 28 24 22 46 61 69 6c 65 {............Logger.Warn($"Faile
4480 64 20 74 6f 20 67 65 74 20 6c 61 74 65 73 74 20 62 75 69 6c 64 20 66 72 6f 6d 20 6a 73 6f 6e 20 d.to.get.latest.build.from.json.
44a0 7b 6a 73 6f 6e 7d 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 {json}");..........}............
44c0 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0d 0a 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 0d 0a return.null;........}......}....
44e0 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 61 62 6c 65 5d 0d 0a 20 20 20 20 63 6c 61 73 73 20 41 63 ....[Serializable]......class.Ac
4500 74 69 76 65 41 70 70 6c 69 63 61 74 69 6f 6e 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 2f 2f tiveApplication......{........//
4520 20 52 65 53 68 61 72 70 65 72 20 64 69 73 61 62 6c 65 20 6f 6e 63 65 20 49 6e 63 6f 6e 73 69 73 .ReSharper.disable.once.Inconsis
4540 74 65 6e 74 4e 61 6d 69 6e 67 0d 0a 20 20 20 20 20 20 70 75 62 6c 69 63 20 4c 69 73 74 3c 73 74 tentNaming........public.List<st
4560 72 69 6e 67 3e 20 62 75 69 6c 64 73 3b 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 23 70 72 61 67 6d 61 20 ring>.builds;......}....#pragma.
4580 77 61 72 6e 69 6e 67 20 72 65 73 74 6f 72 65 20 30 36 34 39 0d 0a 0d 0a 20 20 20 20 70 75 62 6c warning.restore.0649........publ
45a0 69 63 20 73 74 72 75 63 74 20 52 69 64 65 72 49 6e 66 6f 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 ic.struct.RiderInfo......{......
45c0 20 20 70 75 62 6c 69 63 20 62 6f 6f 6c 20 49 73 54 6f 6f 6c 62 6f 78 3b 0d 0a 20 20 20 20 20 20 ..public.bool.IsToolbox;........
45e0 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 50 72 65 73 65 6e 74 61 74 69 6f 6e 3b 0d 0a 20 20 20 public.string.Presentation;.....
4600 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 42 75 69 6c 64 56 65 72 73 69 6f 6e 3b 0d 0a ...public.string.BuildVersion;..
4620 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 50 61 74 68 3b 0d 0a 0d 0a 20 20 20 ......public.string.Path;.......
4640 20 20 20 70 75 62 6c 69 63 20 52 69 64 65 72 49 6e 66 6f 28 73 74 72 69 6e 67 20 70 61 74 68 2c ...public.RiderInfo(string.path,
4660 20 62 6f 6f 6c 20 69 73 54 6f 6f 6c 62 6f 78 29 0d 0a 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 .bool.isToolbox)........{.......
4680 20 20 20 69 66 20 28 70 61 74 68 20 3d 3d 20 52 69 64 65 72 53 63 72 69 70 74 45 64 69 74 6f 72 ...if.(path.==.RiderScriptEditor
46a0 2e 43 75 72 72 65 6e 74 45 64 69 74 6f 72 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 .CurrentEditor)..........{......
46c0 20 20 20 20 20 20 52 69 64 65 72 53 63 72 69 70 74 45 64 69 74 6f 72 44 61 74 61 2e 69 6e 73 74 ......RiderScriptEditorData.inst
46e0 61 6e 63 65 2e 49 6e 69 74 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 42 75 69 6c 64 56 65 72 ance.Init();............BuildVer
4700 73 69 6f 6e 20 3d 20 52 69 64 65 72 53 63 72 69 70 74 45 64 69 74 6f 72 44 61 74 61 2e 69 6e 73 sion.=.RiderScriptEditorData.ins
4720 74 61 6e 63 65 2e 63 75 72 72 65 6e 74 45 64 69 74 6f 72 56 65 72 73 69 6f 6e 3b 0d 0a 20 20 20 tance.currentEditorVersion;.....
4740 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 .....}..........else............
4760 42 75 69 6c 64 56 65 72 73 69 6f 6e 20 3d 20 47 65 74 42 75 69 6c 64 4e 75 6d 62 65 72 28 70 61 BuildVersion.=.GetBuildNumber(pa
4780 74 68 29 3b 0d 0a 20 20 20 20 20 20 20 20 50 61 74 68 20 3d 20 6e 65 77 20 46 69 6c 65 49 6e 66 th);..........Path.=.new.FileInf
47a0 6f 28 70 61 74 68 29 2e 46 75 6c 6c 4e 61 6d 65 3b 20 2f 2f 20 6e 6f 72 6d 61 6c 69 7a 65 20 73 o(path).FullName;.//.normalize.s
47c0 65 70 61 72 61 74 6f 72 73 0d 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 72 65 73 65 6e 74 61 74 eparators..........var.presentat
47e0 69 6f 6e 20 3d 20 22 52 69 64 65 72 20 22 20 2b 20 42 75 69 6c 64 56 65 72 73 69 6f 6e 3b 0d 0a ion.=."Rider.".+.BuildVersion;..
4800 20 20 20 20 20 20 20 20 69 66 20 28 69 73 54 6f 6f 6c 62 6f 78 29 0d 0a 20 20 20 20 20 20 20 20 ........if.(isToolbox)..........
4820 20 20 70 72 65 73 65 6e 74 61 74 69 6f 6e 20 2b 3d 20 22 20 28 4a 65 74 42 72 61 69 6e 73 20 54 ..presentation.+=.".(JetBrains.T
4840 6f 6f 6c 62 6f 78 29 22 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 50 72 65 73 65 6e 74 61 74 69 6f oolbox)";............Presentatio
4860 6e 20 3d 20 70 72 65 73 65 6e 74 61 74 69 6f 6e 3b 0d 0a 20 20 20 20 20 20 20 20 49 73 54 6f 6f n.=.presentation;..........IsToo
4880 6c 62 6f 78 20 3d 20 69 73 54 6f 6f 6c 62 6f 78 3b 0d 0a 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 lbox.=.isToolbox;........}......
48a0 7d 0d 0a 0d 0a 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 63 6c 61 73 73 20 4c 6f }........private.static.class.Lo
48c0 67 67 65 72 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 gger......{........internal.stat
48e0 69 63 20 76 6f 69 64 20 57 61 72 6e 28 73 74 72 69 6e 67 20 6d 65 73 73 61 67 65 2c 20 45 78 63 ic.void.Warn(string.message,.Exc
4900 65 70 74 69 6f 6e 20 65 20 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 7b 0d 0a 23 69 66 20 52 eption.e.=.null)........{..#if.R
4920 49 44 45 52 5f 45 44 49 54 4f 52 5f 50 4c 55 47 49 4e 20 2f 2f 20 63 61 6e 27 74 20 62 65 20 75 IDER_EDITOR_PLUGIN.//.can't.be.u
4940 73 65 64 20 69 6e 20 63 6f 6d 2e 75 6e 69 74 79 2e 69 64 65 2e 72 69 64 65 72 0d 0a 20 20 20 20 sed.in.com.unity.ide.rider......
4960 20 20 20 20 4c 6f 67 2e 47 65 74 4c 6f 67 28 74 79 70 65 6f 66 28 52 69 64 65 72 50 61 74 68 4c ....Log.GetLog(typeof(RiderPathL
4980 6f 63 61 74 6f 72 29 2e 4e 61 6d 65 29 2e 57 61 72 6e 28 6d 65 73 73 61 67 65 29 3b 0d 0a 20 20 ocator).Name).Warn(message);....
49a0 20 20 20 20 20 20 69 66 20 28 65 20 21 3d 20 6e 75 6c 6c 29 20 0d 0a 20 20 20 20 20 20 20 20 20 ......if.(e.!=.null)............
49c0 20 4c 6f 67 2e 47 65 74 4c 6f 67 28 74 79 70 65 6f 66 28 52 69 64 65 72 50 61 74 68 4c 6f 63 61 .Log.GetLog(typeof(RiderPathLoca
49e0 74 6f 72 29 2e 4e 61 6d 65 29 2e 57 61 72 6e 28 65 29 3b 0d 0a 23 65 6c 73 65 0d 0a 20 20 20 20 tor).Name).Warn(e);..#else......
4a00 20 20 20 20 44 65 62 75 67 2e 4c 6f 67 45 72 72 6f 72 28 6d 65 73 73 61 67 65 29 3b 0d 0a 20 20 ....Debug.LogError(message);....
4a20 20 20 20 20 20 20 69 66 20 28 65 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 ......if.(e.!=.null)............
4a40 44 65 62 75 67 2e 4c 6f 67 45 78 63 65 70 74 69 6f 6e 28 65 29 3b 0d 0a 23 65 6e 64 69 66 0d 0a Debug.LogException(e);..#endif..
4a60 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 20 20 7d 0d 0a 7d 00 00 00 00 00 00 00 00 00 00 ......}......}....}..}..........
4a80 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 44 69 73 63 6f 76 65 72 79 00 00 00 15 00 00 00 ................Discovery.......
4aa0 50 61 63 6b 61 67 65 73 2e 52 69 64 65 72 2e 45 64 69 74 6f 72 00 00 00 Packages.Rider.Editor...