diff --git a/backend-golang/utils.go b/backend-golang/utils.go index ffb967c..1c8f2db 100644 --- a/backend-golang/utils.go +++ b/backend-golang/utils.go @@ -46,7 +46,7 @@ func Cmd(args ...string) (string, error) { return "", err } exDir := filepath.Dir(ex) + "/../../../" - cmd := exec.Command("osascript", "-e", `tell application 'Terminal' to do script '`+"cd "+exDir+" && "+strings.Join(args, " ")+`'`) + cmd := exec.Command("osascript", "-e", `tell application "Terminal" to do script "`+"cd "+exDir+" && "+strings.Join(args, " ")+`"`) err = cmd.Start() if err != nil { return "", err diff --git a/build/darwin/Info.dev.plist b/build/darwin/Info.dev.plist index 02e7358..c1777f0 100644 --- a/build/darwin/Info.dev.plist +++ b/build/darwin/Info.dev.plist @@ -8,7 +8,7 @@ CFBundleExecutable {{.Name}} CFBundleIdentifier - com.wails.{{.Name}} + dev.josStorer.RWKV-Runner CFBundleVersion {{.Info.ProductVersion}} CFBundleGetInfoString diff --git a/build/darwin/Info.plist b/build/darwin/Info.plist index e7819a7..1452e3f 100644 --- a/build/darwin/Info.plist +++ b/build/darwin/Info.plist @@ -8,7 +8,7 @@ CFBundleExecutable {{.Name}} CFBundleIdentifier - com.wails.{{.Name}} + dev.josStorer.RWKV-Runner CFBundleVersion {{.Info.ProductVersion}} CFBundleGetInfoString diff --git a/build/darwin/entitlements.plist b/build/darwin/entitlements.plist new file mode 100644 index 0000000..0693553 --- /dev/null +++ b/build/darwin/entitlements.plist @@ -0,0 +1,16 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.network.client + + com.apple.security.network.server + + com.apple.security.files.user-selected.read-write + + com.apple.security.files.downloads.read-write + + + \ No newline at end of file diff --git a/build/darwin/gon-sign.json b/build/darwin/gon-sign.json new file mode 100644 index 0000000..24f50f0 --- /dev/null +++ b/build/darwin/gon-sign.json @@ -0,0 +1,17 @@ +{ + "source": [ + "./build/bin/RWKV-Runner_darwin.app" + ], + "bundle_id": "dev.josStorer.RWKV-Runner", + "apple_id": { + "username": "joshua1466587594@outlook.com", + "password": "" + }, + "sign": { + "application_identity": "D00A983569B4EAA2A008B963254F385F42A493FD", + "entitlements_file": "./build/darwin/entitlements.plist" + }, + "zip": { + "output_path": "./build/bin/RWKV-Runner_darwin.archive.zip" + } +} \ No newline at end of file