mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-17 01:32:34 +00:00
Update gems, drop i18n gem and implement basic replacement
This commit is contained in:
@@ -51,10 +51,16 @@ class W3DHub
|
||||
end
|
||||
end
|
||||
|
||||
stack(width: 128, max_height: 256, h_align: :center, margin_top: 16, fill: true) do
|
||||
flow(width: 256, height: 64, h_align: :center, margin_top: 16) do
|
||||
button "Save", width: 1.0 do
|
||||
save_settings!
|
||||
end
|
||||
|
||||
flow(fill: true)
|
||||
|
||||
end
|
||||
button("Clear package cache: #{W3DHub.format_size(Dir.glob("#{Store.settings[:package_cache_dir]}/**/**").map { |f| File.file?(f) ? File.size(f) : 0}.sum)}", **DANGEROUS_BUTTON) do
|
||||
# TODO.
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user