the following code works perfectly with example 2 and creates a application bundle named "Compile2App.app". The corresponding folder structure is like the bundle folder (= Mac like
Code: Select all
; Example 1
; FilePath.s = "/Users/Klaus/Programmieren/purebasic_Code/__Fertige_Projekte/MacSkeleton/Contents/Main.pb"
; NameFile.s = "MacSkeleton"
; AppPath.s = "/Users/Klaus/Programmieren/purebasic_Code/__Fertige_Projekte/"
; Example 2
FilePath.s = "/Users/Klaus/Programmieren/purebasic_Code/__Aktuelle_Projekte/Compile2App/Contents/Compile2App.pb"
NameFile.s = "Compile2App"
AppPath.s = "/Users/Klaus/Programmieren/purebasic_Code/__Aktuelle_Projekte/"
RunProgram(#PB_Compiler_Home + "compilers/pbcompiler", FilePath + " -e " + NameFile + ".app", AppPath, #PB_Program_Wait|#PB_Program_Hide)
And very interesting: other sources with same conditions like example 2 (Mac like folder structure ) are not compiled likewise.
I don't understand what happens.
Or is this a bug? Then this post belongs into the bug reports.
