Skip to content

Commit

Permalink
Added Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelIT7 authored Apr 16, 2023
1 parent c29b088 commit a4c6532
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,21 @@ Note: This Project uses [Garry's Mod Common](https://github.com/danielga/garrys
1. You need to download the `gmsv_clearcache_win32.dll` from the latest [release](https://github.com/RaphaelIT7/gmod-clearcache/releases)
2. Move the `gmsv_clearcache_win32.dll` into your `garrysmod/lua/bin` folder.
3. You need insert

Windows:
```lua
if file.Exists("lua/bin/gmsv_clearcache_win32.dll", "GAME") then
require("clearcache")
end
```

Linux:
```lua
if file.Exists("lua/bin/gmsv_clearcache_linux.dll", "GAME") then
require("clearcache")
end
```

Into the `garrysmod/lua/menu/menu.lua` file at the bottom.

Note: If you change your Gmod branch or an update is made, your changes could get removed.

0 comments on commit a4c6532

Please sign in to comment.