You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release Notes
Fixed
codea pull writes binary files (images, sounds, ROMs) as the original bytes
instead of the base64 text Codea sends them as.
codea push sends binary files intact. A binary file that happened to be
valid UTF-8 used to be sent as text and was silently not written.
Changed
pull and push transfer every file as base64 when Codea supports it (the encoding argument of the readFile and writeFile tools). With older Codea
builds they fall back to choosing text or base64 by extension, as Codea does.
codea screen-size [preset] reads or sets the screen size of the running
project's viewer, so a project can be checked at another aspect ratio or
orientation. Presets are match-display, iphone-portrait, iphone-landscape, tv and square. Reading it also reports the viewer's
current pixel size, taken from its laid-out bounds rather than the preset's
nominal size. Needs a Codea build that
provides the setScreenSize and getScreenSize Air Code tools.