From 00acf0a43069723b23e918da16cbba6b628ebb7b Mon Sep 17 00:00:00 2001 From: Adrien Bertrand Date: Sat, 6 Jul 2024 16:05:45 +0200 Subject: [PATCH 1/2] Readme: add more details about Python scripts conversion. --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 70bb79b..519ca9f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ Luna 2.1 ======== -Luna is a portable command-line converter of Lua and Python programs to TNS TI-Nspire documents, compatible with OS 3.0.2 and later. +Luna is a portable command-line converter of Lua and Python scripts to TNS TI-Nspire documents. +Lua scripts require OS 3.0.2 or later, and Python scripts require CX II OS 5.2 or later. It can also be used to convert any TI-Nspire problems in XML format to TNS documents. @@ -10,10 +11,11 @@ It can also be used to convert any TI-Nspire problems in XML format to TNS docum * Lua program conversion: `luna INFILE.lua OUTFILE.tns` * Problem conversion: `luna Problem1.xml OUTFILE.tns` * Multiple files: `luna Document.xml Problem1.xml [Problem2.xml...] OUTFILE.tns` -* Python conversion: `luna INFILE.py OUTFILE.tns` +* Python conversion: `luna InFile1.py [InFile2.py...] OUTFILE.tns` If the input is `-`, it reads the file from the standard input. -Make sure to encode your Lua or Problem file in UTF-8 if it contains special characters. You can also pack arbitrary files like images into the TNS. +Make sure to encode your Lua or Problem file in UTF-8 if it contains special characters. You can also pack arbitrary files like images into the TNS. +For Python, the first script will be the one that shows when the TNS document is opened. ## Bugs, feedback... From 8b19493d6e725df63358a49a9974b3d7e443f203 Mon Sep 17 00:00:00 2001 From: Adrien Bertrand Date: Sat, 6 Jul 2024 23:50:28 +0200 Subject: [PATCH 2/2] readme: remove mention of FileSaver.js as we don't use it anymore. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 519ca9f..c8cf669 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,7 @@ Please use the GitHub [issue tracker](https://github.com/ndless-nspire/Luna/issu Luna is licensed under the Mozilla Public License v1.1. Luna is based on a derived version of MiniZip. See minizip-1.1/MiniZip64_info.txt for more information. -Luna includes cryptographic software written by Eric Young (eay@cryptsoft.com), see the DES.* files for more information. -The JS version uses FileSaver.js, MIT-licensed. +Luna includes cryptographic software written by Eric Young (eay@cryptsoft.com), see the DES.* files for more information. ## Building it yourself