Hi again. I have a cross platform application, where i'm unzipping a zip folder.
in the folder i have a xxx.app. Inside xxx.app/contents/macos/ there is another file xxx, which has no extension. originally, it should be a linux executble. but after i unzip the file through my program using a opensource sdk, it extracts as a plain text file (because there is no extention) and the app cannot be run already!.
Do you know any way around this ?
I also tried extracting using 'unzip' in the terminal, and i get the same problem.. the only method that works is extracting with the "Archive Utility" but i need to be able to extract the folder programmatically in c++..
in the folder i have a xxx.app. Inside xxx.app/contents/macos/ there is another file xxx, which has no extension. originally, it should be a linux executble. but after i unzip the file through my program using a opensource sdk, it extracts as a plain text file (because there is no extention) and the app cannot be run already!.
Do you know any way around this ?
I also tried extracting using 'unzip' in the terminal, and i get the same problem.. the only method that works is extracting with the "Archive Utility" but i need to be able to extract the folder programmatically in c++..