mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 05:45:55 +08:00
fix an issue that orcaslicer:// didn't work on Mac
This commit is contained in:
parent
1701cbc098
commit
f7b605088b
@ -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…
x
Reference in New Issue
Block a user