Skip to content

Commit

Permalink
Update Solara
Browse files Browse the repository at this point in the history
  • Loading branch information
MalekKamel committed Sep 24, 2024
1 parent 00c273b commit 7748ad3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion solara/lib/core/aliases/solara_terminal_setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def setup_windows
reg['AutoRun', Win32::Registry::REG_EXPAND_SZ] = @windows_setup_file
end
Solara.logger.success("Windows AutoRun registry key set up successfully.")
pSolara.logger.warn("Please restart your Command Prompt to apply changes.")
Solara.logger.warn("Please restart your Command Prompt to apply changes.")
rescue Win32::Registry::Error => e
Solara.logger.failure("Failed to set up Windows registry: #{e.message}")
Solara.logger.failure("Please add the following file path to your AutoRun registry key manually:")
Expand Down
2 changes: 1 addition & 1 deletion solara/lib/core/scripts/strings_xml_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class StringsXmlManager
def initialize(file_path)
@file_path = file_path
@xml_content = File.read(@file_path)
@xml_content = File.read(@file_path, encoding: 'UTF-8')
@doc = REXML::Document.new(@xml_content)
end

Expand Down

0 comments on commit 7748ad3

Please sign in to comment.