I got a CPM.js located in C:\Program Files\Adobe\Adobe Captivate 2019 x64\HTML\assets\js.
I tried to update the index.html file to use the above file and put the following line before /head:
However, when I look at the CPM.js file that is produced after publishing, I do not see the custom CPM.js file change reflected.
I used to have this working, but needed to do a reinstall and forgot how to make this work again. Any pointers would be greatly appreciated.
I've only copied and pasted any custom CPM.js into my final published project. I've never tried to have a custom index.html file point to a custom CPM.js file. It's more of a manual process but copying pasting the edited version, although manual, works fine.
Just change the name, it is more than likely getting overwritten when Captivate creates it's CPM.js