Skip to content

Commit

Permalink
chore: move blockcheck from resources directory to root of project
Browse files Browse the repository at this point in the history
  • Loading branch information
ankddev committed Dec 12, 2024
1 parent 368f724 commit db169e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
File renamed without changes.
4 changes: 1 addition & 3 deletions scripts/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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"),
Expand Down

0 comments on commit db169e8

Please sign in to comment.