简体   繁体   English

其他人如何打开使用 flutter desktop 构建的应用程序?

[英]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.

相关问题 Flutter Desktop:如何为 macOS 生成安装程序并将其分发给其他用户? - Flutter Desktop: How can I generate an installer for macOS and distribute it to other users? 如何在 Mac 上打开 Android Studio 制作的 Flutter 项目? - How to open an Android Studio made Flutter project on Mac? 我可以在 mac 上为 windows 开发 flutter 桌面应用程序吗? - Can I develop flutter desktop app for windows on mac? 如何通过应用程序打开任何内置应用程序 - How to open any built-in app through application 如何在 mac 和 linuix os 桌面 flutter 应用程序中更改应用程序名称? - How to change app name in mac & linuix os desktop flutter application? 如何通过Flutter桌面打开特定的原生Mac OS、Windows和Linux系统文件夹? - How to open a specific native Mac OS, Windows and Linux system folder through Flutter desktop? 除了一个之外,无法运行任何其他 flutter 应用程序 - Can't run any other flutter app except for one 使用py2app制作的可执行文件是否包含其他终端脚本并运行它们? - Can executables made with py2app include other terminal scripts and run them? 在单独的桌面中打开时在当前桌面上打开 Mac OSX 应用程序 - Open Mac OSX app on current desktop when opened in separate desktop MAC应用程序崩溃在系统之外,而不是它构建 - MAC app crashing on system other than it was built on
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM