You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING: Unable to create shortcut. Error captured was Unable to save shortcut "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\??????????! (MAPE).lnk"..
AppVeyorでのテスト時に chocolatey で日本語を含むファイル名でショートカットを作ろうとすると失敗する。https://ci.appveyor.com/project/kai2nenobu/chocolatey-packages/build/0.0.1.126
軽く調べると
chcp 65001
でコードページをUnicodeにすればいいという情報はあった。https://help.appveyor.com/discussions/problems/6245-unicode-characters-show-as-in-build-output
ということで
chcp 65001
をappveyor.yml
のスクリプトの冒頭と、自作のテストスクリプトの先頭に入れてみたが、AppVeyorのログで日本語が表示できるようにはなったけど肝心のショートカットの作成自体は失敗している。ちゃんとコードページは65001に変更はされているみたいなので、chocolateyのショートカット作成ヘルパー自体の問題かもしれない。
そもそもショートカットの作成に失敗してるのにインストールスクリプトの実行が成功扱いになっているのがよくわからん。
The text was updated successfully, but these errors were encountered: