[英]How can other people open a built app made with flutter desktop?
I want to know if is possible to send a built app to my coworkers without them having to execute commands like flutter run -d macOS
or even installing Flutter.我想知道是否可以将构建的应用程序发送给我的同事,而无需他们执行
flutter run -d macOS
类的命令,甚至安装 Flutter。
I tried sending them the build
folder and executing the app inside macos/Build/Products/Release
but it says `我尝试向他们发送
build
文件夹并在macos/Build/Products/Release
执行应用程序,但它说`
` `
It is as easy as right clicking it and open it for it to work, but I also want to know if there is a way to sign it
or something so it can be opened easily.就像右键单击它并打开它一样简单,但我也想知道是否有一种方法可以
sign it
进行sign it
或其他东西,以便可以轻松打开它。
You should not send people the entire build folder, just the .app
.您不应该向人们发送整个构建文件夹,只发送
.app
。
A Flutter application built for macOS is just a macOS application, build by a relatively standard Xcode project.为 macOS 构建的 Flutter 应用程序只是一个 macOS 应用程序,由相对标准的 Xcode 项目构建。 You can sign it the way you would any other macOS application, either by setting up the Xcode project with your signing information, or manually signing it after it's built with the standard tools.
您可以像对任何其他 macOS 应用程序一样对其进行签名,方法是使用您的签名信息设置 Xcode 项目,或者在使用标准工具构建后手动对其进行签名。 Either way, there's nothing Flutter-specific about the process.
无论哪种方式,该过程都没有特定于 Flutter 的内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.