Pull the Agent repo and make sure it's on master, so that the relevant binary configuration will be used.
This commit is contained in:
+1
-1
Submodule lib/agent updated: 179c982bfb...b8f35df155
@@ -36,6 +36,7 @@ for (const device of package.devices) {
|
|||||||
mkdir('-p', deviceDir);
|
mkdir('-p', deviceDir);
|
||||||
chmod(644, deviceSource);
|
chmod(644, deviceSource);
|
||||||
cp(deviceSource, `${deviceDir}/firmware.hex`);
|
cp(deviceSource, `${deviceDir}/firmware.hex`);
|
||||||
|
exec(`cd ${usbDir}; git pull origin master; git checkout master`);
|
||||||
exec(`${usbDir}/user-config-json-to-bin.ts ${deviceDir}/config.bin`);
|
exec(`${usbDir}/user-config-json-to-bin.ts ${deviceDir}/config.bin`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user