mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
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>
|
<key>ATSApplicationFontsPath</key>
|
||||||
<string>fonts/</string>
|
<string>fonts/</string>
|
||||||
<key>CFBundleURLTypes</key>
|
<key>CFBundleURLTypes</key>
|
||||||
<array>
|
<array>
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleURLName</key>
|
<key>CFBundleURLName</key>
|
||||||
<string>orcasliceropen url</string>
|
<string>OrcaSlicer Downloads</string>
|
||||||
<key>CFBundleURLSchemes</key>
|
<key>CFBundleURLSchemes</key>
|
||||||
<array>
|
<array>
|
||||||
<string>orcasliceropen</string>
|
<string>orcaslicer</string>
|
||||||
<string>orcaslicer</string>
|
</array>
|
||||||
</array>
|
</dict>
|
||||||
</dict>
|
</array>
|
||||||
</array>
|
|
||||||
<key>CFBundleDocumentTypes</key>
|
<key>CFBundleDocumentTypes</key>
|
||||||
<array>
|
<array>
|
||||||
<dict>
|
<dict>
|
||||||
|
|
|
@ -5903,7 +5903,7 @@ void GUI_App::MacOpenURL(const wxString& url)
|
||||||
m_download_file_url = download_file_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));
|
start_download(boost::nowide::narrow(url));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue