summaryrefslogtreecommitdiff
path: root/src/utils/specialfolder.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-04-17macOS: Create an app bundleThorbjørn Lindeijer1-2/+21
Also enable using `cpack -G DragNDrop` to create a DMG to easily drag Mana into the Applications folder. The DMG is also available as a CI artifact. The minimum deployment target has been set to 10.15, as required due to usage of std::filesystem::create_directories.
2024-04-08Windows: Modernize getSpecialFolderLocationThorbjørn Lindeijer1-28/+27
Ported from CSIDL to newer FOLDERID API and used wcstombs_s to convert the returned path to a multi-byte string. Fixes issues when the Windows username contains special characters.
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2011-10-25Change the wrong, but mostly supported WIN32 macro to the correct _WIN32, ↵Bernd Wachter1-1/+1
enforced by -std=c++0x Reviewed-by: Thorbjørn Lindeijer
2011-06-19More C++0x Windows compilation fixes.Philipp Sehmisch1-1/+1
Another case of M_PI being no longer defined in cmath.h _MAX_PATH doesn't work anymore, but there is still MAX_PATH putenv doesn't work anymore, so I replaced it with a function from the WINApi Reviewed-by: Thorbjorn
2011-04-18Remove illegal macro names starting with underscore and capitalBen Longbons1-3/+3
2010-02-25Add support for special folder lookup on Win32Bernd Wachter1-0/+78
Reviewed-by: Jared Adams