我正在尝试使用snapcraft打包我的项目。我认为打包预构建二进制文件是最简单的,可以在这里找到:https://sourceforge.net/p/audiocuesheet
这是一个mono和gtk-sharp2项目,因此我想到了使用snapcraft捆绑我的应用程序。但是我目前正在努力让它运行。
我的snapcraft.yml:
name: audiocuesheeteditor
version: '2.4.2'
summary: Write audio cue sheets fast and efficient
description: |
Annoyed of writing your audio cue sheets via text editor? Here comes the solution! Audio Cuesheet Editor helps you editing your audio cuesheet file. With AudioCuesheetEditor you can import text files, edit the imported data and afterwards export to a working audio cuesheet.
apps:
AudioCuesheetEditor:
command: AudioCuesheetEditor/./AudioCuesheetEditor
parts:
audiocuesheeteditor:
source: /home/sven/Downloads/AudioCuesheetEditor-linux-x64-v2.4.2.zip
plugin: dump
我已经运行过一次snapcraft,但是现在第二次获得以下输出:
[root@localhost Downloads]# snapcraft
Native builds aren't supported on Fedora. You can however use 'snapcraft cleanbuild' with a container.
您有一个主意,为什么我不能重建快照? 另外,如何确保在目标系统上安装了mono和gtk-sharp2二进制文件?
感谢您的帮助。 斯文