Skip to content

Commit

Permalink
Added pdf file association, new file icons
Browse files Browse the repository at this point in the history
  • Loading branch information
sagargurtu committed Aug 11, 2019
1 parent 81ee72f commit 339bf8e
Show file tree
Hide file tree
Showing 12 changed files with 363 additions and 266 deletions.
Binary file modified docs/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
},
"author": "Sagar Gurtu",
"license": "MIT",
"repository": {
"type": "git",
"url": "/~https://github.com/sagargurtu/lector.git"
},
"dependencies": {
"custom-electron-titlebar": "^3.0.9"
},
Expand All @@ -27,7 +31,11 @@
"buildVersion": "1.0.0",
"win": {
"target": "NSIS",
"icon": "./src/assets/icons/win/icon.ico"
"icon": "./src/assets/icons/win/icon.ico",
"fileAssociations": {
"ext": "pdf",
"icon": "./src/assets/icons/win/file.ico"
}
},
"nsis": {
"artifactName": "${productName}Setup.${ext}",
Expand Down
3 changes: 2 additions & 1 deletion src/about.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!--
Copyright (c) 2019 Sagar Gurtu
Licensed under the MIT License. See License in the project root for license information.
Licensed under the MIT License.
See License in the project root for license information.
-->
<!DOCTYPE html>
<html>
Expand Down
Binary file modified src/assets/icons/mac/icon.icns
Binary file not shown.
Binary file modified src/assets/icons/png/256x256.png
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 src/assets/icons/win/file.ico
Binary file not shown.
Binary file modified src/assets/icons/win/icon.ico
Binary file not shown.
Binary file modified src/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!--
Copyright (c) 2019 Sagar Gurtu
Licensed under the MIT License. See License in the project root for license information.
Licensed under the MIT License.
See License in the project root for license information.
-->
<!DOCTYPE html>
<html>
Expand Down
Loading

0 comments on commit 339bf8e

Please sign in to comment.