attempt fixing mac build

This commit is contained in:
HJfod 2022-11-28 19:27:56 +02:00
parent 516393ae99
commit 23de63001b
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@ USE_GEODE_NAMESPACE();
#include <UIKit/UIKit.h>
#include <iostream>
#include <sstream>
#include <Geode/utils/web.hpp>
bool utils::clipboard::write(std::string const& data) {
[UIPasteboard generalPasteboard].string = [NSString stringWithUTF8String:data.c_str()];

View file

@ -7,6 +7,7 @@ USE_GEODE_NAMESPACE();
#include <functional>
#include <iostream>
#include <sstream>
#include <Geode/utils/web.hpp>
bool utils::clipboard::write(std::string const& data) {
[[NSPasteboard generalPasteboard] clearContents];