From b4ff8ac3437f4f677e953dd09cb8bffc79e0ca01 Mon Sep 17 00:00:00 2001 From: Andrea Fontana Date: Tue, 10 Oct 2023 20:13:14 +0200 Subject: [PATCH] fix exe path for upgrade check --- source/app.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app.d b/source/app.d index 58139bc..a09859e 100644 --- a/source/app.d +++ b/source/app.d @@ -133,7 +133,7 @@ int main(string[] args) { import std.digest.sha : SHA256; - File myself = File(args[0], "r"); + File myself = File(thisExePath, "r"); SHA256 sha; ubyte[4096] data;