mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 19:00:22 +08:00
emmm
This commit is contained in:
parent
cd3aecb62e
commit
b4c12b79d1
17
Qv2ray.pro
17
Qv2ray.pro
@ -261,21 +261,15 @@ unix {
|
|||||||
icon.files += ./assets/icons/qv2ray.png
|
icon.files += ./assets/icons/qv2ray.png
|
||||||
icon.path = /usr/local/share/icons/hicolor/256x256/apps/
|
icon.path = /usr/local/share/icons/hicolor/256x256/apps/
|
||||||
|
|
||||||
|
message(" --> Generating metainfo dependency.")
|
||||||
|
appdataXml.files += ./assets/qv2ray.metainfo.xml
|
||||||
|
appdataXml.path = /usr/local/share/metainfo/
|
||||||
|
|
||||||
target.path = /usr/local/bin/
|
target.path = /usr/local/bin/
|
||||||
INSTALLS += target desktop icon
|
INSTALLS += target desktop icon
|
||||||
}
|
}
|
||||||
|
|
||||||
build_flatpak {
|
with_metainfo {
|
||||||
# For Packaging
|
|
||||||
message("Configuring for packaging platform")
|
|
||||||
message(" --> Generating metainfo dependency.")
|
|
||||||
appdataXml.files += ./assets/qv2ray.metainfo.xml
|
|
||||||
appdataXml.path = /app/share/metainfo/
|
|
||||||
LIBS += -L/app/lib
|
|
||||||
INCLUDEPATH += /app/include/
|
|
||||||
desktop.path = /app/share/applications/
|
|
||||||
icon.path = /app/share/icons/hicolor/256x256/apps/
|
|
||||||
target.path = /app/bin/
|
|
||||||
INSTALLS += appdataXml
|
INSTALLS += appdataXml
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -285,6 +279,7 @@ build_distro {
|
|||||||
desktop.path = $$(PREFIX)/share/applications/
|
desktop.path = $$(PREFIX)/share/applications/
|
||||||
icon.path = $$(PREFIX)/share/icons/hicolor/256x256/apps/
|
icon.path = $$(PREFIX)/share/icons/hicolor/256x256/apps/
|
||||||
target.path = $$(PREFIX)/bin/
|
target.path = $$(PREFIX)/bin/
|
||||||
|
appdataXml.path = $$(PREFIX)/share/metainfo/
|
||||||
}
|
}
|
||||||
|
|
||||||
message(" ")
|
message(" ")
|
||||||
|
Loading…
Reference in New Issue
Block a user