Commit 9c080016 authored by kimidaisuki22's avatar kimidaisuki22

use png format on all platform.

parent 004618a1
...@@ -7,12 +7,7 @@ int main() { ...@@ -7,12 +7,7 @@ int main() {
m.text_ = "Open work dir"; m.text_ = "Open work dir";
// linux: png, svg // linux: png, svg
std::string icon_name = std::string icon_name = "icon.png";
#ifdef _WIN32
"icon.icon";
#else
"icon.png";
#endif
// absolute path for linux. // absolute path for linux.
auto icon_path =std::filesystem::current_path() / icon_name; auto icon_path =std::filesystem::current_path() / icon_name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment