cloudmatrix / esky

an auto-update framework for frozen python apps
BSD 3-Clause "New" or "Revised" License
362 stars 74 forks source link

update faq #85

Closed timeyyy closed 9 years ago

timeyyy commented 9 years ago

New additions to the faq, as far as i know wikis cannot be pulled so im just pasting the additions here

How do i include data files in Esky?

setup(name="MyApp",
    data_files=[('', ['MyApp.xib']),
                ('files', ['file1', 'file2']),
                ('img', glob(r'.\img\*.*'))
               ]
    ...

Why is Esky not finding frozen versions on my server?

Check firewall/antivirus are not blocking the port/program.

Why does esky create 2 executables?

Esky uses a bootstrapping mechanism that keeps the app safe in the face of failed or partial updates.

The top level executable is the one you should be running, it does all the business of managing what version to run. Once it has decided what to run it will run the correct version.

How do i hide the console window?

from esky.bdist_esky import Executable  
executables = [Executable('ham.py', icon='spam.ico', gui_only=True)]
setup(name="hellow world",
    version = '0.1',
    scripts = executables)
rfk commented 9 years ago

:+1:

Do you have access to make these edits directly in the wiki? If not, I'll happily figure out how to grant it.

timeyyy commented 9 years ago

oh, i wasn't aware that i had write access to the wiki.