Merge pull request #79 from bclermont/hdpi

Fix HiDPI
This commit is contained in:
therecipe 2016-10-25 17:11:52 +02:00 committed by GitHub
commit 7559233011

View file

@ -753,7 +753,7 @@ func predeploy() {
case "darwin":
{
utils.Save(filepath.Join(depPath, fmt.Sprintf("%v.app/Contents/MacOS/%v_sh", appName, appName)), darwinSH())
utils.Save(filepath.Join(depPath, fmt.Sprintf("%v.app/Contents/MacOS/Info.plist", appName)), darwinPLIST())
utils.Save(filepath.Join(depPath, fmt.Sprintf("%v.app/Contents/Info.plist", appName)), darwinPLIST())
//TODO: icon + plist
}
@ -1232,6 +1232,9 @@ func darwinPLIST() string {
<key>CFBundleVersion</key>
<string>1</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>True</string>
</dict>