File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 29
29
*/
30
30
31
31
import { clientLocale } from './utils/locale.js' ;
32
+ import defaultWallpaper from './styles/wallpaper.png' ;
33
+ import defaultIcon from './styles/logo-blue-32x32.png' ;
32
34
33
35
const createUri = str => str
34
36
. replace ( / ( i n d e x \. ( h t m l ? | p h p ) ) $ / , '' )
@@ -172,7 +174,7 @@ export const defaultConfiguration = {
172
174
position : 'top-right'
173
175
} ,
174
176
background : {
175
- src : require ( './styles/wallpaper.png' ) ,
177
+ src : defaultWallpaper ,
176
178
color : '#572a79' ,
177
179
style : 'cover'
178
180
} ,
@@ -210,7 +212,7 @@ export const defaultConfiguration = {
210
212
name : 'apps' ,
211
213
label : 'Applications' ,
212
214
adapter : 'apps' ,
213
- icon : require ( './styles/logo-blue-32x32.png' ) ,
215
+ icon : defaultIcon ,
214
216
attributes : {
215
217
visibility : 'restricted' ,
216
218
readOnly : true
Original file line number Diff line number Diff line change 29
29
*/
30
30
31
31
import logger from './logger' ;
32
+ import defaultIcon from './styles/logo-blue-32x32.png' ;
32
33
33
34
/**
34
35
* A Tray Icon ("Entry")
@@ -85,7 +86,7 @@ export default class Tray {
85
86
handler = handler || ( ( ) => { } ) ;
86
87
87
88
const entry = Object . assign ( { } , {
88
- icon : require ( './styles/logo-blue-32x32.png' ) ,
89
+ icon : defaultIcon ,
89
90
title : defaultTitle ,
90
91
onclick : handler ,
91
92
oncontextmenu : handler ,
You can’t perform that action at this time.
0 commit comments