mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
fix: add executable permissions for .command files during installation
- Update install.xml to set 775 permissions for .command files in Script pack - Add .command files to target directory copy tasks in pom.xml - Allow macOS users to run Forge apps without manual chmod This change ensures .command files receive proper executable permissions during installation, matching the behavior of .sh files on Unix/Linux.
This commit is contained in:
@@ -68,14 +68,23 @@
|
||||
<file src="forge.sh" targetdir="$INSTALL_PATH/" override="true">
|
||||
<additionaldata key="permission.file" value="775"/>
|
||||
</file>
|
||||
<file src="forge.command" targetdir="$INSTALL_PATH/" override="true">
|
||||
<additionaldata key="permission.file" value="775"/>
|
||||
</file>
|
||||
<file src="forge-adventure.sh" targetdir="$INSTALL_PATH/" override="true">
|
||||
<additionaldata key="permission.file" value="775"/>
|
||||
</file>
|
||||
<file src="forge-adventure.command" targetdir="$INSTALL_PATH/" override="true">
|
||||
<additionaldata key="permission.file" value="775"/>
|
||||
</file>
|
||||
<file src="adventure-editor.sh" targetdir="$INSTALL_PATH/" override="true">
|
||||
<additionaldata key="permission.file" value="775"/>
|
||||
</file>
|
||||
<file src="adventure-editor.command" targetdir="$INSTALL_PATH/" override="true">
|
||||
<additionaldata key="permission.file" value="775"/>
|
||||
</file>
|
||||
<executable stage="never" failure="ignore" keep="true">
|
||||
<fileset targetdir="$INSTALL_PATH/" includes="forge.sh,forge-adventure.sh,adventure-editor.sh"/>
|
||||
<fileset targetdir="$INSTALL_PATH/" includes="forge.sh,forge.command,forge-adventure.sh,forge-adventure.command,adventure-editor.sh,adventure-editor.command"/>
|
||||
</executable>
|
||||
</pack>
|
||||
</packs>
|
||||
|
||||
Reference in New Issue
Block a user