From fd96cd59755c28e6c951c7a1f252c36c616c4dd7 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Mon, 25 May 2026 13:24:11 -0500 Subject: [PATCH] fingerprinting --- .github/workflows/website.yaml | 12 ++++++++---- .vscode/settings.json | 1 + package.json | 1 - scripts/download_fingerprint.sh | 11 +++++++++++ scripts/fingerprint.txt | 1 + 5 files changed, 21 insertions(+), 5 deletions(-) create mode 100755 scripts/download_fingerprint.sh create mode 100644 scripts/fingerprint.txt diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml index f09f3bdfd..db2d7da5e 100644 --- a/.github/workflows/website.yaml +++ b/.github/workflows/website.yaml @@ -4,8 +4,8 @@ on: push: workflow_dispatch: - schedule: - - cron: "0 4 * * *" + # schedule: + # - cron: "0 4 * * *" permissions: contents: read @@ -64,10 +64,14 @@ jobs: - name: Set up project run: | bun run setup - bun run setup-depot-downloader + ./scripts/setup_depot_downloader.sh + + - name: Download fingerprint + run: | + ./scripts/download_fingerprint.sh - name: Build - run: bun run build:website + run: bun run build-website env: BUILD_CHUNK: ${{ matrix.chunk }} diff --git a/.vscode/settings.json b/.vscode/settings.json index 29f67d1bb..76417eda2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -91,6 +91,7 @@ "Everytime", "FASTNAME", "favicons", + "filelist", "flexdirection", "fontsource", "FOURCC", diff --git a/package.json b/package.json index 4003deae5..94ab0e38d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "private": true, "scripts": { "setup": "chmod a+x scripts/*.sh && ./scripts/setup.sh", - "setup-depot-downloader": "./scripts/setup_depot_downloader.sh", "dev": "./scripts/dev.sh", "build-game": "./scripts/build_game.sh", "build-website": "./scripts/build_website.sh" diff --git a/scripts/download_fingerprint.sh b/scripts/download_fingerprint.sh new file mode 100755 index 000000000..eb148868c --- /dev/null +++ b/scripts/download_fingerprint.sh @@ -0,0 +1,11 @@ +TEMP="temp" +FILES="scripts/fingerprint.txt" + +DEPOT_DOWNLOADER="$TEMP/DepotDownloader" +GAME="$TEMP/game" + +set -a +source .env +set +a + +$DEPOT_DOWNLOADER -os windows -app 3341250 -filelist $FILES -username $STEAM_USERNAME -password $STEAM_PASSWORD -dir $GAME \ No newline at end of file diff --git a/scripts/fingerprint.txt b/scripts/fingerprint.txt new file mode 100644 index 000000000..ed9ca5e01 --- /dev/null +++ b/scripts/fingerprint.txt @@ -0,0 +1 @@ +Manifest_UFSFiles_Win64.txt \ No newline at end of file