Open liuhedong opened 1 year ago
Did you add a proper logger using this option ? If not, could you add it ?
Once you've done it, could you open the exe in the terminal and paste logs output here?
package main
import ( "fmt" "log"
"net/http"
"github.com/asticode/go-astikit"
"github.com/asticode/go-astilectron"
)
func main() { http.HandleFunc("/", func(wr http.ResponseWriter, r *http.Request) { wr.Write([]byte(`<!DOCTYPE html>
What logs do you see when you run test.exe
through the terminal ?
Found it, in the C:\Users\liuhedong\AppData\Roaming\test\vendor directory, electron-windows-amd64-v11.4.3.zip cannot be downloaded.
The compilation includes electron, why do you need to download it?
1: Windows 10 can be compiled and run on the local device. Copy the exe to other devices to run as an administrator. You can see it in the task manager, but the program is not displayed. Other devices: windows10 and windows7 astilectron: 0.55.0 electron: 11.4.3
{ "app_name": "ceshi", "icon_path_darwin": "resources/icon.icns", "icon_path_linux": "resources/icon.png", "icon_path_windows": "resources/icon.ico" }
2: Adding a signature still doesn't work