Skip to content

Commit

Permalink
Allow deletion of all variants of readme.conf (#144)
Browse files Browse the repository at this point in the history
* Allow deletion of all variants of readme.conf

Signed-off-by: Mobmaker <45888585+Mobmaker55@users.noreply.github.com>

* Delete that line that I forgot

Signed-off-by: Mobmaker <45888585+Mobmaker55@users.noreply.github.com>
  • Loading branch information
Mobmaker55 authored Jul 17, 2022
1 parent 4b1c10e commit b808a6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion release_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func cleanUp() {

info("Removing other setup files...")
shellCommand("rm -rf " + dirPath + "misc/")
shellCommand("rm -rf " + dirPath + "ReadMe.conf")
shellCommand("find " + dirPath + " -name '[R|r]*.conf' -type f -delete")
shellCommand("rm -rf " + dirPath + "README.md")
shellCommand("rm -rf " + dirPath + ".git")
shellCommand("rm -rf " + dirPath + ".github")
Expand Down
2 changes: 1 addition & 1 deletion release_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func installService() {
func cleanUp() {
info("Removing scoring.conf and ReadMe.conf...")
shellCommand("Remove-Item -Force C:\\aeacus\\scoring.conf")
shellCommand("Remove-Item -Force C:\\aeacus\\ReadMe.conf")
shellCommand("Remove-Item -Path 'C:\\aeacus\\[R|r]*.conf' -Force")
info("Removing previous.txt...")
shellCommand("Remove-Item -Force C:\\aeacus\\previous.txt")
if !ask("Do you want to remove cache and history files from this machine?") {
Expand Down

0 comments on commit b808a6e

Please sign in to comment.