Oh Mann, das mit CopyFileTo ist schon ziemlich Kacke.
Ist das schon als Bug bei RS bekannt? Sowas sollten die doch wirklich
sofort fixen.

Allerdings: Warum sind die Files im bundle nicht komprimiert? Das ist
doch Platzverschwendung.

On Wed, Mar 16, 2011 at 09:13, Stefan Sicurella <[email protected]> wrote:
> Hi,
>
> nachdem meine App ständig abgelehnt wurde wegen:
>
>        • 2.30 Apps that do not comply with the Mac OS X File System 
> documentation will be rejected
>
> habe ich nun alle CopyFileTo, die im Bundle etwas kopieren durch Shell 
> Kommandos ersetzt und nun wurde meine App endlich zugelassen.
>
> also so:
> dest=SpecialFolder.ApplicationData
> dest=dest.Child(app.ExecutableFile.Name)
> datei=app.ExecutableFile.Parent.parent.Child("Resources").Child("Daten")
> s=new shell
> shell_string="cp -pR "+datei.ShellPath+" "+dest.ShellPath
> s.Execute shell_string
>
>
> Gruß
>
>
> Stefan
>



-- 
Thomas Tempelmann, http://www.tempel.org/
Follow me on Twitter: http://twitter.com/#!/tempelorg

Antwort per Email an