From 9124bb9c511751a44656331f3d73dd8501c66fa0 Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 10:40:55 -0600 Subject: [PATCH 01/15] debuggin --- src/main/GameReader.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/GameReader.ts b/src/main/GameReader.ts index b4c8d0f91..05073632e 100644 --- a/src/main/GameReader.ts +++ b/src/main/GameReader.ts @@ -129,6 +129,7 @@ export default class GameReader { getInstalledMods(filePath: string): AmongusMod { const pathLower = filePath.toLowerCase(); + alert(filepath); if (pathLower.includes('?\\volume')) { return modList[0]; } else { From 53ebe0c13f3963e169f3946426ea9e345acab17e Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 10:45:01 -0600 Subject: [PATCH 02/15] Update GameReader.ts --- src/main/GameReader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/GameReader.ts b/src/main/GameReader.ts index 05073632e..61948b89d 100644 --- a/src/main/GameReader.ts +++ b/src/main/GameReader.ts @@ -129,7 +129,7 @@ export default class GameReader { getInstalledMods(filePath: string): AmongusMod { const pathLower = filePath.toLowerCase(); - alert(filepath); + alert(filePath); if (pathLower.includes('?\\volume')) { return modList[0]; } else { From 0885ed88c30dd3ac4da5771053ddc439bc8cde75 Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 10:56:57 -0600 Subject: [PATCH 03/15] maybe will fix vs issue by it looking for a newer version or smth IDK --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3320ee78..293102b0a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v4 with: - node-version: 16.14.2 + node-version: 24.13.0 - name: Cache Node Modules id: node-cache From 098c35fe27d4f21acd13ea4207b7afb33ad6068f Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 11:00:52 -0600 Subject: [PATCH 04/15] Update Node.js version to 20.20.0 in build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 293102b0a..3aaefed0e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v4 with: - node-version: 24.13.0 + node-version: 20.20.0 - name: Cache Node Modules id: node-cache From c391d82dc7a321db230ee5e64990c5f221b917ed Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 11:05:10 -0600 Subject: [PATCH 05/15] last resort by going back to old node js version and then going to old windows server version to see if windows build rahhh --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3aaefed0e..8948346ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: include: - - os: windows-latest + - os: windows-2022 dist: 'dist' installer: 'dist/Better-CrewLink Setup*.exe' - os: ubuntu-latest @@ -34,7 +34,7 @@ jobs: - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v4 with: - node-version: 20.20.0 + node-version: 16.14.2 - name: Cache Node Modules id: node-cache From f342dc03eaacb26cacdf2d2559d58e03ff7a642b Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 11:20:02 -0600 Subject: [PATCH 06/15] try to fix angry windows --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8948346ec..5baa68c2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,9 @@ jobs: - name: Install Dependencies if: steps.node-cache.outputs.cache-hit != 'true' - run: yarn install --cache-folder .yarn --network-timeout 100000 + run: | + python -m pip install setuptools + yarn install --cache-folder .yarn --network-timeout 100000 - name: Build App run: yarn run ${{ matrix.dist }} --publish never From 3d08a5398230c363f06778abbbedcc447dbed1d2 Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 11:47:29 -0600 Subject: [PATCH 07/15] yeah just this --- src/main/GameReader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/GameReader.ts b/src/main/GameReader.ts index 61948b89d..06f220e86 100644 --- a/src/main/GameReader.ts +++ b/src/main/GameReader.ts @@ -129,7 +129,7 @@ export default class GameReader { getInstalledMods(filePath: string): AmongusMod { const pathLower = filePath.toLowerCase(); - alert(filePath); + console.log(filePath); if (pathLower.includes('?\\volume')) { return modList[0]; } else { From 63868a5d5952c4b05be430fc42cfd8942698d9f9 Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 11:59:57 -0600 Subject: [PATCH 08/15] install python deps in different step Removed redundant Python dependency installation step. --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5baa68c2d..f9427b41d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,12 +45,12 @@ jobs: .yarn key: ${{ runner.os }}-3-${{ hashFiles('yarn.lock')}} + - name: Install Python Dependencies + run: python -m pip install setuptools - name: Install Dependencies if: steps.node-cache.outputs.cache-hit != 'true' - run: | - python -m pip install setuptools - yarn install --cache-folder .yarn --network-timeout 100000 + run: yarn install --cache-folder .yarn --network-timeout 100000 - name: Build App run: yarn run ${{ matrix.dist }} --publish never From 49d81c62c53c7360df35ab3e9a74d94036725fc4 Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 12:03:44 -0600 Subject: [PATCH 09/15] for testing! --- src/main/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/index.ts b/src/main/index.ts index e1cec42f2..4cb39538d 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -19,7 +19,7 @@ import { gameReader } from './hook'; import { GenerateHat } from './avatarGenerator'; const args = require('minimist')(process.argv); // eslint-disable-line const isDevelopment = process.env.NODE_ENV !== 'production'; -const devTools = (isDevelopment || args.dev === 1) && true; +const devTools = (isDevelopment || args.dev === 1) || true; const appVersion: string = isDevelopment? "DEV" : autoUpdater.currentVersion.version; declare global { From 07907d605d557df3f615e51536c44288e4d70988 Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 12:13:46 -0600 Subject: [PATCH 10/15] try console logging this --- src/main/GameReader.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/GameReader.ts b/src/main/GameReader.ts index 06f220e86..f05f95852 100644 --- a/src/main/GameReader.ts +++ b/src/main/GameReader.ts @@ -102,6 +102,7 @@ export default class GameReader { this.loadedMod = this.getInstalledMods(this.gamePath); await this.initializeoffsets(); this.sendIPC(IpcRendererMessages.NOTIFY_GAME_OPENED, true); + console.log(this) break; } catch (e) { console.log('ERROR:', e); From 095586a4f74fe6d020216e43fcbe34a1070857b0 Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 12:25:34 -0600 Subject: [PATCH 11/15] add linux fix for mod hopefully --- src/main/GameReader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/GameReader.ts b/src/main/GameReader.ts index f05f95852..cc46ca7d5 100644 --- a/src/main/GameReader.ts +++ b/src/main/GameReader.ts @@ -98,7 +98,7 @@ export default class GameReader { this.pid = processOpen.th32ProcessID; this.amongUs = openProcess(processOpen.th32ProcessID); this.gameAssembly = findModule('GameAssembly.dll', this.amongUs.th32ProcessID); - this.gamePath = getProcessPath(this.amongUs.handle); + this.gamePath = this.is_linux ? `/proc/${this.pid}/cwd/` : getProcessPath(this.amongUs.handle); this.loadedMod = this.getInstalledMods(this.gamePath); await this.initializeoffsets(); this.sendIPC(IpcRendererMessages.NOTIFY_GAME_OPENED, true); From 02a43cfc48d6a1c2d8848ce273e8cb2a5f0f5279 Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 12:31:17 -0600 Subject: [PATCH 12/15] add file i forgor i have to add that --- src/main/GameReader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/GameReader.ts b/src/main/GameReader.ts index cc46ca7d5..92970e66e 100644 --- a/src/main/GameReader.ts +++ b/src/main/GameReader.ts @@ -98,7 +98,7 @@ export default class GameReader { this.pid = processOpen.th32ProcessID; this.amongUs = openProcess(processOpen.th32ProcessID); this.gameAssembly = findModule('GameAssembly.dll', this.amongUs.th32ProcessID); - this.gamePath = this.is_linux ? `/proc/${this.pid}/cwd/` : getProcessPath(this.amongUs.handle); + this.gamePath = this.is_linux ? `/proc/${this.pid}/cwd/Among Us.exe` : getProcessPath(this.amongUs.handle); this.loadedMod = this.getInstalledMods(this.gamePath); await this.initializeoffsets(); this.sendIPC(IpcRendererMessages.NOTIFY_GAME_OPENED, true); From 8b68f274a99e0aea285059f67876b9484f06831e Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 12:51:09 -0600 Subject: [PATCH 13/15] delete debuggin stuff --- src/main/GameReader.ts | 8 +++----- src/main/index.ts | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/GameReader.ts b/src/main/GameReader.ts index 92970e66e..0a264cf3d 100644 --- a/src/main/GameReader.ts +++ b/src/main/GameReader.ts @@ -98,11 +98,10 @@ export default class GameReader { this.pid = processOpen.th32ProcessID; this.amongUs = openProcess(processOpen.th32ProcessID); this.gameAssembly = findModule('GameAssembly.dll', this.amongUs.th32ProcessID); - this.gamePath = this.is_linux ? `/proc/${this.pid}/cwd/Among Us.exe` : getProcessPath(this.amongUs.handle); + this.gamePath = this.is_linux ? `/proc/${this.pid}/cwd${getProcessPath(this.amongUs.handle)}` : getProcessPath(this.amongUs.handle); this.loadedMod = this.getInstalledMods(this.gamePath); await this.initializeoffsets(); - this.sendIPC(IpcRendererMessages.NOTIFY_GAME_OPENED, true); - console.log(this) + this.sendIPC(IpcRendererMessages.NOTIFY_GAME_OPENED, true);\ break; } catch (e) { console.log('ERROR:', e); @@ -129,8 +128,7 @@ export default class GameReader { } getInstalledMods(filePath: string): AmongusMod { - const pathLower = filePath.toLowerCase(); - console.log(filePath); + const pathLower = filePath.toLowerCase();\\ if (pathLower.includes('?\\volume')) { return modList[0]; } else { diff --git a/src/main/index.ts b/src/main/index.ts index 4cb39538d..e1cec42f2 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -19,7 +19,7 @@ import { gameReader } from './hook'; import { GenerateHat } from './avatarGenerator'; const args = require('minimist')(process.argv); // eslint-disable-line const isDevelopment = process.env.NODE_ENV !== 'production'; -const devTools = (isDevelopment || args.dev === 1) || true; +const devTools = (isDevelopment || args.dev === 1) && true; const appVersion: string = isDevelopment? "DEV" : autoUpdater.currentVersion.version; declare global { From f9084cfd25e3fab0b3c6d165dd3add723f353812 Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 12:52:03 -0600 Subject: [PATCH 14/15] oops how did that get there --- src/main/GameReader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/GameReader.ts b/src/main/GameReader.ts index 0a264cf3d..e0d6538b7 100644 --- a/src/main/GameReader.ts +++ b/src/main/GameReader.ts @@ -128,7 +128,7 @@ export default class GameReader { } getInstalledMods(filePath: string): AmongusMod { - const pathLower = filePath.toLowerCase();\\ + const pathLower = filePath.toLowerCase(); if (pathLower.includes('?\\volume')) { return modList[0]; } else { From e59948208e34246eeabe7412a9409310891929ca Mon Sep 17 00:00:00 2001 From: August Date: Sat, 24 Jan 2026 12:52:42 -0600 Subject: [PATCH 15/15] what --- src/main/GameReader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/GameReader.ts b/src/main/GameReader.ts index e0d6538b7..c3a8ca7f0 100644 --- a/src/main/GameReader.ts +++ b/src/main/GameReader.ts @@ -101,7 +101,7 @@ export default class GameReader { this.gamePath = this.is_linux ? `/proc/${this.pid}/cwd${getProcessPath(this.amongUs.handle)}` : getProcessPath(this.amongUs.handle); this.loadedMod = this.getInstalledMods(this.gamePath); await this.initializeoffsets(); - this.sendIPC(IpcRendererMessages.NOTIFY_GAME_OPENED, true);\ + this.sendIPC(IpcRendererMessages.NOTIFY_GAME_OPENED, true); break; } catch (e) { console.log('ERROR:', e);