From db169e8bf99400124b5b3147942cbb504bf69184 Mon Sep 17 00:00:00 2001 From: ANKDDEV Date: Thu, 12 Dec 2024 07:25:10 +0300 Subject: [PATCH] chore: move blockcheck from resources directory to root of project --- resources/blockcheck.cmd => blockcheck.cmd | 0 scripts/build.go | 4 +--- 2 files changed, 1 insertion(+), 3 deletions(-) rename resources/blockcheck.cmd => blockcheck.cmd (100%) diff --git a/resources/blockcheck.cmd b/blockcheck.cmd similarity index 100% rename from resources/blockcheck.cmd rename to blockcheck.cmd diff --git a/scripts/build.go b/scripts/build.go index 402ec9e..965d734 100644 --- a/scripts/build.go +++ b/scripts/build.go @@ -42,14 +42,12 @@ func main() { binDir := filepath.Join(currentDir, "bin") listsDir := filepath.Join(currentDir, "lists") preConfigsDir := filepath.Join(currentDir, "pre-configs") - resourcesDir := filepath.Join(currentDir, "resources") // Check required paths exist requiredPaths := []string{ buildDir, listsDir, preConfigsDir, - resourcesDir, } for _, path := range requiredPaths { @@ -98,7 +96,7 @@ func main() { s.HideCursor = true s.Start() filesToAdd := map[string]string{ - "blockcheck.cmd": filepath.Join(resourcesDir, "blockcheck.cmd"), + "blockcheck.cmd": filepath.Join(currentDir, "blockcheck.cmd"), "Add to autorun.exe": filepath.Join(buildDir, "add_to_autorun.exe"), "Automatically search pre-config.exe": filepath.Join(buildDir, "preconfig_tester.exe"), "Run pre-config.exe": filepath.Join(buildDir, "run_preconfig.exe"),