Skip to content

Commit

Permalink
Quick steam fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
CptMoore committed Jun 13, 2024
1 parent d061d7e commit 8150fae
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-be.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ jobs:

collect:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
needs:
- build-windows
- build-linux
Expand Down Expand Up @@ -171,7 +170,7 @@ jobs:
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "ci"
automatic_release_tag: "${{ env.doorstop_version }}"
prerelease: true
title: "CI build"
title: "latest ${{ env.doorstop_version }}"
files: dist/*.zip
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Tools
tools/
.idea

# Xmake cache
.xmake/
Expand Down
2 changes: 1 addition & 1 deletion info.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function build_info()
major = 4,
minor = 3,
patch = 0,
release = "",
release = "steamfix",
},
}
end
4 changes: 0 additions & 4 deletions src/bootstrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ bool_t mono_debug_init_called = FALSE;
bool_t mono_is_net35 = FALSE;

void mono_doorstop_bootstrap(void *mono_domain) {
if (getenv(TEXT("DOORSTOP_INITIALIZED"))) {
LOG("DOORSTOP_INITIALIZED is set! Skipping!");
return;
}
setenv(TEXT("DOORSTOP_INITIALIZED"), TEXT("TRUE"), TRUE);

mono.thread_set_main(mono.thread_current());
Expand Down
4 changes: 0 additions & 4 deletions src/windows/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,6 @@ static inline void init_cmd_args() {

static inline void init_env_vars() {
char_t *disable_env = getenv(TEXT("DOORSTOP_DISABLE"));
if (!config.ignore_disabled_env && disable_env != 0) {
LOG("DOORSTOP_DISABLE is set! Disabling Doorstop!");
config.enabled = FALSE;
}
shutenv(disable_env);
}

Expand Down

0 comments on commit 8150fae

Please sign in to comment.