Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added app/assets/icon/master_file.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/icon/md-file-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/icon/md_file.icns
Binary file not shown.
Binary file added app/assets/icon/md_file.ico
Binary file not shown.
10 changes: 6 additions & 4 deletions build/deployConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ const APPLICATION_NAME = "Markdown Viewer"
const APPLICATION_SHORTNAME = "mdview"
const WIN_ICON = "app/assets/icon/md.ico"
const MAC_ICON = "app/assets/icon/md.icns"
const DOCUMENT_ICON = "app/assets/icon/md_file" // Electron-builder appends .icns .ico automatically

const RESPOURCE_FILES = ["README.md", "CONTRIBUTING.md", "CHANGELOG.md", "LICENSE", "doc/**"]

module.exports = {
Expand Down Expand Up @@ -66,13 +68,13 @@ module.exports = {
fileAssociations: [
{
name: "Markdown file",
ext: ".md",
icon: WIN_ICON,
ext: "md",
icon: DOCUMENT_ICON,
},
{
name: "Markdown file",
ext: ".markdown",
icon: WIN_ICON,
ext: "markdown",
icon: DOCUMENT_ICON,
},
],
}