Hello.
First at all, excuse me for my bad English
I'm rookie with PureBasic (and in this forum and it's possible that my doubt was commented in other thread but I can't find it...
My doubt is: I'm using PB 5.73 with MacOS and, when I generate a new .exe, the date and time attributes of generate file are correct, but when I update the file with new compilations, the attribute time of file is updated with a wrong value. I have a .pb updated at 9:53h and the .exe was generated at same time, but .exe it shows 8:48h
I tested this in WinXP and the .exe time is correct, so this can be a problem with MacOS version (I didn't this test in Linux)
Someone more has detected this issue?
Kind regards and thanks a lot in advance!
Wrong date of 'exe' generated in MacOS with PB573
Wrong date of 'exe' generated in MacOS with PB573
Best regards,
Manpro
Manpro
Re: Wrong date of 'exe' generated in MacOS with PB573
Wellcome
I know that
That's because an app under MacOS is a folder and it is not created anew.
If you open the folder (show package contents) and look in the folder /Contents/MacOS, the application is up to date.
Solution: Delete the app first.
No Bug!
Date of Program:
I know that
That's because an app under MacOS is a folder and it is not created anew.
If you open the folder (show package contents) and look in the folder /Contents/MacOS, the application is up to date.
Solution: Delete the app first.
No Bug!
Date of Program:
Code: Select all
prg.s = ProgramFilename()
date = GetFileDate(prg, #PB_Date_Modified)
Debug FormatDate("%YYYY.%MM.%DD-%HH:%II:%SS", date)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Wrong date of 'exe' generated in MacOS with PB573
Thank you very much for the welcome and the quick response.
Of course you are right, I forgot that an .app file is, as you say, a directory.
Thanks a lot!
Of course you are right, I forgot that an .app file is, as you say, a directory.
Thanks a lot!
Best regards,
Manpro
Manpro