ensure profile
This commit is contained in:
parent
9be434c7c0
commit
13df2a8587
|
@ -11,7 +11,6 @@ require 'daemons'
|
||||||
|
|
||||||
ENV['PROFILE'] ||= 'default'
|
ENV['PROFILE'] ||= 'default'
|
||||||
|
|
||||||
|
|
||||||
TRANSFER_LOG = '~/unison.log'
|
TRANSFER_LOG = '~/unison.log'
|
||||||
SYNC_CHECK_COUNT = 600
|
SYNC_CHECK_COUNT = 600
|
||||||
SYNC_CHECK_TIME = 0.1
|
SYNC_CHECK_TIME = 0.1
|
||||||
|
@ -46,7 +45,7 @@ def check
|
||||||
@current_icon = 'idle'
|
@current_icon = 'idle'
|
||||||
end
|
end
|
||||||
|
|
||||||
system %{bash -c 'unison -batch default'}
|
system %{bash -c 'unison -batch #{ENV['PROFILE']}'}
|
||||||
|
|
||||||
animation[:done] = true
|
animation[:done] = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue