-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fce0ee7
commit 6a95ec6
Showing
4 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
prefix=$1 | ||
output=$2 | ||
|
||
cat << thumbnailer > $output | ||
[Thumbnailer Entry] | ||
MimeType=application/x-wad64; | ||
Exec=$prefix/bin/wad64 extract %i:.thumbnail over / as %o | ||
thumbnailer |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> | ||
<mime-type type="application/x-wad64"> | ||
<comment>Wad64 file</comment> | ||
<icon name="application-x-wad64"/> | ||
<magic-deleteall/> | ||
<magic> | ||
<match type="string" offset="0" value="xWAD64\n\0"/> | ||
</magic> | ||
<comment>Wad64 archive</comment> | ||
</mime-type> | ||
</mime-info> |