Skip to content

Commit

Permalink
Properly fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
jurf committed Apr 25, 2018
1 parent f12620a commit c41669a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions org.musescore.MuseScore.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"--share=ipc",
"--socket=x11",
"--socket=pulseaudio",
"--filesystem=host",
"--env=TMPDIR=$XDG_CACHE_HOME"
"--filesystem=host"
],
"modules": [
"shared-modules/lame/lame-3.99.5.json",
Expand Down Expand Up @@ -96,6 +95,7 @@
"post-install": [
"mv /app/share/mime/packages/musescore.xml /app/share/mime/packages/org.musescore.MuseScore.xml",
"install -Dm644 -t /app/share/appdata mscore.appdata.xml",
"install -t /app/bin musescore",
"sed -i 's|<!-- <generic-icon name=\"audio-x-generic\"/> Uncomment to use generic audio file icon -->|<generic-icon name=\"audio-x-generic\"/>|' /app/share/mime/packages/org.musescore.MuseScore.xml"
],
"sources": [
Expand All @@ -107,6 +107,13 @@
{
"type": "file",
"path": "mscore.appdata.xml"
},
{
"type": "script",
"dest-filename": "musescore",
"commands": [
"exec env TMPDIR=$XDG_CACHE_HOME /app/bin/mscore \"$@\""
]
}
]
}
Expand Down

0 comments on commit c41669a

Please sign in to comment.