mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-12-10 09:07:29 +00:00
fix(linux): set app id properly
This commit is contained in:
parent
b2ba6d9261
commit
bf3c8a5418
@ -2,7 +2,11 @@ cmake_minimum_required(VERSION 3.10)
|
||||
project(runner LANGUAGES CXX)
|
||||
|
||||
set(BINARY_NAME "spotube")
|
||||
set(APPLICATION_ID "oss.krtirtho.spotube")
|
||||
if(UNIX AND NOT APPLE)
|
||||
set(APPLICATION_ID "com.github.KRTirtho.Spotube")
|
||||
else()
|
||||
set(APPLICATION_ID "oss.krtirtho.spotube")
|
||||
endif()
|
||||
|
||||
cmake_policy(SET CMP0063 NEW)
|
||||
|
||||
|
||||
@ -105,7 +105,7 @@ static void my_application_init(MyApplication* self) {}
|
||||
|
||||
MyApplication* my_application_new() {
|
||||
return MY_APPLICATION(g_object_new(my_application_get_type(),
|
||||
"com.github.KRTirtho.Spotube", APPLICATION_ID,
|
||||
"application-id", APPLICATION_ID,
|
||||
"flags", G_APPLICATION_HANDLES_COMMAND_LINE | G_APPLICATION_HANDLES_OPEN,
|
||||
nullptr));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user