File tree Expand file tree Collapse file tree 3 files changed +3
-11
lines changed
Expand file tree Collapse file tree 3 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 1515 "dependencies" : {
1616 "@quasar/extras" : " ^1.3.1" ,
1717 "axios" : " ^0.19.0" ,
18- "electron-positioner" : " ^4.1.0" ,
1918 "electron-store" : " ^5.0.0" ,
2019 "electron-util" : " ^0.12.1" ,
2120 "fs-extra" : " ^8.1.0" ,
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ import normalizeUrl from 'normalize-url';
105105import isAbsoluteUrl from ' is-absolute-url' ;
106106import { mapState } from ' vuex' ;
107107import { stringify } from ' query-string' ;
108- import Positioner from ' electron-positioner ' ;
108+
109109import _find from ' lodash/find' ;
110110import _get from ' lodash/get' ;
111111
@@ -227,8 +227,8 @@ export default {
227227 const encodeUrl = stringify ({ video: videoInfo, episode: episodeInfo });
228228 const parentWindow = getCurrentWindow ();
229229 const win = new BrowserWindow ({
230- width: 800 ,
231- height: 600 ,
230+ width: 400 ,
231+ height: 300 ,
232232 useContentSize: true ,
233233 webPreferences: {
234234 nodeIntegration: true ,
@@ -237,8 +237,6 @@ export default {
237237 parent: parentWindow,
238238 });
239239 win .removeMenu ();
240- const positioner = new Positioner (win);
241- positioner .move (' bottomRight' );
242240 win .loadURL (` ${ process .env .APP_URL } #/mini-video?${ encodeUrl} ` );
243241 },
244242 errorHandler (event , data ) {
Original file line number Diff line number Diff line change @@ -3436,11 +3436,6 @@ electron-packager@^14.0.6:
34363436 semver "^6.0.0"
34373437 yargs-parser "^13.0.0"
34383438
3439- electron-positioner@^4.1.0 :
3440- version "4.1.0"
3441- resolved "https://registry.npm.taobao.org/electron-positioner/download/electron-positioner-4.1.0.tgz#e158f8f6aabd6725a8a9b4f2279b9504bcbea1b0"
3442- integrity sha1-4Vj49qq9ZyWoqbTyJ5uVBLy+obA=
3443-
34443439electron-publish@21.2.0 :
34453440 version "21.2.0"
34463441 resolved "https://registry.npm.taobao.org/electron-publish/download/electron-publish-21.2.0.tgz#cc225cb46aa62e74b899f2f7299b396c9802387d"
You can’t perform that action at this time.
0 commit comments