sciter-sdk / pysciter

Python bindings for Sciter
https://sciter.com
MIT License
396 stars 40 forks source link

running the minimal demo on OSX, there is no window visiable #15

Closed tephyrnex closed 7 years ago

tephyrnex commented 7 years ago

running the minimal demo on OSX, there is no window visiable

pravic commented 7 years ago

Sciter version? Can you run usciter/uminimal from its sdk?

tephyrnex commented 7 years ago

I had to go into the .app folder and change the permissions to allow execute, but yes, I can run all files within sciter-sdk/bin.osx

I am running the latest sciter-sdk from the GIT repo

the python script runs, and I can debug it with PyCharm...gets to the line frame.run_app() and just sits there...the app icon is present in the dock, but no window.

I can right-click the dock icon and Quit the app with no errors

pravic commented 7 years ago

Well, unfortunately it's quiet complicated for me to test something under OSX right now. May be @midiway would help.

pravic commented 7 years ago

Thanks, you are right.

@tephyrnex Fixed, see 0.4.16 version.

tephyrnex commented 7 years ago

changing line 6 fixes it frame = sciter.Window(ismain=True, uni_theme=True, size=[800,600])

pravic commented 7 years ago

Sorry, I forgot to upload the fixed version to PyPi. It creates window with default size if this parameter was not given.

You can update it now by running pip install pysciter --upgrade.