You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know win7 is outdated now, but my mobile development laptop is win7.
NOTE: go build and go run don't work, No errors, they act like nothing is wrong, but the results have no effect on the wallpaper, FOR EXAMPLE, these two exe files attached, were build on the systems labeled, and below is the EXACT SAME SOURCE code (one file, wallpaper.go)
package main
import (
"fmt""os""time""github.com/reujab/wallpaper"
)
varURL="https://mgo.azureedge.net/cloudcache/7/c/2/f/3/4/7c2f345bdfcadb8a3faf483ebaa2e9aea712bbdb.jpg"varfile=""funcmain() {
//Check to see if image is providediflen(os.Args) >=2 {
file=os.Args[1]
}
//If no image provided, set wallpaper to Default Windows 10 wallpaperiffile=="" {
wallpaper.SetFromURL(URL)
fmt.Println("")
fmt.Println("To use, drag and drop a image onto the exe, as if you were moving it to a folder.")
fmt.Println("Default behavior is to reset to the default windows wallpaper")
time.Sleep(30*time.Second)
} else {
// If a image is provided, set that as the wallpaperwallpaper.SetFromFile(file)
}
}
TL;DR go build/go run returns no results on windows 7
prebuilt exe from win10 results in the wallpaper working
I know win7 is outdated now, but my mobile development laptop is win7.
NOTE:
go build
andgo run
don't work, No errors, they act like nothing is wrong, but the results have no effect on the wallpaper, FOR EXAMPLE, these two exe files attached, were build on the systems labeled, and below is the EXACT SAME SOURCE code (one file, wallpaper.go)TL;DR
go build
/go run
returns no results on windows 7prebuilt exe from win10 results in the wallpaper working
wallpaper.exe.zip
The text was updated successfully, but these errors were encountered: