Copying files depending on platform
Posted: Wed Feb 17, 2016 5:30 pm
Hi,
This one which has occurred to me today. An app I am working on relies on ExifTool to be present. As I want constant results on Windows and Mac platforms, I’m including the most recent version of each.
So I am including a folder called Dependencies in the Copy Files pane of Standalone Application Settings. I have the Mac version of ExifTool in Mac folder, and the Windows version in a Win folder:
/Dependencies
/Mac
/ExifTool (actually, this is a whole heap of folders and files, but for simplicity I’ll just name the main file)
/Win
/ExifTool.exe
OK, so the obvious thing here is that if you have the Mac version of the app, the Window version comes along too, and vice versa. Is there a way to just have the Mac folder included in the Mac build, and the Win folder included just for the Window build?
This one which has occurred to me today. An app I am working on relies on ExifTool to be present. As I want constant results on Windows and Mac platforms, I’m including the most recent version of each.
So I am including a folder called Dependencies in the Copy Files pane of Standalone Application Settings. I have the Mac version of ExifTool in Mac folder, and the Windows version in a Win folder:
/Dependencies
/Mac
/ExifTool (actually, this is a whole heap of folders and files, but for simplicity I’ll just name the main file)
/Win
/ExifTool.exe
OK, so the obvious thing here is that if you have the Mac version of the app, the Window version comes along too, and vice versa. Is there a way to just have the Mac folder included in the Mac build, and the Win folder included just for the Window build?