@@ -19,19 +19,19 @@ function! denops_shared_server#runtray#install(options) abort
19
19
call writefile (content, s: config_file , ' b' )
20
20
21
21
call denops#util#info (printf (' download the script `%s`' , s: script_file ))
22
- call s: download_file (s: script_download_url , s: script_file )
23
- call s: remove_zone_identifier (s: script_file )
22
+ call denops_shared_server#runtray#_download_file (s: script_download_url , s: script_file )
23
+ call denops_shared_server#runtray#_remove_zone_identifier (s: script_file )
24
24
25
25
call denops#util#info (' install to the startup' )
26
- call s: execute_runtray_command (' install' )
26
+ call denops_shared_server#runtray#_execute_script_command (' install' )
27
27
28
28
call denops#util#info (' start the service' )
29
- call s: execute_runtray_command (' start' )
29
+ call denops_shared_server#runtray#_execute_script_command (' start' )
30
30
endfunction
31
31
32
32
function ! denops_shared_server#runtray#uninstall () abort
33
33
call denops#util#info (' uninstall from the startup' )
34
- call s: execute_runtray_command (' uninstall' )
34
+ call denops_shared_server#runtray#_execute_script_command (' uninstall' )
35
35
36
36
call denops#util#info (printf (' delete the configuration file `%s`' , s: config_file ))
37
37
call delete (s: config_file )
@@ -40,14 +40,14 @@ function! denops_shared_server#runtray#uninstall() abort
40
40
call delete (s: script_file )
41
41
endfunction
42
42
43
- function s: download_file (url, outfile) abort
43
+ function denops_shared_server#runtray#_download_file (url, outfile) abort
44
44
echo system (printf (' %s Invoke-WebRequest -URI "%s" -OutFile "%s"' , s: ps_cmd , a: url , a: outfile ))
45
45
endfunction
46
46
47
- function s: remove_zone_identifier (file ) abort
47
+ function denops_shared_server#runtray#_remove_zone_identifier (file ) abort
48
48
echo system (printf (' %s Unblock-File "%s"' , s: ps_cmd , a: file ))
49
49
endfunction
50
50
51
- function s: execute_runtray_command (command ) abort
51
+ function denops_shared_server#runtray#_execute_script_command (command ) abort
52
52
echo system (printf (' %s "%s" %s' , s: ps_cmd , s: script_file , a: command ))
53
53
endfunction
0 commit comments