风扇滑翔翼
2026-01-17 20:33:40 +08:00
committed by RPRX
parent 09f619d67c
commit 5f7474120f
13 changed files with 227 additions and 533 deletions
+1 -4
View File
@@ -3,9 +3,7 @@
package platform
import (
"path/filepath"
)
import "path/filepath"
func LineSeparator() string {
return "\r\n"
@@ -14,7 +12,6 @@ func LineSeparator() string {
// GetAssetLocation searches for `file` in the env dir and the executable dir
func GetAssetLocation(file string) string {
assetPath := NewEnvFlag(AssetLocation).GetValue(getExecutableDir)
return filepath.Join(assetPath, file)
}