macOS chore
This commit is contained in:
		
							parent
							
								
									5853b8ca8d
								
							
						
					
					
						commit
						c28f5604ab
					
				| @ -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 | ||||
|  | ||||
							
								
								
									
										2
									
								
								build/darwin/Info.dev.plist
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								build/darwin/Info.dev.plist
									
									
									
									
										vendored
									
									
								
							| @ -8,7 +8,7 @@ | ||||
|         <key>CFBundleExecutable</key> | ||||
|         <string>{{.Name}}</string> | ||||
|         <key>CFBundleIdentifier</key> | ||||
|         <string>com.wails.{{.Name}}</string> | ||||
|         <string>dev.josStorer.RWKV-Runner</string> | ||||
|         <key>CFBundleVersion</key> | ||||
|         <string>{{.Info.ProductVersion}}</string> | ||||
|         <key>CFBundleGetInfoString</key> | ||||
|  | ||||
							
								
								
									
										2
									
								
								build/darwin/Info.plist
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								build/darwin/Info.plist
									
									
									
									
										vendored
									
									
								
							| @ -8,7 +8,7 @@ | ||||
|         <key>CFBundleExecutable</key> | ||||
|         <string>{{.Name}}</string> | ||||
|         <key>CFBundleIdentifier</key> | ||||
|         <string>com.wails.{{.Name}}</string> | ||||
|         <string>dev.josStorer.RWKV-Runner</string> | ||||
|         <key>CFBundleVersion</key> | ||||
|         <string>{{.Info.ProductVersion}}</string> | ||||
|         <key>CFBundleGetInfoString</key> | ||||
|  | ||||
							
								
								
									
										16
									
								
								build/darwin/entitlements.plist
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								build/darwin/entitlements.plist
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,16 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||||
| <plist version="1.0"> | ||||
| <dict> | ||||
|   <key>com.apple.security.app-sandbox</key> | ||||
|   <false/> | ||||
|   <key>com.apple.security.network.client</key> | ||||
|   <true/> | ||||
|   <key>com.apple.security.network.server</key> | ||||
|   <true/> | ||||
|   <key>com.apple.security.files.user-selected.read-write</key> | ||||
|   <true/> | ||||
|   <key>com.apple.security.files.downloads.read-write</key> | ||||
|   <true/> | ||||
| </dict> | ||||
| </plist> | ||||
							
								
								
									
										17
									
								
								build/darwin/gon-sign.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								build/darwin/gon-sign.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -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" | ||||
|     } | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user