Skip to content

Commit 95f8f78

Browse files
committed
Quick steam fix.
1 parent 60284ed commit 95f8f78

5 files changed

Lines changed: 4 additions & 12 deletions

File tree

.github/workflows/build-be.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ jobs:
155155

156156
collect:
157157
runs-on: ubuntu-latest
158-
if: github.ref == 'refs/heads/master'
159158
needs:
160159
- build-windows
161160
- build-linux
@@ -183,7 +182,7 @@ jobs:
183182
uses: marvinpinto/action-automatic-releases@latest
184183
with:
185184
repo_token: "${{ secrets.GITHUB_TOKEN }}"
186-
automatic_release_tag: "ci"
185+
automatic_release_tag: "${{ env.doorstop_version }}"
187186
prerelease: true
188-
title: "CI build"
187+
title: "latest ${{ env.doorstop_version }}"
189188
files: dist/*.zip

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Tools
22
tools/
3+
.idea
34

45
# Xmake cache
56
.xmake/

info.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function build_info()
77
major = 4,
88
minor = 4,
99
patch = 1,
10-
release = "",
10+
release = "steamfix",
1111
},
1212
}
1313
end

src/bootstrap.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ bool_t mono_debug_init_called = FALSE;
1212
bool_t mono_is_net35 = FALSE;
1313

1414
void mono_doorstop_bootstrap(void *mono_domain) {
15-
if (getenv(TEXT("DOORSTOP_INITIALIZED"))) {
16-
LOG("DOORSTOP_INITIALIZED is set! Skipping!");
17-
return;
18-
}
1915
setenv(TEXT("DOORSTOP_INITIALIZED"), TEXT("TRUE"), TRUE);
2016

2117
mono.thread_set_main(mono.thread_current());

src/windows/config.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@ static inline void init_cmd_args() {
171171

172172
static inline void init_env_vars() {
173173
char_t *disable_env = getenv(TEXT("DOORSTOP_DISABLE"));
174-
if (!config.ignore_disabled_env && disable_env != 0) {
175-
LOG("DOORSTOP_DISABLE is set! Disabling Doorstop!");
176-
config.enabled = FALSE;
177-
}
178174
shutenv(disable_env);
179175
}
180176

0 commit comments

Comments
 (0)