Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
Mephist0phel3s committed Jan 9, 2025
1 parent 3da1ed1 commit 791f9f7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkgs/games/WarThunder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let

text = ''
#!/bin/bash
export "STORE_PATH"="$(dirname "$(readlink -f "$(which WarThunder)")")"
export "STORE_PATH"="$(dirname "$(readlink -f "$(which launcher)")")"
echo "$STORE_PATH"
echo "DEBUG::: STORE_PATH = $STORE_PATH"
echo "Check for home directory, create if not present."
Expand Down Expand Up @@ -124,9 +124,13 @@ libPath = lib.makeLibraryPath [ autoPatchelfHook stdenv.cc.cc stdenv.cc.cc.lib r
fi
echo "INFO: sym linking aces to WarThunder for purposes of desktop execution."
ln -s ${acesx86_64}/bin/acesx86_64 $out/bin/WarThunder
touch store_path
cp store_path $out/bin/store_path
cp store_path $out/${pname}-${version}/store_path
ln -sf $out/bin/store_path $out/${pname}-${version}/store_path
install -m755 -D launcher "$out/bin/launcher"
install -m755 -D gaijin_selfupdater $out/bin
install -m755 -D bpreport $out/bin
install -m755 -D gaijin_selfupdater "$out/bin"
install -m755 -D bpreport "$out/bin"
runHook postInstall
'';
Expand Down

0 comments on commit 791f9f7

Please sign in to comment.