Add remote support instruction

This commit is contained in:
mikx 2023-10-31 20:30:36 -04:00
parent 5c6e496688
commit f21716fa20
1 changed files with 11 additions and 0 deletions

11
AddRemoteSupport.txt Normal file
View File

@ -0,0 +1,11 @@
You can do this:
Clone the repo, change every occurance of com.exension.hwinfo to something else, e.g., com.exension.hwinfor0 in *.go files, change C.HWiNFO_SENSORS_MAP_FILE_NAME2 to "Global\\HWiNFO_SENS_SM2_REMOTE_0" (line 68, with quotation marks) in the file internal\hwinfo\shmem\shmem.go, and compile using:
go build -o ./com.exension.hwinfo.sdPlugin/hwinfo.exe ./cmd/hwinfo_streamdeck_plugin
go build -o ./com.exension.hwinfo.sdPlugin/hwinfo-plugin.exe ./cmd/hwinfo-plugin
You can find the two compiled .exe files in the com.exension.hwinfo.sdPlugin folder.
Go to %AppData%\Elgato\StreamDeck\Plugins\ folder, make a copy of com.exension.hwinfo.sdPlugin folder, rename it to com.exension.hwinfor0.sdPlugin, copy and overwrite the two .exe files, and change com.exension.hwinfo.reading (line 21), HWiNFO (line 9) to com.exension.hwinfor0.reading, HWiNFO-R0 respectively in the manifest.json file.
Restart the Stream Deck software. Now you may see the HWiNFO-R0 plugin and monitor the first remote machine you connected to in HWiNFO64. If you want to monitor e.g., the second remote machine, you can try changing the 0 mentioned above to 1 and repeat these steps. I didn't test this but it should probably work.