diff --git a/app/package.json b/app/package.json index e60aaeb21..157dc2a8d 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "nmm2", - "version": "0.1.0", + "version": "0.2.0", "productName": "Nexus Mod Manager 2 Retribution", "description": "Nexus Mod Manager 2 Retribution", "author": "Black Tree Gaming Ltd.", @@ -21,6 +21,8 @@ "fs-extra-promise": "^0.4.0", "i18next": "^3.4.1", "i18next-node-fs-backend": "^0.1.2", + "icon-extractor": "^1.0.3", + "nexus-api": "file:../lib/js/nexus-api", "node-7z": "^0.4.0", "node-ipc": "^8.9.2", "node-rest-client": "^2.0.1", @@ -28,6 +30,7 @@ "react-addons-css-transition-group": "^15.3.1", "react-addons-update": "^15.3.1", "react-bootstrap": "^0.30.2", + "react-contextmenu": "^1.6.3", "react-dom": "^15.3.0", "react-fontawesome": "^1.1.0", "react-i18next": "^1.8.0", @@ -44,6 +47,7 @@ "redux-thunk": "^2.1.0", "redux-watcher": "^0.1.2", "ref-union": "^1.0.1", + "request": "^2.76.0", "source-map-support": "^0.4.2", "string-template": "^1.0.0", "tmp": "^0.0.29", diff --git a/build/icon.ico b/build/icon.ico deleted file mode 100644 index b84480e3e..000000000 Binary files a/build/icon.ico and /dev/null differ diff --git a/package.json b/package.json index 71519f4f3..92b3c2ae0 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "appId": "com.nexusmods.nmm2", "win": { "target": "squirrel", + "icon": "assets/images/nmm.ico", "iconUrl": "https://staticdelivery.nexusmods.com/contents/Templates/110/favicon.ico" }, "extraResources": [ @@ -98,6 +99,7 @@ "jest-cli": "^15.1.1", "less": "^2.7.1", "less-plugin-clean-css": "^1.5.1", + "nexus-api": "file:./lib/js/nexus-api", "node-7z": "^0.4.0", "node-ipc": "^8.9.2", "node-rest-client": "^2.0.1", diff --git a/src/extensions/nexus_integration/index.tsx b/src/extensions/nexus_integration/index.tsx index 1b2d59d3a..a0c941865 100644 --- a/src/extensions/nexus_integration/index.tsx +++ b/src/extensions/nexus_integration/index.tsx @@ -7,7 +7,7 @@ import { settingsReducer } from './reducers/settings'; import LoginIcon from './views/LoginIcon'; import Settings from './views/Settings'; -import Nexus, { IDownloadURL, IGetModInfoResponse } from '../../../lib/js/nexus-api'; +import Nexus, { IDownloadURL, IGetModInfoResponse } from 'nexus-api'; import NXMUrl from './NXMUrl'; diff --git a/src/extensions/nexus_integration/views/LoginForm.tsx b/src/extensions/nexus_integration/views/LoginForm.tsx index 7685381ab..90f462c50 100644 --- a/src/extensions/nexus_integration/views/LoginForm.tsx +++ b/src/extensions/nexus_integration/views/LoginForm.tsx @@ -1,5 +1,5 @@ -import Nexus from '../../../../lib/js/nexus-api/lib/Nexus'; -import { IValidateKeyResponse } from '../../../../lib/js/nexus-api/lib/types'; +import Nexus from 'nexus-api/lib/Nexus'; +import { IValidateKeyResponse } from 'nexus-api/lib/types'; import { showDialog } from '../../../actions/notifications'; import { ComponentEx, connect, translate } from '../../../util/ComponentEx'; diff --git a/src/extensions/nexus_integration/views/LoginIcon.tsx b/src/extensions/nexus_integration/views/LoginIcon.tsx index ead79dbf9..1aa8df3a1 100644 --- a/src/extensions/nexus_integration/views/LoginIcon.tsx +++ b/src/extensions/nexus_integration/views/LoginIcon.tsx @@ -1,4 +1,4 @@ -import Nexus from '../../../../lib/js/nexus-api/lib/Nexus'; +import Nexus from 'nexus-api/lib/Nexus'; import { ComponentEx, connect, translate } from '../../../util/ComponentEx'; import Icon from '../../../views/Icon';