Skip to content

Commit 2903070

Browse files
committed
2 parents ce9129a + b8ce74a commit 2903070

File tree

452 files changed

+4281
-261
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

452 files changed

+4281
-261
lines changed

.devcontainer/devcontainer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "PHP",
3+
"image": "mcr.microsoft.com/devcontainers/php:1-8",
4+
"features": {
5+
"ghcr.io/devcontainers/features/php:1": {},
6+
"ghcr.io/devcontainers/features/node:1": {}
7+
}
8+
}

.github/ISSUE_TEMPLATE/6_type_sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Suggest an SDK detection
22
description: Suggest an SDK (software development kit) that is not being currently detected.
3-
labels: ["Type: Engine"]
3+
labels: ["Type: SDK"]
44
body:
55
- type: textarea
66
attributes:
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Suggest an Anti-Cheat detection
2+
description: Suggest an Anti-Cheat that is not being currently detected.
3+
labels: ["Type: Anti-Cheat"]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Some reference to the Anti-Cheat, such as the developer site or a wikipedia article.
8+
validations:
9+
required: true
10+
11+
- type: textarea
12+
attributes:
13+
label: SteamDB links
14+
description: Link a few app pages that use this Anti-Cheat.
15+
validations:
16+
required: true
17+
18+
- type: textarea
19+
attributes:
20+
label: Possible way to detect it
21+
description: As we use regex rules to detect, list your possible suggestions which files can be matched on. Keep in mind we can only operatore on filenames, we can't look in file contents or inside archives.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Suggest a Launcher detection
2+
description: Suggest a Launcher that is not being currently detected.
3+
labels: ["Type: Launcher"]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Some reference to the Launcher, such as the developer site or a wikipedia article.
8+
validations:
9+
required: true
10+
11+
- type: textarea
12+
attributes:
13+
label: SteamDB links
14+
description: Link a few app pages that use this Launcher.
15+
validations:
16+
required: true
17+
18+
- type: textarea
19+
attributes:
20+
label: Possible way to detect it
21+
description: As we use regex rules to detect, list your possible suggestions which files can be matched on. Keep in mind we can only operatore on filenames, we can't look in file contents or inside archives.

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
ignore:
8+
- dependency-name: "*"
9+
update-types: ["version-update:semver-minor", "version-update:semver-patch"]

.github/labeler.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
"Type: Engine":
2-
- '**/Engine.*'
2+
- changed-files:
3+
- any-glob-to-any-file: '**/Engine.*'
34

45
"Type: SDK":
5-
- '**/SDK.*'
6+
- changed-files:
7+
- any-glob-to-any-file: '**/SDK.*'
8+
9+
"Type: Anti-Cheat":
10+
- changed-files:
11+
- any-glob-to-any-file: '**/AntiCheat.*'
12+
13+
"Type: Launcher":
14+
- changed-files:
15+
- any-glob-to-any-file: '**/Launcher.*'
16+
17+
"Type: Container":
18+
- changed-files:
19+
- any-glob-to-any-file: '**/Container.*'

.github/workflows/labeler.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
name: Pull Request Labeler
22

3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
37
on:
48
- pull_request_target
59

610
jobs:
711
triage:
812
runs-on: ubuntu-latest
913
steps:
10-
- uses: actions/labeler@v3
14+
- uses: actions/labeler@v5
1115
with:
1216
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/test.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Test rules
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_dispatch:
58
pull_request:
@@ -10,7 +13,11 @@ jobs:
1013
name: Test
1114
runs-on: ubuntu-latest
1215
steps:
16+
- name: Setup PHP
17+
uses: shivammathur/setup-php@v2
18+
with:
19+
php-version: '8.3'
1320
- name: Checkout
14-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
1522
- name: Test
16-
run: php8.0 tests/Test.php
23+
run: php tests/Test.php

.vscode/launch.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Run Tests",
9+
"type": "php",
10+
"request": "launch",
11+
"program": "${workspaceFolder}/tests/Test.php",
12+
"cwd": "${workspaceFolder}",
13+
"externalConsole": false,
14+
"port": 9003
15+
},
16+
{
17+
"name": "Generate Test Strings",
18+
"type": "php",
19+
"request": "launch",
20+
"program": "${workspaceFolder}/tests/GenerateTestStrings.php",
21+
"cwd": "${workspaceFolder}",
22+
"externalConsole": false,
23+
"port": 9003
24+
},
25+
{
26+
"name": "Debug current script in console",
27+
"type": "php",
28+
"request": "launch",
29+
"program": "${file}",
30+
"cwd": "${fileDirname}",
31+
"externalConsole": false,
32+
"port": 9003
33+
},
34+
{
35+
"name": "Listen for Xdebug",
36+
"type": "php",
37+
"request": "launch",
38+
"port": 9003
39+
}
40+
]
41+
}

CONTRIBUTING.md

Lines changed: 8 additions & 4 deletions

0 commit comments

Comments
 (0)