It looks like Tauri 2.7.0 had a breaking change, as the argument for js_init_script
changed from String
to impl Into<String>
in a minor release which has resulted in Tauri Plugin Midi failing to compile. This PR fixes it in a backwards compatible way.