Skip to content

Allow locked paths to be overwritten if prefixed with ! - #15

Open
RealMuffinTime wants to merge 2 commits into
Patbox:masterfrom
RealMuffinTime:override-protected
Open

RealMuffinTime wants to merge 2 commits into
Patbox:masterfrom
RealMuffinTime:override-protected

Conversation

@RealMuffinTime

Copy link
Copy Markdown

Allow locked paths to be overwritten if prefixed with !.

Example lockedpaths.txt file, allowing overwriting of previously locked paths:

!server.properties
!ops.json

Other changes made:

  • Rename path/files variables to be consistent
  • For file exists checks use the real file, not the local file (This allow for non existing files to be written on the first run even if locked)
  • For skipped warn logging use local path/file name (Previously only showed the path to file, not the file name itself)

Closes #11.

- rename path/files variables to be consistent
- for file exists checks use the real file, not the local file
- for skipped warn logging use local path/file name
@RealMuffinTime RealMuffinTime changed the title allow locked paths to be overwritten if prefixed with ! Allow locked paths to be overwritten if prefixed with ! Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow to configure overwriting of currently hardcoded files/folders

1 participant