Rebase on tessesframework 0.0.12, add offline updating of the shell
Build and Deploy on Tag / update-tap (push) Successful in 11s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x64:latest, x86_64-linux-gnu, amd64, asrock) (push) Successful in 1m19s
Build and Deploy on Tag / 🔨 Build for PowerPC (push) Successful in 1m22s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm64:latest, aarch64-linux-gnu, arm64, asrock) (push) Successful in 1m22s
Build and Deploy on Tag / docker (push) Successful in 2m0s
Build and Deploy on Tag / windows (push) Successful in 2m32s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-riscv64:latest, riscv64-linux-gnu, riscv64, msi-walmart) (push) Successful in 2m42s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x86:latest, i386-linux-gnu, 386, msi-walmart) (push) Successful in 2m49s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm:latest, arm-linux-gnueabihf, arm7, msi-walmart) (push) Successful in 2m50s

This commit is contained in:
2026-11-21 19:58:55 -06:00
parent 41e1ac2592
commit 33ad13ca2b
6 changed files with 37 additions and 19 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ on:
- 'v*' - 'v*'
env: env:
TF_VERSION: 0.0.11 TF_VERSION: 0.0.12
PACKAGE_AND_BREW: ${{ secrets.PACKAGE_AND_BREW }} PACKAGE_AND_BREW: ${{ secrets.PACKAGE_AND_BREW }}
VERSION: ${{ gitea.ref_name }} VERSION: ${{ gitea.ref_name }}
RESULT_IMAGE_NAME: tesses50/crosslang RESULT_IMAGE_NAME: tesses50/crosslang
+3
View File
@@ -1,5 +1,8 @@
# Changelog # Changelog
## 0.0.14
Rebase on tessesframework 0.0.12, add offline updating of the shell
## 0.0.13 ## 0.0.13
Fix the event loop so it isn't 100% CPU utilization Fix the event loop so it isn't 100% CPU utilization
+1 -1
View File
@@ -5,7 +5,7 @@ set(CROSSLANG_STATIC ${TESSESFRAMEWORK_STATIC} CACHE INTERNAL "For CrossLang" FO
FetchContent_Declare( FetchContent_Declare(
TessesFramework TessesFramework
GIT_REPOSITORY https://git.tesses.org/tesses50/tessesframework.git GIT_REPOSITORY https://git.tesses.org/tesses50/tessesframework.git
GIT_TAG 7649a1ad4c4fc230c96bcf044fd36f6cef1671be GIT_TAG f6f81bf9099e672300a0cd51c3cb0f1c2d1e54e7
) )
set(TESSESFRAMEWORK_ENABLE_EXAMPLES OFF) set(TESSESFRAMEWORK_ENABLE_EXAMPLES OFF)
FetchContent_MakeAvailable(TessesFramework) FetchContent_MakeAvailable(TessesFramework)
+1 -1
View File
@@ -1,3 +1,3 @@
set(CROSSLANG_MAJOR_VERSION 0) set(CROSSLANG_MAJOR_VERSION 0)
set(CROSSLANG_MINOR_VERSION 0) set(CROSSLANG_MINOR_VERSION 0)
set(CROSSLANG_PATCH_VERSION 13) set(CROSSLANG_PATCH_VERSION 14)
+13
View File
@@ -112,6 +112,7 @@ TObject CrossLangShell(GCList &ls, std::vector<std::string> &argv) {
auto subdir = auto subdir =
std::make_shared<Tesses::Framework::Filesystem::SubdirFilesystem>( std::make_shared<Tesses::Framework::Filesystem::SubdirFilesystem>(
Tesses::Framework::Filesystem::LocalFS, dir); Tesses::Framework::Filesystem::LocalFS, dir);
if (argv.size() == 2) {
HttpRequest req; HttpRequest req;
req.followRedirects = true; req.followRedirects = true;
req.url = "https://redirect.tesses.net/crosslang-shell"; req.url = "https://redirect.tesses.net/crosslang-shell";
@@ -129,7 +130,19 @@ TObject CrossLangShell(GCList &ls, std::vector<std::string> &argv) {
<< std::endl; << std::endl;
return (int64_t)1; return (int64_t)1;
} }
} else {
if (Tesses::Framework::Filesystem::LocalFS->FileExists(argv[2])) {
auto strm = Tesses::Framework::Filesystem::LocalFS->OpenFile(
argv[2], "rb");
CrossLang::CrossArchiveExtract(strm, subdir);
return (int64_t)0; return (int64_t)0;
} else {
Tesses::Framework::Console::WriteView("Unable to open file \"");
Tesses::Framework::Console::WriteView(argv[2]);
Tesses::Framework::Console::WriteLineView("\"");
return (int64_t)1;
}
}
} }
if (!Tesses::Framework::Filesystem::LocalFS->RegularFileExists(filename)) { if (!Tesses::Framework::Filesystem::LocalFS->RegularFileExists(filename)) {
+3 -1
View File
@@ -85,7 +85,9 @@ int main(int argc, char **argv) {
"file, used to be crossdump"); "file, used to be crossdump");
Console::WriteLine("vm: interpert bytecode file, " Console::WriteLine("vm: interpert bytecode file, "
"used to be crossvm"); "used to be crossvm");
Console::WriteLine("update-shell: update the shell"); Console::WriteLine(
"update-shell: update the shell (can update offline now "
"if you pass a crvm as another argument)");
Console::WriteLine( Console::WriteLine(
"configdir: print the config directory"); "configdir: print the config directory");