mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 12:15:34 +08:00
Do not use rc file on MacOS
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include <ApplicationServices/ApplicationServices.h>
|
#include <ApplicationServices/ApplicationServices.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "rd_log.h"
|
||||||
|
|
||||||
MouseController::MouseController() {}
|
MouseController::MouseController() {}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include "log.h"
|
#include "rd_log.h"
|
||||||
|
|
||||||
#define NV12_BUFFER_SIZE 1280 * 720 * 3 / 2
|
#define NV12_BUFFER_SIZE 1280 * 720 * 3 / 2
|
||||||
unsigned char nv12_buffer_[NV12_BUFFER_SIZE];
|
unsigned char nv12_buffer_[NV12_BUFFER_SIZE];
|
||||||
|
|||||||
@@ -128,12 +128,14 @@ target("single_window")
|
|||||||
target("remote_desk")
|
target("remote_desk")
|
||||||
set_kind("binary")
|
set_kind("binary")
|
||||||
add_deps("rd_log", "common", "single_window")
|
add_deps("rd_log", "common", "single_window")
|
||||||
if is_os("macosx") then
|
if is_os("windows") then
|
||||||
|
add_files("icon/app_icon.ico")
|
||||||
|
elseif is_os("macosx") then
|
||||||
add_packages("ffmpeg")
|
add_packages("ffmpeg")
|
||||||
elseif is_os("linux") then
|
elseif is_os("linux") then
|
||||||
add_packages("ffmpeg")
|
add_packages("ffmpeg")
|
||||||
end
|
end
|
||||||
add_files("src/gui/main.cpp", "icon/app.rc")
|
add_files("src/gui/main.cpp")
|
||||||
|
|
||||||
-- target("screen_capturer")
|
-- target("screen_capturer")
|
||||||
-- set_kind("binary")
|
-- set_kind("binary")
|
||||||
|
|||||||
Reference in New Issue
Block a user