git: Disable .NET scripts in AppImage since it hangs on startup
This commit is contained in:
parent
18dd754b31
commit
ffd3efe5fa
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -363,11 +363,6 @@ jobs:
|
|||||||
sudo chmod +x /usr/local/bin/appimagetool
|
sudo chmod +x /usr/local/bin/appimagetool
|
||||||
sudo pip3 install git+https://github.com/iTrooz/appimage-builder@dpkg-package-versions
|
sudo pip3 install git+https://github.com/iTrooz/appimage-builder@dpkg-package-versions
|
||||||
|
|
||||||
- name: ⬇️ Install .NET
|
|
||||||
uses: actions/setup-dotnet@v3
|
|
||||||
with:
|
|
||||||
dotnet-version: '7.0.x'
|
|
||||||
|
|
||||||
- name: 📜 Set version variable
|
- name: 📜 Set version variable
|
||||||
run: |
|
run: |
|
||||||
echo "IMHEX_VERSION=`cat VERSION`" >> $GITHUB_ENV
|
echo "IMHEX_VERSION=`cat VERSION`" >> $GITHUB_ENV
|
||||||
|
@ -50,7 +50,7 @@ namespace hex::script::loader {
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
void *loadLibrary(const char_t *path) {
|
void *loadLibrary(const char_t *path) {
|
||||||
void *h = dlopen(path, RTLD_LAZY | RTLD_LOCAL);
|
void *h = dlopen(path, RTLD_LAZY);
|
||||||
return h;
|
return h;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -135,14 +135,8 @@ namespace hex::script::loader {
|
|||||||
|
|
||||||
|
|
||||||
bool DotNetLoader::initialize() {
|
bool DotNetLoader::initialize() {
|
||||||
try {
|
if (!loadHostfxr()) {
|
||||||
AT_FIRST_TIME {
|
log::error("Failed to initialize dotnet loader, could not load hostfxr");
|
||||||
if (!loadHostfxr()) {
|
|
||||||
throw std::runtime_error("Failed to load hostfxr");
|
|
||||||
}
|
|
||||||
};
|
|
||||||
} catch (const std::exception &e) {
|
|
||||||
log::error("Failed to initialize DotNetLoader: {}", e.what());
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user