-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
4a3e71e
commit 65da34e
Showing
4 changed files
with
28 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--mac-package-identifier net.pistonmaster.SoulFire | ||
--icon src/main/resources/icons/icon.png | ||
--icon src/main/resources/icons/icon.icns |
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 |
---|---|---|
@@ -1,13 +1,22 @@ | ||
#!/bin/bash | ||
|
||
# Create icons for different platforms | ||
|
||
# png | ||
convert -version | ||
convert -background transparent -density 1000 \ | ||
-resize 120x120 \ | ||
src/main/resources/icons/icon.svg \ | ||
src/main/resources/icons/icon.png | ||
|
||
# ico | ||
convert -background transparent -density 1000 \ | ||
-define icon:auto-resize -colors 256 \ | ||
src/main/resources/icons/icon.svg \ | ||
src/main/resources/icons/icon.ico | ||
|
||
# icns | ||
convert -background transparent -density 1000 \ | ||
-resize 1024x1024 \ | ||
src/main/resources/icons/icon.svg \ | ||
src/main/resources/icons/icon.icns |
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,18 @@ | ||
<?xml version="1.0" standalone="no"?> | ||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" | ||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> | ||
<svg width="1024" height="1024"> | ||
<g style="fill:black;fill-opacity:1;stroke:none;stroke-width:1;stroke-opacity:1;fill-rule:nonzero;"> | ||
<g style="fill:#3289BF;"> | ||
<rect x="0" y="0" width="120" height="120"/> | ||
</g> | ||
<g style=""> | ||
<g style="font-size:72;font-style:normal;font-weight:normal;font-stretch:normal;font-size:72;font-family:Ubuntu;fill:#ffffff;fill-opacity:1;stroke-width:6;"> | ||
<text x="8.16901" y="107.36"> </text> | ||
<g style="stroke-width:6;"> | ||
<text x="8.16901" y="107.36">SF</text> | ||
</g> | ||
</g> | ||
</g> | ||
</g> | ||
</svg> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.