Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -45,6 +45,8 @@ 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'
Expand Down
2 changes: 1 addition & 1 deletion src/main/GameReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)}` : getProcessPath(this.amongUs.handle);
this.loadedMod = this.getInstalledMods(this.gamePath);
await this.initializeoffsets();
this.sendIPC(IpcRendererMessages.NOTIFY_GAME_OPENED, true);
Expand Down