linux - 在 Heroku 中使用 Wine
问题描述
谁能帮我弄清楚如何在 Heroku 中使用 Wine?我使用https://github.com/TheBotlyNoob/heroku-buildpack-wine自述文件中的按钮将 Wine 部署到 Heroku 。但是当我尝试像这样运行 Wine 时:
它没有用。我是否试图错误地运行 Wine?或者我还需要做什么?谢谢。
解决方案
我已经安装了两个版本的 wine(stable 和 release),但是当我尝试在 bash 上执行命令时,shell 回答该文件不存在:
bash: /app/vendor/wine/bin/wine: No such file or directory
即使安装了 wine 并且文件是可执行的:
如果您尝试启动记事本,则 bash 的答案是相同的:
/app/vendor/wine/bin/notepad: 46: exec: /app/vendor/wine/bin/wine: not found
即使葡萄酒在路径中。
结论:葡萄酒不执行。在 Heroku 上使用 wine 的一种方法是从 ubuntu 下载包含他的依赖项的包,将它们放入存储库并安装它。希望它有用。
推荐阅读
- javascript - 如何确保在导航到另一个页面之前完成减速器响应操作?
- azure-cosmosdb - 在 Gremlin (Cosmos) 中投影属性值列表
- python - 为什么不将子元素放置在 BoxSizer 中
- node.js - 为 Node.js 应用程序创建用户友好的安装程序
- android - 警报管理器无法显示通知?
- ssl - Windows 10 WebDAV 中断到 Internet 服务(例如托管服务提供商)
- swift - Xcode 无法在助理编辑器中为 UICollectionReusableView 类打开正确的类
- c# - Windows 窗体 C# 线性图使线条无限
- firebase - 如何组合多个 Firestore 查询
- xamarin.forms - 基于 iOS 构建的 AppCenter 从未完成安装