Skip to content

Commit

Permalink
Added pid of the process as a last line in configs
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmipt committed Sep 13, 2024
1 parent b63bf5d commit 15f1a9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/studio/utils/PropertiesConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ public void saveToDisk() {
out.write(lineSeparator);
}

String lastComment = "#Generated from process with pid " + ProcessHandle.current().pid();
out.write(lastComment.getBytes(CHARSET));

out.writeCompleted();

propertiesToSave = null;
Expand Down

0 comments on commit 15f1a9c

Please sign in to comment.