You already have the dual "Auto" publishing option in Tourweaver.
It is the first in the publish list "Automatic Flash/HTML5".
Publish using this option and use the HTML file in the Auto folder. Upload everything "without" changing file structures.
If Flash is detected Flash will be served, If iPod, iPhone or iPad is detected the HTML5 for Safari will be served. All automatically.