IsoEngine/engine/src/platform/posix/PosixPopup.cpp
illyum 91cf0d25d5 feat(platform): add platform specific popups
Please note! These changes have not yet been tested on POSIX platforms
(mac OR linux) so please do not expect them to work!
2024-09-20 10:44:12 -06:00

18 lines
275 B
C++

//
// Created by illyum on 9/20/2024.
//
#include "../Platform.hpp"
#include <pch.hpp>
namespace Platform {
void ShowPopup(const char* message) {
std::string command = "zenity --info --text=\"";
command += message;
command += "\"";
system(command.c_str());
}
}