fix: Rename freeflowuniverse to incubaid

This commit is contained in:
Mahmoud-Emad
2025-10-12 12:30:19 +03:00
parent 801c4abb43
commit 8f2d187b17
1593 changed files with 8753 additions and 8300 deletions

View File

@@ -45,9 +45,9 @@ fn addtoscript(tofind string, toadd string) ! {
abs_dir_of_script := dir(@FILE)
// Determine the organization name from the current path
// This makes the script work with any organization (incubaid, freeflowuniverse, etc.)
// This makes the script work with any organization (incubaid, incubaid, etc.)
path_parts := abs_dir_of_script.split('/')
mut org_name := 'freeflowuniverse' // default fallback
mut org_name := 'incubaid' // default fallback
for i, part in path_parts {
if part == 'github' && i + 1 < path_parts.len {
org_name = path_parts[i + 1]
@@ -60,7 +60,7 @@ println('Detected organization: ${org_name}')
// Reset symlinks for both possible organizations (cleanup)
println('Resetting all symlinks...')
os.rm('${os.home_dir()}/.vmodules/incubaid/herolib') or {}
os.rm('${os.home_dir()}/.vmodules/freeflowuniverse/herolib') or {}
os.rm('${os.home_dir()}/.vmodules/incubaid/herolib') or {}
os.rm('${os.home_dir()}/.vmodules/${org_name}/herolib') or {}
// Create necessary directories