Skip to content

Commit

Permalink
Merge pull request #3 from LostKobrakai/patch-1
Browse files Browse the repository at this point in the history
Replace hardcoded utf8 bom with erlang function
  • Loading branch information
dominicletz authored May 9, 2024
2 parents 49532d5 + b342e04 commit e9123d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/package/macos.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ defmodule Desktop.Deployment.Package.MacOS do
File.mkdir_p!(bindir)

content = eval_eex(Path.join(mac_tools, "InfoPlist.strings.eex"), rel, pkg)
utf8bom = <<0xEF, 0xBB, 0xBF>>
utf8bom = :unicode.encoding_to_bom(:utf8)

for lang <- ["en", "Base"] do
langdir = Path.join(resources, "#{lang}.lproj")
Expand Down

0 comments on commit e9123d8

Please sign in to comment.