From e364e64a786089afeb3245a7d082d1145564bfe2 Mon Sep 17 00:00:00 2001 From: Vurv <56230599+Vurv78@users.noreply.github.com> Date: Mon, 30 Oct 2023 13:56:34 -0700 Subject: [PATCH] Update to latest whitelist Fixes #3 --- README.md | 2 +- gma.lua | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 52f310c..0739796 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/checkout@master - - uses: vurv78/gmod-upload@v0.1.3 + - uses: vurv78/gmod-upload@master with: id: 2466875474 changelog: "Deployment via Github to latest changes" diff --git a/gma.lua b/gma.lua index 4cd7c1d..3bf64ed 100644 --- a/gma.lua +++ b/gma.lua @@ -108,6 +108,7 @@ do "scripts/vehicles/*.txt", "resource/localization/*/*.properties", "maps/*.bsp", + "maps/*.lmp", "maps/*.nav", "maps/*.ain", "maps/thumb/*.png", @@ -119,6 +120,7 @@ do "materials/*.png", "materials/*.jpg", "materials/*.jpeg", + "materials/colorcorrection/*.raw", "models/*.mdl", "models/*.vtx", "models/*.phy", @@ -145,6 +147,7 @@ do "gamemodes/*/content/materials/*.png", "gamemodes/*/content/materials/*.jpg", "gamemodes/*/content/materials/*.jpeg", + "gamemodes/*/content/materials/colorcorrection/*.raw", "gamemodes/*/content/scenes/*.vcd", "gamemodes/*/content/particles/*.pcf", "gamemodes/*/content/resource/fonts/*.ttf", @@ -157,6 +160,25 @@ do "gamemodes/*/content/sound/*.wav", "gamemodes/*/content/sound/*.mp3", "gamemodes/*/content/sound/*.ogg", + + -- Immutable version of `data` folder: https://github.com/Facepunch/gmad/commit/d55a4438a5bc0d2f25c02bda1e73e8034fdf736b + "data_static/*.txt", + "data_static/*.dat", + "data_static/*.json", + "data_static/*.xml", + "data_static/*.csv", + "data_static/*.dem", + "data_static/*.vcd", + + "data_static/*.vtf", + "data_static/*.vmt", + "data_static/*.png", + "data_static/*.jpg", + "data_static/*.jpeg", + + "data_static/*.mp3", + "data_static/*.wav", + "data_static/*.ogg", }, wildcard2pattern) if addon.ignore then -- if specified list of files to ignore.