fix an issue that orcaslicer:// didn't work on Mac
This commit is contained in:
parent
1701cbc098
commit
f7b605088b
2 changed files with 11 additions and 12 deletions
|
@ -29,17 +29,16 @@
|
|||
<key>ATSApplicationFontsPath</key>
|
||||
<string>fonts/</string>
|
||||
<key>CFBundleURLTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>orcasliceropen url</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>orcasliceropen</string>
|
||||
<string>orcaslicer</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>OrcaSlicer Downloads</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>orcaslicer</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleDocumentTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
|
|
|
@ -5903,7 +5903,7 @@ void GUI_App::MacOpenURL(const wxString& url)
|
|||
m_download_file_url = download_file_url;
|
||||
}
|
||||
}
|
||||
} else if (boost::starts_with(url, "prusasliceropen://"))
|
||||
} else if (boost::starts_with(url, "orcaslicer://"))
|
||||
start_download(boost::nowide::narrow(url));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue