Skip to content

Commit f23dcde

Browse files
authored
Update main.cr
1 parent 82e354e commit f23dcde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HackerOS-Updater/main.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RESET = "\e[0m"
1212
# Paths
1313
HACKEROS_UPDATE_SCRIPT = "/usr/share/HackerOS/Scripts/Bin/update-hackeros.sh"
1414
WALLPAPERS_UPDATE_SCRIPT = "/usr/share/HackerOS/Scripts/Bin/update-wallpapers.sh"
15-
BIN_PATH = "#{ENV["HOME"]}/.hackeros/hacker/HackerOS-Updates/HackerOS-Updater"
15+
BIN_PATH = Process.executable_path.not_nil!
1616
AUTO_SCRIPT_PATH = "#{ENV["HOME"]}/.hackeros/auto-update.sh" # Script to wait for internet
1717

1818
def display_header(title : String)

0 commit comments

Comments
 (0)