CraftOS-PC v2.6.2
Happy Halloween! This release is unfortunately timed because a large number of spooky bugs are no longer present. However, this is also a treat for everyone who was having problems, so don't be tricked by the lack of spookiness.
- Bumped structure version to 6
- New fields in
Computer:openWebsocketServers
- New fields in
configuration:dropFilePath
- New fields in
PluginFunctions:registerPeripheralFn
- New fields in
- Added ability to drop files to paste their paths instead of copying the file
- Enabled using
dropFilePathconfig setting
- Enabled using
- Added single-window mode
- Displays all computers on the same window
- Activated with
--singleflag on CLI - Ctrl+Alt+Left/Right (Cmd+Option+L/R on Mac) to switch windows in GUI
- Added ability to copy screenshots on Linux (X11, Wayland)
- Added
registerPeripheralFncapability to allow passing a function objectregisterPeripheralis now deprecated
- Added brand-new UI on mobile devices (beta only)
- Redesigned UI with navigation bar & hotkey toolbar above keyboard
- Added support for computer, debugger, and monitor peripherals
- Change windows using the arrows in the navigation bar
- Automatic shell resizing makes sure you can see what you type
- Arrow key gestures now work on Android as well as iOS
- Added new launch screen (iOS)
- The new UI is only available in beta builds at the moment due to bugginess
- Improved WebSocket server functionality
- Servers can now be properly opened by calling
http.websocketwith a port argument - Multiple clients to the same server now get unique identifiers as userdata values
- Added
websocket_server_closedevent to notify when an opened WebSocket server is no longer accepting connections
- Servers can now be properly opened by calling
- Replaced Windows nightly builds with CI build artifacts
- Windows builds will be available within minutes of the latest commit being pushed
- Nightly builds for Windows will no longer be posted on the website
- Go to https://github.com/MCJack123/craftos2/actions for the latest build
- CLI mode now uses Unicode characters for non-ASCII characters
- Drawing characters are approximated using Braille characters; this may not show up well on a real terminal
- Improved quality of CCEmuX plugin
- WebSocket text messages are now sent in UTF-8
- Improved Rednet deduplication efficiency (part of CC:T 1.99.0)
- cash no longer saves duplicate history entries
- Deprecated
peripheral::updateas it was never used - Fixed crashing whenever opening a debugger (from crash reports)
- Fixed a crash when comparing two identical substrings (#218)
- Fixed a crash caused by force-closing a computer after it's already gone (from crash reports)
- Fixed a crash in
term.drawPixelswhen passing a negative value (#224) - Fixed occasional crashes from
get_compcache duplication (from crash reports) - Fixed crashes and incorrect behavior when using
string.formatwith substrings (from crash reports: Creepi) - Fixed strings in modem messages not being sent properly on Linux (BytecodeEli)
- Fixed binary support in WebSocket messages
- Fixed an issue causing input to stop working in raw mode on Linux
- Fixed stack overflow when an error handler attempts to yield (from crash reports)
- Fixed a bug causing old
osfunctions to be exposed (!) - Fixed an incorrect error message when concatenating a concatenated string or substring with a value of an invalid type (9551)
- Fixed an issue with completion for boolean config settings
This is the first release with a delta installer (Windows only). This should speed up updates from v2.6.1 as it doesn't have to download all of the libraries. If you're downloading from GitHub, please do not get the CraftOS-PC-Setup_Delta-v2.6.1.exe installer unless you already have v2.6.1 installed.
Due to the notes about the new mobile UIs above, the Android build is still v2.6.1. If you want to test out v2.6.2 with the new UI, please go to the beta build page to download it separately. This applies to iOS as well.
If you need help using CraftOS-PC, I'm available on the CraftOS-PC Discord server as @JackMacWindows#9776. Feel free to ping me if you need anything.