Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
syntax_j
mycard
Commits
267fe7ce
Commit
267fe7ce
authored
Mar 04, 2013
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update install.sh
parent
3f1d14e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
install.sh
install.sh
+8
-7
No files found.
install.sh
View file @
267fe7ce
...
...
@@ -14,7 +14,7 @@ Path=$(dirname "$0")
URL=http://my-card.in/
MimeType=x-scheme-handler/mycard;application/x-ygopro-deck;application/x-ygopro-replay"
>
~/.local/share/applications/mycard.desktop
echo
"
<?xml version="
1.0
" encoding="
UTF-8
"?>
echo
'
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-ygopro-deck">
<comment>ygopro deck</comment>
...
...
@@ -22,9 +22,9 @@ echo "<?xml version="1.0" encoding="UTF-8"?>
<glob-deleteall/>
<glob pattern="*.ydk"/>
</mime-type>
</mime-info>
"
>
~/.local/share/mime/packages/application-x-ygopro-deck.xml
</mime-info>
'
>
~/.local/share/mime/packages/application-x-ygopro-deck.xml
echo
"
<?xml version="
1.0
" encoding="
UTF-8
"?>
echo
'
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-ygopro-replay">
<comment>ygopro replay</comment>
...
...
@@ -32,11 +32,12 @@ echo "<?xml version="1.0" encoding="UTF-8"?>
<glob-deleteall/>
<glob pattern="*.yrp"/>
</mime-type>
</mime-info>
"
>
~/.local/share/mime/packages/application-x-ygopro-replay.xml
</mime-info>
'
>
~/.local/share/mime/packages/application-x-ygopro-replay.xml
xdg-mime default mycard.desktop application/x-ygopro-deck
xdg-mime default mycard.desktop application/x-ygopro-replay
xdg-mime default mycard.desktop x-scheme-handler/mycard
xdg-mime default mycard.desktop application/x-ygopro-deck application/x-ygopro-replay x-scheme-handler/mycard
xdg-icon-resource
install
--context
mimetypes
--size
256
$(
dirname
"
$0
"
)
/graphics/system/icon.png application/x-ygopro-deck
xdg-icon-resource
install
--context
mimetypes
--size
256
$(
dirname
"
$0
"
)
/graphics/system/icon.png application/x-ygopro-replay
update-mime-database ~/.local/share/mime
update-desktop-database
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment