|
@@ -4,6 +4,7 @@ module RimeDeploy
|
|
|
def call
|
|
def call
|
|
|
puts intro
|
|
puts intro
|
|
|
system("brew install --cask squirrel")
|
|
system("brew install --cask squirrel")
|
|
|
|
|
+ sleep 1
|
|
|
return :next
|
|
return :next
|
|
|
end
|
|
end
|
|
|
end
|
|
end
|
|
@@ -12,6 +13,7 @@ module RimeDeploy
|
|
|
def call
|
|
def call
|
|
|
puts "Job: BackupRimeConfigJob".blue
|
|
puts "Job: BackupRimeConfigJob".blue
|
|
|
system("mv ~/Library/Rime ~/Library/Rime.#{Time.now.to_i}.old")
|
|
system("mv ~/Library/Rime ~/Library/Rime.#{Time.now.to_i}.old")
|
|
|
|
|
+ sleep 1
|
|
|
return :next
|
|
return :next
|
|
|
end
|
|
end
|
|
|
end
|
|
end
|
|
@@ -20,6 +22,7 @@ module RimeDeploy
|
|
|
def call
|
|
def call
|
|
|
puts intro
|
|
puts intro
|
|
|
system("git clone https://github.com/iDvel/rime-ice.git ~/Library/Rime")
|
|
system("git clone https://github.com/iDvel/rime-ice.git ~/Library/Rime")
|
|
|
|
|
+ sleep 1
|
|
|
return :next
|
|
return :next
|
|
|
end
|
|
end
|
|
|
end
|
|
end
|
|
@@ -29,6 +32,7 @@ module RimeDeploy
|
|
|
puts intro
|
|
puts intro
|
|
|
system("cp ./custom/default.custom.yaml ~/Library/Rime/")
|
|
system("cp ./custom/default.custom.yaml ~/Library/Rime/")
|
|
|
system("cp ./custom/squirrel.custom.yaml ~/Library/Rime/")
|
|
system("cp ./custom/squirrel.custom.yaml ~/Library/Rime/")
|
|
|
|
|
+ sleep 1
|
|
|
return :next
|
|
return :next
|
|
|
end
|
|
end
|
|
|
end
|
|
end
|