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
fe7d5616
Commit
fe7d5616
authored
Mar 04, 2013
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update install.sh
parent
267fe7ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
install.sh
install.sh
+5
-4
No files found.
install.sh
View file @
fe7d5616
#!/bin/sh
base
=
$(
cd
"
$(
dirname
"
$0
"
)
"
;
pwd
)
echo
"#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Mycard
...
...
@@ -7,10 +8,10 @@ Comment=a card game platform
Comment[zh_CN]=卡片游戏对战客户端
Exec=/usr/bin/env ruby -KU lib/main.rb %u
Terminal=false
Icon=
$
(
dirname
"
$0
"
)
/graphics/system/icon.png
Icon=
$
base
/graphics/system/icon.png
Type=Application
Categories=Game
Path=
$
(
dirname
"
$0
"
)
Path=
$
base
URL=http://my-card.in/
MimeType=x-scheme-handler/mycard;application/x-ygopro-deck;application/x-ygopro-replay"
>
~/.local/share/applications/mycard.desktop
...
...
@@ -36,8 +37,8 @@ echo '<?xml version="1.0" encoding="UTF-8"?>
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
xdg-icon-resource
install
--context
mimetypes
--size
256
$
base
/graphics/system/icon.png application/x-ygopro-deck
xdg-icon-resource
install
--context
mimetypes
--size
256
$
base
/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