File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,15 @@ base-dir := if rootdir == '' {
12
12
rootdir / ' usr'
13
13
}
14
14
15
+ lib-folder := ' lib'
16
+
15
17
lib-dir := if rootdir == ' ' {
16
18
base-dir / ' share'
17
19
} else {
18
- base-dir / ' lib'
20
+ base-dir / lib-folder
19
21
}
20
22
23
+
21
24
bin-dir := base-dir / ' bin'
22
25
bin-path := bin-dir / ID
23
26
Original file line number Diff line number Diff line change @@ -109,7 +109,10 @@ impl App {
109
109
. join ( LOCAL_PATH ) ,
110
110
) ;
111
111
queue. push_back ( Path :: new ( SYSTEM_ADMIN_PATH ) . to_owned ( ) ) ;
112
- queue. push_back ( Path :: new ( DISTRIBUTION_PATH ) . to_owned ( ) ) ;
112
+ queue. push_back (
113
+ Path :: new ( option_env ! ( "POP_LAUNCHER_PLUGIN_DIR" ) . unwrap_or ( DISTRIBUTION_PATH ) )
114
+ . to_owned ( ) ,
115
+ ) ;
113
116
114
117
let script_sender = async move {
115
118
while let Some ( path) = queue. pop_front ( ) {
You can’t perform that action at this time.
0 commit comments