Skip to content

Commit 533b332

Browse files
Wires77TheDechev
andauthored
Update permissions for Linux (#9040)
Co-authored-by: Martin Dechev <dechevmartin@gmail.com>
1 parent 369d962 commit 533b332

4 files changed

Lines changed: 7 additions & 1 deletion

File tree

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,9 @@
6161
#*.PDF diff=astextplain
6262
#*.rtf diff=astextplain
6363
#*.RTF diff=astextplain
64+
65+
###############################################################################
66+
# Executable files - preserve execution permissions on Unix systems
67+
# (https://git-scm.com/docs/gitattributes#_executable)
68+
###############################################################################
69+
runtime/*.exe binary

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The easiest way to make and test changes is by setting up a development installa
6767
cd PathOfBuilding
6868

6969
3. Start Path of Building from the repository by running `./runtime/Path{space}of{space}Building.exe`.
70-
70+
* <ins>Note for Linux users:</ins> The executable files should automatically have the correct permissions when cloned fresh. If you still encounter permission issues, run once: `chmod +x ./runtime/Path{space}of{space}Building-PoE2.exe`
7171
You can now use the shortcut to run the program from the repository. Running the program in this manner automatically enables "Dev Mode", which has some handy debugging feature:
7272
* `F5` restarts the program in-place (this is what usually happens when an update is applied).
7373
* `Ctrl` + `~` toggles the console (Note that this does not work with all keyboard layouts. US layout is a safe bet though).

runtime/Path{space}of{space}Building.exe

100644100755
File mode changed.

runtime/Update.exe

100644100755
File mode changed.

0 commit comments

Comments
 (0)