Skip to content

Commit ea4806b

Browse files
authored
Update permissions for Linux (#1171)
* Add execute permissions to current 'exe' files * Preserve execution permissions for executable files on Unix systems * Update CONTRIBUTING.md with permissions info for Linux
1 parent c1d5574 commit ea4806b

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ The easiest way to make and test changes is by setting up a development installa
6868

6969
3. Start Path of Building from the repository by running `./runtime/Path{space}of{space}Building-PoE2.exe`.
7070

71+
* <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`
72+
7173
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:
7274
* `F5` restarts the program in-place (this is what usually happens when an update is applied).
7375
* `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-PoE2.exe

100644100755
File mode changed.

runtime/Update.exe

100644100755
File mode changed.

0 commit comments

Comments
 (0)