Skip to content

Commit cedf742

Browse files
committed
Restructure assets
1 parent 845b7dc commit cedf742

11 files changed

Lines changed: 13 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> The mobile app has been depreacated in favor of the official GitHub mobile app the is coming out [soon](https://github.com/mobile).
44
5-
![Gitify](images/press.jpg)
5+
![Gitify](assets/images/press.jpg)
66

77
### Download
88

main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const path = require('path');
44
const AutoLaunch = require('auto-launch');
55
const GhReleases = require('electron-gh-releases');
66

7-
const iconIdle = path.join(__dirname, 'images', 'tray-idleTemplate.png');
8-
const iconActive = path.join(__dirname, 'images', 'tray-active.png');
7+
const iconIdle = path.join(__dirname, 'assets', 'images', 'tray-idleTemplate.png');
8+
const iconActive = path.join(__dirname, 'assets', 'images', 'tray-active.png');
99

1010
const isDarwin = process.platform === 'darwin';
1111
const isLinux = process.platform === 'linux';

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,20 @@
5757
"build": {
5858
"appId": "com.electron.gitify",
5959
"productName": "Gitify",
60-
"files": ["index.html", "LICENSE", "main.js", "build/**/*", "images/*"],
60+
"files": [
61+
"build/**/*",
62+
"assets/**/*",
63+
"index.html",
64+
"LICENSE",
65+
"main.js"
66+
],
6167
"mac": {
6268
"category": "public.app-category.developer-tools",
63-
"icon": "images/app-icon.icns",
69+
"icon": "assets/images/app-icon.icns",
6470
"identity": "Emmanouil Konstantinidis (3YP8SXP3BF)"
6571
},
6672
"dmg": {
67-
"icon": "images/app-icon.icns"
73+
"icon": "assets/images/app-icon.icns"
6874
}
6975
},
7076
"dependencies": {

0 commit comments

Comments
 (0)